<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trinitydesktop.org/index.php?action=history&amp;feed=atom&amp;title=Icon_Loading</id>
	<title>Icon Loading - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trinitydesktop.org/index.php?action=history&amp;feed=atom&amp;title=Icon_Loading"/>
	<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;action=history"/>
	<updated>2026-05-04T03:41:58Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.13</generator>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=2222&amp;oldid=prev</id>
		<title>Blu256: Blu256 moved page Icon Loading (KDE3 Architecture) to Icon Loading: Simplify</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=2222&amp;oldid=prev"/>
		<updated>2022-04-21T15:49:02Z</updated>

		<summary type="html">&lt;p&gt;Blu256 moved page &lt;a href=&quot;/Icon_Loading_(KDE3_Architecture)&quot; class=&quot;mw-redirect&quot; title=&quot;Icon Loading (KDE3 Architecture)&quot;&gt;Icon Loading (KDE3 Architecture)&lt;/a&gt; to &lt;a href=&quot;/Icon_Loading&quot; title=&quot;Icon Loading&quot;&gt;Icon Loading&lt;/a&gt;: Simplify&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:49, 21 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=2221&amp;oldid=prev</id>
		<title>Blu256: /* loadIcon() continued */ KIcon-&gt;TDEIcon</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=2221&amp;oldid=prev"/>
		<updated>2022-04-21T15:44:27Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;loadIcon() continued: &lt;/span&gt; KIcon-&amp;gt;TDEIcon&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:44, 21 April 2022&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 72:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;size&#039;&#039;&#039; - Override the globally configured size for the specified icon group. Effects bound to the group are still applied.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;size&#039;&#039;&#039; - Override the globally configured size for the specified icon group. Effects bound to the group are still applied.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;state&#039;&#039;&#039; - The icon state. The icon state is one of &#039;&#039;TDEIcon::DefaultState&#039;&#039;, &#039;&#039;TDEIcon::ActiveState&#039;&#039; or &#039;&#039;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;KIcon&lt;/del&gt;::DisabledState&#039;&#039;. The icon state denotes in which state the icon is. Toolbar buttons, for example, are in state &#039;&#039;active&#039;&#039; if the mouse pointer is above them, in state &#039;&#039;disabled&#039;&#039; when they are not available, and &#039;&#039;default&#039;&#039; otherwise. Each icon state can have different effects assigned to it to give the user visual feedback.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;state&#039;&#039;&#039; - The icon state. The icon state is one of &#039;&#039;TDEIcon::DefaultState&#039;&#039;, &#039;&#039;TDEIcon::ActiveState&#039;&#039; or &#039;&#039;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;TDEIcon&lt;/ins&gt;::DisabledState&#039;&#039;. The icon state denotes in which state the icon is. Toolbar buttons, for example, are in state &#039;&#039;active&#039;&#039; if the mouse pointer is above them, in state &#039;&#039;disabled&#039;&#039; when they are not available, and &#039;&#039;default&#039;&#039; otherwise. Each icon state can have different effects assigned to it to give the user visual feedback.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;path_store&#039;&#039;&#039; - If you want to know where the icon you just loaded is in the filesystem, you can pass a pointer to a TQString here and the icon path is stored there.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;path_store&#039;&#039;&#039; - If you want to know where the icon you just loaded is in the filesystem, you can pass a pointer to a TQString here and the icon path is stored there.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;canReturnNull&#039;&#039;&#039; - If the requested icon is not found, the result of &#039;&#039;loadIcon&#039;&#039; depends on this parameter. If &#039;&#039;canReturnNull&#039;&#039; is &#039;&#039;true&#039;&#039;, a null pixmap will be returned, if not, the &quot;unknown&quot; icon is returned.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;# &#039;&#039;&#039;canReturnNull&#039;&#039;&#039; - If the requested icon is not found, the result of &#039;&#039;loadIcon&#039;&#039; depends on this parameter. If &#039;&#039;canReturnNull&#039;&#039; is &#039;&#039;true&#039;&#039;, a null pixmap will be returned, if not, the &quot;unknown&quot; icon is returned.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=2220&amp;oldid=prev</id>
		<title>Blu256: -Applicable to TDE (redundant), categories to bottom</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=2220&amp;oldid=prev"/>
		<updated>2022-04-21T15:44:03Z</updated>

		<summary type="html">&lt;p&gt;-Applicable to TDE (redundant), categories to bottom&lt;/p&gt;
