<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Solved] Quotes included when gets info from QListWidgetItem.]]></title><description><![CDATA[<p dir="auto">I add QStrigs to QListWidgetItem (custom) as follows:</p>
<p dir="auto">@</p>
<p dir="auto">QList&lt;QString&gt; CustomItem::listItemsAvailable =  QList&lt;QString&gt;() &lt;&lt; QString("One")<br />
&lt;&lt; QString("Two")<br />
&lt;&lt; QString("Three);<br />
@</p>
<p dir="auto">When I try to get the selected item, as follows:</p>
<p dir="auto">@<br />
QString text = currentItem()-&gt;text();<br />
qDebug () &lt;&lt; text;<br />
@</p>
<p dir="auto">I returns the selected List Item, but with quotes, so, qDebug() writes: "One", for example. With qoutes.</p>
<p dir="auto">How it comes?</p>
<p dir="auto">Thank you.</p>
]]></description><link>https://forum.qt.io/topic/30284/solved-quotes-included-when-gets-info-from-qlistwidgetitem</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 01:31:08 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/30284.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 03 Aug 2013 22:46:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [Solved] Quotes included when gets info from QListWidgetItem. on Sun, 04 Aug 2013 10:25:20 GMT]]></title><description><![CDATA[<p dir="auto">You're welcome, and no need to be sorry! We all learn by asking questions.  :)</p>
]]></description><link>https://forum.qt.io/post/189394</link><guid isPermaLink="true">https://forum.qt.io/post/189394</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Sun, 04 Aug 2013 10:25:20 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Quotes included when gets info from QListWidgetItem. on Sun, 04 Aug 2013 10:06:15 GMT]]></title><description><![CDATA[<p dir="auto">Oh boy, thank you, and sorry for that.</p>
]]></description><link>https://forum.qt.io/post/189391</link><guid isPermaLink="true">https://forum.qt.io/post/189391</guid><dc:creator><![CDATA[Rhadel]]></dc:creator><pubDate>Sun, 04 Aug 2013 10:06:15 GMT</pubDate></item><item><title><![CDATA[Reply to [Solved] Quotes included when gets info from QListWidgetItem. on Sat, 03 Aug 2013 23:44:21 GMT]]></title><description><![CDATA[<p dir="auto">Your string does not contain quotes.</p>
<p dir="auto">QDebug prints quotes around all QStrings.</p>
<p dir="auto">@<br />
QString qstr("Hello");<br />
qDebug() &lt;&lt; "Hello" &lt;&lt; qstr;<br />
@<br />
gives</p>
<p dir="auto">@<br />
Hello "Hello"<br />
@</p>
]]></description><link>https://forum.qt.io/post/189368</link><guid isPermaLink="true">https://forum.qt.io/post/189368</guid><dc:creator><![CDATA[JKSH]]></dc:creator><pubDate>Sat, 03 Aug 2013 23:44:21 GMT</pubDate></item></channel></rss>