<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[QElectroTech — deprecated fix patch files]]></title>
		<link>https://qelectrotech.org/forum/viewtopic.php?id=1690</link>
		<atom:link href="https://qelectrotech.org/forum/extern.php?action=feed&amp;tid=1690&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in deprecated fix patch files.]]></description>
		<lastBuildDate>Mon, 08 Jun 2020 20:30:29 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12202#p12202</link>
			<description><![CDATA[<p> Thanks Simon. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Mon, 08 Jun 2020 20:30:29 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12202#p12202</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12201#p12201</link>
			<description><![CDATA[<p> last patch:</p><p>QAbstractTableModel explicitly initialized in copy constructor</p><p>warning: base class ‘class QAbstractTableModel’<br />should be explicitly initialized in the copy constructor [-Wextra] </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Mon, 08 Jun 2020 19:00:01 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12201#p12201</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12200#p12200</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>De-Backer wrote:</cite><blockquote><p>warning: ‘QSet&lt;T&gt; QList&lt;T&gt;::toSet() const [with T = IndependentTextItem*]’ is deprecated: <br />Use QSet&lt;T&gt;(list.begin(), list.end()) instead. [-Wdeprecated-declarations]</p><p>-5 issues&nbsp; for QT 5.14</p></blockquote></div><p>don&#039;t forget </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Sun, 07 Jun 2020 21:16:27 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12200#p12200</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12199#p12199</link>
			<description><![CDATA[<p> Thanks Simon. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Sun, 07 Jun 2020 17:51:26 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12199#p12199</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12198#p12198</link>
			<description><![CDATA[<p> </p><div class="quotebox"><cite>scorpio810 wrote:</cite><blockquote><p>I tried &quot;0001-fix-deprecated-Wdeprecated-copy.patch&quot; is reduce warnings 50 to 6, but I don&#039;t know if I can push it?<br />First patch in attached patch reduce warnings 50 -&gt; ~20.</p></blockquote></div><p>i think this is the answer, use default default constructor (does only shallow copy). </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Sun, 07 Jun 2020 11:41:01 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12198#p12198</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12197#p12197</link>
			<description><![CDATA[<p> * fix_deprecated_QModelIndex<br />warning: ‘QModelIndex QModelIndex::child(int, int) const’ is deprecated: Use QAbstractItemModel::index [-Wdeprecated-declarations]</p><p>-11 issues </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Sun, 07 Jun 2020 08:42:27 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12197#p12197</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12196#p12196</link>
			<description><![CDATA[<p> attempt 2 for deprecated warning QList::swap(int i, int j) </p><div class="quotebox"><cite>scorpio810 wrote:</cite><blockquote><p>I had to revert it<br /><a href="https://git.tuxfamily.org/qet/qet.git/commit/?id=261abfa10b0dd4ed9ce3d5b2fa8632e91882a445">https://git.tuxfamily.org/qet/qet.git/c … e91882a445</a></p><p>Edit : ok I understood, I use Qt version 5.12.5 and this function was introduced in Qt 5.13.</p></blockquote></div><p>*fix deprecated warning QList::swap(int i, int j) </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Sun, 07 Jun 2020 08:20:28 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12196#p12196</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12195#p12195</link>
			<description><![CDATA[<p> warning: ‘typename Container::const_iterator qUpperBound(const Container&amp;, const T&amp;) [with Container = QList&lt;double&gt;; T = double; typename Container::const_iterator = QList&lt;double&gt;::const_iterator]’ is deprecated: Use std::upper_bound [-Wdeprecated-declarations]</p><p>-3 issues Qt -&gt; C++ (should be ok, no version differences) </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Sun, 07 Jun 2020 08:18:35 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12195#p12195</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12194#p12194</link>
			<description><![CDATA[<p> warning: ‘QSet&lt;T&gt; QList&lt;T&gt;::toSet() const [with T = IndependentTextItem*]’ is deprecated: <br />Use QSet&lt;T&gt;(list.begin(), list.end()) instead. [-Wdeprecated-declarations]</p><p>-5 issues&nbsp; for QT 5.14 </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Sun, 07 Jun 2020 08:14:21 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12194#p12194</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12189#p12189</link>
			<description><![CDATA[<p> warning: base class ‘class QAbstractTableModel’ should be explicitly initialized in the copy constructor [-Wextra]</p><p>sources/qetgraphicsitem/ViewItem/nomenclaturemodel.cpp:46:1:<br /></p><div class="codebox"><pre><code>-NomenclatureModel::NomenclatureModel(const NomenclatureModel &amp;other_model)
+NomenclatureModel::NomenclatureModel(const NomenclatureModel &amp;other_model) :
+    QAbstractTableModel(this),
+    m_project(project())</code></pre></div><p>is ok? <br />info of <a href="https://stackoverflow.com/questions/21139723/warning-base-class-should-be-explictily-initialized-in-the-copy-constructor">https://stackoverflow.com/questions/211 … onstructor</a> </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Thu, 04 Jun 2020 21:15:49 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12189#p12189</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12185#p12185</link>
			<description><![CDATA[<p> Merged, thanks. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Tue, 02 Jun 2020 16:03:37 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12185#p12185</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12184#p12184</link>
			<description><![CDATA[<p> fix_deprecated_drawRoundRect<br />warning: ‘void QPainter::drawRoundRect(const QRectF&amp;, int, int)’ is deprecated: Use drawRoundedRect(..., Qt::RelativeSize) instead [-Wdeprecated-declarations]</p><p>void QPainter::drawRoundRect(const QRectF &amp;r, int xRnd = 25, int yRnd = 25)<br />This function is obsolete. It is provided to keep old source code working. We strongly advise against using it in new code.</p><p>void QPainter::drawRoundedRect(const QRectF &amp;rect, qreal xRadius, qreal yRadius, Qt::SizeMode mode = Qt::AbsoluteSize)<br />Draws the given rectangle rect with rounded corners.<br />The xRadius and yRadius arguments specify the radii of the ellipses defining the corners of the rounded rectangle. When mode is Qt::RelativeSize, xRadius and yRadius are specified in percentage of half the rectangle&#039;s width and height respectively, and should be in the range 0.0 to 100.0.<br />A filled rectangle has a size of rect.size(). A stroked rectangle has a size of rect.size() plus the pen width.&nbsp; </p><p>QRectF rectangle(10.0, 20.0, 80.0, 60.0);</p><p> QPainter painter(this);<br /> painter.drawRoundedRect(rectangle, 20.0, 15.0);</p><p>This function was introduced in Qt 4.4. </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Mon, 01 Jun 2020 20:54:45 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12184#p12184</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12182#p12182</link>
			<description><![CDATA[<p> FYI, AppImage use now Qt 5.15.0.<br /><a href="https://invent.kde.org/sdk/kdesrc-build/-/issues/45">https://invent.kde.org/sdk/kdesrc-build/-/issues/45</a> </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Mon, 01 Jun 2020 09:55:27 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12182#p12182</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12181#p12181</link>
			<description><![CDATA[<p> Merged, thanks. </p>]]></description>
			<author><![CDATA[null@example.com (scorpio810)]]></author>
			<pubDate>Mon, 01 Jun 2020 09:54:15 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12181#p12181</guid>
		</item>
		<item>
			<title><![CDATA[Re: deprecated fix patch files]]></title>
			<link>https://qelectrotech.org/forum/viewtopic.php?pid=12178#p12178</link>
			<description><![CDATA[<p> linksingleelementwidget.cpp:482:28: warning: &#039;setBackgroundColor&#039; is deprecated: Use QTreeWidgetItem::setBackground() instead<br />qtreewidget.h:141:5: note: &#039;setBackgroundColor&#039; has been explicitly marked deprecated here<br />qglobal.h:294:33: note: expanded from macro &#039;QT_DEPRECATED_X&#039;<br />qcompilerdetection.h:675:55: note: expanded from macro &#039;Q_DECL_DEPRECATED_X&#039;</p><p>&quot;linksingleelementwidget.cpp&quot;<br />@@ -478,11 +478,11 @@ void LinkSingleElementWidget::linkTriggered()</p><p>-&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_qtwi_at_context_menu-&gt;setBackgroundColor(i, Qt::green);<br />+&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; m_qtwi_at_context_menu-&gt;setBackground(i, QBrush(Qt::green,Qt::SolidPattern));</p><p>void QTreeWidgetItem::setBackgroundColor(int column, const QColor &amp;color)<br />This function is deprecated. Use setBackground() instead.<br />See also backgroundColor().</p><p>void QTreeWidgetItem::setBackground(int column, const QBrush &amp;brush)<br />Sets the background brush of the label in the given column to the specified brush. Setting a default-constructed brush will let the view use the default color from the style.<br />Note: If Qt Style Sheets are used on the same widget as setBackground(), style sheets will take precedence if the settings conflict.<br />This function was introduced in Qt 4.2. </p>]]></description>
			<author><![CDATA[null@example.com (De-Backer)]]></author>
			<pubDate>Mon, 01 Jun 2020 07:52:12 +0000</pubDate>
			<guid>https://qelectrotech.org/forum/viewtopic.php?pid=12178#p12178</guid>
		</item>
	</channel>
</rss>