&lt;a href=&quot;https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;amp;diff=2220&amp;amp;oldid=1896&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=1896&amp;oldid=prev</id>
		<title>Blu256: Added table of contents</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=1896&amp;oldid=prev"/>
		<updated>2021-12-21T19:24:49Z</updated>

		<summary type="html">&lt;p&gt;Added table of contents&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:24, 21 December 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 9:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;come in different sizes and display depths. In order to make this manageable,&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;come in different sizes and display depths. In order to make this manageable,&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;a standard way of storing and accessing icons has been developed.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;a standard way of storing and accessing icons has been developed.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;__TOC__&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;== Loading icons == &amp;lt;!--T:3--&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;== Loading icons == &amp;lt;!--T:3--&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=1713&amp;oldid=prev</id>
		<title>Blu256: Fixed own mistake</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=1713&amp;oldid=prev"/>
		<updated>2021-08-23T18:50:17Z</updated>

		<summary type="html">&lt;p&gt;Fixed own mistake&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:50, 23 August 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 220:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 220:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;!--T:43--&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;!--T:43--&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;Then use the following macro in your CMakeLists.txt file:&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;The icons are installed automatically when using the TDE CMake macros.&lt;/div&gt;&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-added&quot;&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight lang=&quot;cmake&quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;tde_install_icons( )&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-empty diff-side-deleted&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;!--&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;!--&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=1692&amp;oldid=prev</id>
		<title>Blu256: Updated (API doc links, classes, CMake)</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=1692&amp;oldid=prev"/>
		<updated>2021-08-22T21:16:43Z</updated>

		<summary type="html">&lt;p&gt;Updated (API doc links, classes, CMake)&lt;/p&gt;
