<?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[Store three values in a container]]></title><description><![CDATA[<p dir="auto">Hi guys,  I wondering what is the option for that case: I want to save like this: <code>"name" =&gt; [ QIcon, MyClass * ]</code>, how can I reproduce that in Qt?</p>
]]></description><link>https://forum.qt.io/topic/74036/store-three-values-in-a-container</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 22:03:09 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/74036.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 06 Dec 2016 13:25:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Store three values in a container on Tue, 06 Dec 2016 13:43:42 GMT]]></title><description><![CDATA[<p dir="auto">Thank you, you are awesome</p>
]]></description><link>https://forum.qt.io/post/363196</link><guid isPermaLink="true">https://forum.qt.io/post/363196</guid><dc:creator><![CDATA[Defohin]]></dc:creator><pubDate>Tue, 06 Dec 2016 13:43:42 GMT</pubDate></item><item><title><![CDATA[Reply to Store three values in a container on Tue, 06 Dec 2016 13:43:27 GMT]]></title><description><![CDATA[<p dir="auto">Well that happens :)</p>
]]></description><link>https://forum.qt.io/post/363195</link><guid isPermaLink="true">https://forum.qt.io/post/363195</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Tue, 06 Dec 2016 13:43:27 GMT</pubDate></item><item><title><![CDATA[Reply to Store three values in a container on Tue, 06 Dec 2016 13:41:34 GMT]]></title><description><![CDATA[<p dir="auto">I juts got myself thinking: How could I forget about struct? haha.</p>
]]></description><link>https://forum.qt.io/post/363193</link><guid isPermaLink="true">https://forum.qt.io/post/363193</guid><dc:creator><![CDATA[Defohin]]></dc:creator><pubDate>Tue, 06 Dec 2016 13:41:34 GMT</pubDate></item><item><title><![CDATA[Reply to Store three values in a container on Tue, 06 Dec 2016 13:33:35 GMT]]></title><description><![CDATA[<p dir="auto">Hi<br />
Many ways to do so. :)</p>
<p dir="auto">struct  MyItem{<br />
QIcon ico;<br />
MyClass *Class;<br />
};</p>
<p dir="auto"><a href="http://doc.qt.io/qt-5/qmap.html" target="_blank" rel="noopener noreferrer nofollow ugc">http://doc.qt.io/qt-5/qmap.html</a><br />
QMap&lt;QString, MyItem &gt; MyLookupList;</p>
<p dir="auto">Each string, will then give u struct ( with the 2 data in)</p>
]]></description><link>https://forum.qt.io/post/363191</link><guid isPermaLink="true">https://forum.qt.io/post/363191</guid><dc:creator><![CDATA[mrjj]]></dc:creator><pubDate>Tue, 06 Dec 2016 13:33:35 GMT</pubDate></item></channel></rss>