&lt;a href=&quot;https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;amp;diff=1692&amp;amp;oldid=334&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Blu256</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=334&amp;oldid=prev</id>
		<title>imported&gt;Eliddell at 20:51, 27 May 2014</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=334&amp;oldid=prev"/>
		<updated>2014-05-27T20:51:54Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 20:51, 27 May 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 115:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;&amp;lt;!--T:28--&amp;gt;&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;&amp;lt;!--T:28--&amp;gt;&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-deletedline diff-side-deleted&quot;&gt;&lt;div&gt;Please refer to the [http://&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;www&lt;/del&gt;.kde&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;-artists&lt;/del&gt;.org/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;introduction&lt;/del&gt;.&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;html&lt;/del&gt; KDE &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;icon&lt;/del&gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;factory&lt;/del&gt;]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-addedline diff-side-added&quot;&gt;&lt;div&gt;Please refer to the [&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;https://web.archive.org/web/20060924173511/&lt;/ins&gt;http://&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;wiki&lt;/ins&gt;.kde.org/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;tiki-index&lt;/ins&gt;.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;php?page=Icon+Guide&lt;/ins&gt; KDE &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Icon&lt;/ins&gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Guide&lt;/ins&gt;]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;for information on which icon sizes are mandatory and more.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;for information on which icon sizes are mandatory and more.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-deleted&quot;&gt;&lt;div&gt;Remember that each of these sizes can be bound to an icon group.&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-context diff-side-added&quot;&gt;&lt;div&gt;Remember that each of these sizes can be bound to an icon group.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>imported&gt;Eliddell</name></author>
	</entry>
	<entry>
		<id>https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=333&amp;oldid=prev</id>
		<title>imported&gt;Eliddell: Created page with &quot; &lt;!--T:2--&gt; Icons are an important user interface element in any desktop environment. Because of different user preferences and video hardware, one icon may come in different ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.trinitydesktop.org/index.php?title=Icon_Loading&amp;diff=333&amp;oldid=prev"/>
		<updated>2014-05-27T20:43:36Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot; &amp;lt;!--T:2--&amp;gt; Icons are an important user interface element in any desktop environment. Because of different user preferences and video hardware, one icon may come in different ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&amp;lt;!--T:2--&amp;gt;&lt;br /&gt;
Icons are an important user interface element in any desktop environment.&lt;br /&gt;
Because of different user preferences and video hardware, one icon may&lt;br /&gt;
come in different sizes and display depths. In order to make this manageable,&lt;br /&gt;
a standard way of storing and accessing icons has been developed.&lt;br /&gt;
&lt;br /&gt;
== Loading icons == &amp;lt;!--T:3--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  Accessing the iconloader  === &amp;lt;!--T:4--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:5--&amp;gt;&lt;br /&gt;
Icons are loaded using the class [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKIconLoader.html KIconLoader]. Every KDE&lt;br /&gt;
appliation has a global iconloader object. You can access this object with:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:6--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
#include &amp;lt;kglobal.h&amp;gt;&lt;br /&gt;
#include &amp;lt;kiconloader.h&amp;gt;&lt;br /&gt;
 &lt;br /&gt;
KIconLoader *loader = KGlobal::iconLoader();&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  Loading icons with loadIcon  === &amp;lt;!--T:7--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:8--&amp;gt;&lt;br /&gt;
The iconloader loads icons, transparently &amp;#039;&amp;#039;&amp;#039;caches&amp;#039;&amp;#039;&amp;#039; them and applies effects.&lt;br /&gt;
To load an icon, use the method [http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKIconLoader.html#a3 loadIcon()], which is defined like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:9--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
QPixmap loadIcon( QString name, int group, int size=0,&lt;br /&gt;
                  int state=KIcon::DefaultState, &lt;br /&gt;
                  QString *path_store=0L, bool canReturnNull=false);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:10--&amp;gt;&lt;br /&gt;
As you see, there are a lot of parameters. The first two are most important:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:11--&amp;gt;&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;name&amp;#039;&amp;#039;&amp;#039; - The name of the icon to load. You must pass the bare icon name here, without extension.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;group&amp;#039;&amp;#039;&amp;#039; - The icon group. This is explained below.&lt;br /&gt;
&lt;br /&gt;
===  Icon groups  === &amp;lt;!--T:12--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:13--&amp;gt;&lt;br /&gt;
The idea of an &amp;#039;&amp;#039;icon group&amp;#039;&amp;#039; is an important concept in the KDE icon &lt;br /&gt;
scheme.  The icon group denotes where on the screen the icon is going to be used. &lt;br /&gt;
This is relevant because the KDE user can bind icon sizes and visual effects to &lt;br /&gt;
each group. When passing the icon group to the icon loader, you are in fact telling&lt;br /&gt;
it which incarnation of the icon to load. And by requiring the group argument, the &lt;br /&gt;
iconloader provides the means to have a consistent and configurable icon look over &lt;br /&gt;
the whole KDE desktop.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:14--&amp;gt;&lt;br /&gt;
For example: The user can configure that he wants 32 pixel icons with 0.2&lt;br /&gt;
desaturation for the main toolbars.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:15--&amp;gt;&lt;br /&gt;
The available icon groups are given below. All are defined in the&lt;br /&gt;
[http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKIcon.html KIcon]&lt;br /&gt;
class, so prefix them with &amp;#039;&amp;#039;KIcon::&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:16--&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Desktop&amp;#039;&amp;#039;&amp;#039; - Icons for use on the desktop, in the filemanager and similar places.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Toolbar&amp;#039;&amp;#039;&amp;#039; - Icon for in normal toolbars.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;MainToolbar&amp;#039;&amp;#039;&amp;#039; - Icons for in the main toolbar. An application can have multiple toolbars, of which one is allways the main toolbar. This typically has entries like &amp;quot;Save&amp;quot; and &amp;quot;Open&amp;quot; and contains larger icons than the other toolbars.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Small&amp;#039;&amp;#039;&amp;#039; - Various small icons, like the ones in popup menus, listviews and treelists.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;User&amp;#039;&amp;#039;&amp;#039; - Special group for loading application specific icons. This is explained in section 3: Installing icons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:17--&amp;gt;&lt;br /&gt;
So, to load the icon &amp;quot;kfind&amp;quot; for use in the &amp;#039;&amp;#039;Desktop&amp;#039;&amp;#039; group, you&amp;#039;d use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:18--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
QPixmap icon;&lt;br /&gt;
icon = loader-&amp;gt;loadIcon(&amp;quot;kfind&amp;quot;, KIcon::Desktop);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===  loadIcon continued  === &amp;lt;!--T:19--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:20--&amp;gt;&lt;br /&gt;
Now lets discuss the other parameters of &amp;#039;&amp;#039;loadIcon&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:21--&amp;gt;&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;size&amp;#039;&amp;#039;&amp;#039; - Override the globally configured size for the specified icon group. Effects bound to the group are still applied.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;state&amp;#039;&amp;#039;&amp;#039; - The icon state. The icon state is one of &amp;#039;&amp;#039;KIcon::DefaultState&amp;#039;&amp;#039;, &amp;#039;&amp;#039;KIcon::ActiveState&amp;#039;&amp;#039; or &amp;#039;&amp;#039;KIcon::DisabledState&amp;#039;&amp;#039;. The icon state denotes in which state the icon is. Toolbar buttons, for example, are in state &amp;#039;&amp;#039;active&amp;#039;&amp;#039; if the mouse pointer is above them, in state &amp;#039;&amp;#039;disabled&amp;#039;&amp;#039; when they are not available, and &amp;#039;&amp;#039;default&amp;#039;&amp;#039; otherwise. Each icon state can have different effects assigned to it to give the user visual feedback.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;path_store&amp;#039;&amp;#039;&amp;#039; - If you want to know where the icon you just loaded is in the filesystem, you can pass a pointer to a QString here and the icon path is stored there.&lt;br /&gt;
# &amp;#039;&amp;#039;&amp;#039;canReturnNull&amp;#039;&amp;#039;&amp;#039; - If the requested icon is not found, the result of &amp;#039;&amp;#039;loadIcon&amp;#039;&amp;#039; depends on this parameter. If &amp;#039;&amp;#039;canReturnNull&amp;#039;&amp;#039; is &amp;#039;&amp;#039;true&amp;#039;&amp;#039;, a null pixmap will be returned, if not, the &amp;quot;unknown&amp;quot; icon is returned.&lt;br /&gt;
&lt;br /&gt;
== Installing icons == &amp;lt;!--T:22--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:23--&amp;gt;&lt;br /&gt;
Icons may come in different sizes and display depths.&lt;br /&gt;
I shall refer to these icons as &amp;#039;&amp;#039;themed icons&amp;#039;&amp;#039;. Icons that come in&lt;br /&gt;
just one form are referred to as &amp;#039;&amp;#039;unthemed icons&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Default icon sizes === &amp;lt;!--T:24--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:25--&amp;gt;&lt;br /&gt;
Themed icons come in different sizes and display depths. The standard sizes&lt;br /&gt;
are:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:26--&amp;gt;&lt;br /&gt;
;40 Colors&lt;br /&gt;
:16x16 pixels&lt;br /&gt;
:22x22 pixels&lt;br /&gt;
:32x32 pixels&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:27--&amp;gt;&lt;br /&gt;
;Truecolor&lt;br /&gt;
:22x22 pixels&lt;br /&gt;
:32x32 pixels&lt;br /&gt;
:48x48 pixels&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:28--&amp;gt;&lt;br /&gt;
Please refer to the [http://www.kde-artists.org/introduction.html KDE icon factory]&lt;br /&gt;
for information on which icon sizes are mandatory and more.&lt;br /&gt;
Remember that each of these sizes can be bound to an icon group.&lt;br /&gt;
&lt;br /&gt;
=== Icon context === &amp;lt;!--T:29--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:30--&amp;gt;&lt;br /&gt;
Themed icons are stored in a directory hierarchy according to their&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;1. depth&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;2. size&amp;#039;&amp;#039;&amp;#039; and &amp;#039;&amp;#039;&amp;#039;3. context&amp;#039;&amp;#039;&amp;#039;. &lt;br /&gt;
The term &amp;#039;&amp;#039;context&amp;#039;&amp;#039; is new concept introduced by the KDE icon scheme. &lt;br /&gt;
The context of an icon is what the icon &amp;#039;&amp;#039;means&amp;#039;&amp;#039;. The standard &lt;br /&gt;
contexts are given below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:31--&amp;gt;&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;action&amp;#039;&amp;#039;&amp;#039; - The icon represents an action in a toolbar, for example &amp;quot;Open&amp;quot; or &amp;quot;Save&amp;quot;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;application&amp;#039;&amp;#039;&amp;#039; - The icon represents an application, for example &amp;quot;kfind&amp;quot;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;device&amp;#039;&amp;#039;&amp;#039; - The icon represents something related to a device, for example &amp;quot;floppy&amp;quot; or &amp;quot;mount&amp;quot;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;filesystem&amp;#039;&amp;#039;&amp;#039; - The icon represents something in the filesystem, for example &amp;quot;directory&amp;quot;, &amp;quot;socket&amp;quot; or &amp;quot;trashcan&amp;quot;.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;mimetype&amp;#039;&amp;#039;&amp;#039; - The icon represents an mimetype, for example &amp;quot;text/html&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:32--&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;Contexts&amp;#039;&amp;#039; are important in one case: selecting an&lt;br /&gt;
icon. When an application wants the user to select an icon for, say, a &lt;br /&gt;
toolbar, it would be very user unfriendly to show every single icon&lt;br /&gt;
installed in KDE.  Instead, it is much better to let the user select &lt;br /&gt;
an icon from the &amp;quot;action&amp;quot; icons only. These all represent some action and&lt;br /&gt;
therefore are suitable for in toolbars.&lt;br /&gt;
&lt;br /&gt;
===  Directory hierarchy  === &amp;lt;!--T:33--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:34--&amp;gt;&lt;br /&gt;
The directory hierarchy in which themed icons are stored follows.&lt;br /&gt;
The directory names are self explanatory.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:35--&amp;gt;&lt;br /&gt;
hicolor/&lt;br /&gt;
     22x22/&lt;br /&gt;
         actions/&lt;br /&gt;
         apps/&lt;br /&gt;
         devices/&lt;br /&gt;
         filesystems/&lt;br /&gt;
         mimetypes/&lt;br /&gt;
     32x32/&lt;br /&gt;
         ...&lt;br /&gt;
     48x48/&lt;br /&gt;
         ...&lt;br /&gt;
 &lt;br /&gt;
 locolor/&lt;br /&gt;
     16x16/&lt;br /&gt;
         ...&lt;br /&gt;
     22x22/&lt;br /&gt;
         ...&lt;br /&gt;
     32x32/&lt;br /&gt;
         ...&lt;br /&gt;
&lt;br /&gt;
=== Directory roots === &amp;lt;!--T:36--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:37--&amp;gt;&lt;br /&gt;
Themed icons can be installed either globally with respect to KDE, or in&lt;br /&gt;
application specific place.  In the global case, the icon theme hierarchy &lt;br /&gt;
resides under $KDEDIR/share/icons while in the application specific&lt;br /&gt;
case, it is under $KDEDIR/share/apps/$APPNAME/icons.&lt;br /&gt;
&lt;br /&gt;
=== Installing themed icons === &amp;lt;!--T:38--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:39--&amp;gt;&lt;br /&gt;
The KDE source configuration system (specifically, am_edit) has support for&lt;br /&gt;
installing themed icons. First, you have to name your icons in a way that it&lt;br /&gt;
is clear where it must be installed. The naming convention is explained in&lt;br /&gt;
the table below:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:40--&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
!|depth&lt;br /&gt;
! size&lt;br /&gt;
! -&lt;br /&gt;
! context&lt;br /&gt;
! -&lt;br /&gt;
! name&lt;br /&gt;
! .png&lt;br /&gt;
|-&lt;br /&gt;
|| hi || 16 || || action&lt;br /&gt;
|-&lt;br /&gt;
|| lo || 22 || || app&lt;br /&gt;
|-&lt;br /&gt;
||    || 32 || || device&lt;br /&gt;
|-&lt;br /&gt;
||    || 48 || || filesys&lt;br /&gt;
|-&lt;br /&gt;
||    ||    || || mime&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:41--&amp;gt;&lt;br /&gt;
Examples:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:42--&amp;gt;&lt;br /&gt;
lo22-action-open.png&lt;br /&gt;
 hi48-app-kfind.png&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:43--&amp;gt;&lt;br /&gt;
To install these icons globally, add this line to your &amp;lt;tt&amp;gt;Makefile.am&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:44--&amp;gt;&lt;br /&gt;
KDE_ICON = open kfind&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:45--&amp;gt;&lt;br /&gt;
and to install them in an application specific directory, use this:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:46--&amp;gt;&lt;br /&gt;
icondir = $(kde_datadir)/myapp/icons&lt;br /&gt;
 icon_ICON = open kfind&lt;br /&gt;
&lt;br /&gt;
=== Loading themed icons === &amp;lt;!--T:47--&amp;gt;&lt;br /&gt;
Themed icons are loaded with the iconloader, using the standard icon groups.&lt;br /&gt;
For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:48--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
QPixmap pm;&lt;br /&gt;
pm = loader-&amp;gt;loadIcon(&amp;quot;kfind&amp;quot;, KIcon::Desktop);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:49--&amp;gt;&lt;br /&gt;
This will load the &amp;quot;kfind&amp;quot; icon, of depth and size specified for the&lt;br /&gt;
&amp;#039;&amp;#039;Desktop&amp;#039;&amp;#039; group.&lt;br /&gt;
&lt;br /&gt;
=== Unthemed icons === &amp;lt;!--T:50--&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:51--&amp;gt;&lt;br /&gt;
Unthemed icons are installed in $KDEDIR/share/apps/$APPNAME/pics.&lt;br /&gt;
To install them, use this in you &amp;lt;tt&amp;gt;Makefile.am&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;!--T:52--&amp;gt;&lt;br /&gt;
icondir = $(kde_datadir)/myapp/pics&lt;br /&gt;
 icon_DATA = open kfind&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:53--&amp;gt;&lt;br /&gt;
You must not give the icons special names.&lt;br /&gt;
Also, no further processing is done on them: no effects and size,depth selection &lt;br /&gt;
is done.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:54--&amp;gt;&lt;br /&gt;
Unthemed icons can be loaded with the iconloader using the &amp;#039;&amp;#039;User&amp;#039;&amp;#039;&lt;br /&gt;
group. This will load a user icon:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:55--&amp;gt;&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;cpp-qt&amp;quot;&amp;gt;&lt;br /&gt;
QPixmap pm;&lt;br /&gt;
pm = loader-&amp;gt;loadIcon(&amp;quot;myicon&amp;quot;, KIcon::User);&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Conclusion == &amp;lt;!--T:56--&amp;gt;&lt;br /&gt;
There are 3 ways to install icons: global themed, application&lt;br /&gt;
specific themed and unthemed. All types of icons can be loaded with the&lt;br /&gt;
iconloader. You should choose a specific installation depending on your&lt;br /&gt;
needs.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:57--&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;Initial Author:&amp;#039;&amp;#039; Geert Jansen [mailto:jansen@kde.org &amp;amp;lt;jansen@kde.org&amp;amp;gt;]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--T:58--&amp;gt;&lt;br /&gt;
[[Category:KDE3]]&lt;br /&gt;
[[Category:Architecture]]&lt;/div&gt;</summary>
		<author><name>imported&gt;Eliddell</name></author>
	</entry>
</feed>