<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US"> <head> <title>kio/kfile: KIconDialog Class Reference (kio/kfile)</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org" r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org" r (n 0 s 0 v 0 l 0))' /> <meta name="trademark" content="KDE e.V." /> <meta name="description" content="K Desktop Environment Homepage, KDE.org" /> <meta name="MSSmartTagsPreventParsing" content="true" /> <meta name="robots" content="all" /> <link rel="shortcut icon" href="../../../favicon.ico" /> <link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" /> </head> <body> <div id="nav_header_top" align="right"> <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a> <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a> <span class="doNotDisplay">::</span> <div id="nav_header_title" align="left">KDE API Reference</div> </div> <div id="nav_header_bottom" align="right"> <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span> <div id="nav_header_bottom_right" style="text-align: left;"> / <a href="../../..">API Reference</a> / <a href="../../html/index.html">kio</a> / <a href=".">kfile</a> </div> </div> <table id="main" border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td valign="top" class="menuheader" height="0"></td> <td id="contentcolumn" valign="top" rowspan="2" > <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;"> <a name="content"></a> <!-- Generated by Doxygen 1.5.5 --> <div class="contents"> <h1>KIconDialog Class Reference</h1><!-- doxytag: class="KIconDialog" --><!-- doxytag: inherits="KDialogBase" --><code>#include <<a class="el" href="kicondialog_8h-source.html">kicondialog.h</a>></code> <p> Inherits KDialogBase. <p> <p> <a href="classKIconDialog-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> Dialog for interactive selection of icons. <p> Use the function <a class="el" href="classKIconDialog.html#78b26e20b0a228dd2adb39bcdf90dd62" title="Pops up the dialog an lets the user select an icon.">getIcon()</a> let the user select an icon.<p> An icon selection dialog. <p>Definition at line <a class="el" href="kicondialog_8h-source.html#l00091">91</a> of file <a class="el" href="kicondialog_8h-source.html">kicondialog.h</a>.</p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Signals</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="822d8f0a8f87bbf5b95f8be50aa6c7cd"></a><!-- doxytag: member="KIconDialog::newIconName" ref="822d8f0a8f87bbf5b95f8be50aa6c7cd" args="(const QString &)" --> void </td><td class="memItemRight" valign="bottom"><b>newIconName</b> (const <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> &)</td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#ba5a01c9ae6537c4b358f984911d6277">KIconDialog</a> (<a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> *parent=0L, const char *name=0L)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#5daff09ac7f0f9659dc27a9d71b32e89">KIconDialog</a> (KIconLoader *loader, <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> *parent=0, const char *name=0)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#3526d606d0bc68b9df0f8b8f389efc58">~KIconDialog</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#8856744b4807859734d180848b43be79">setStrictIconSize</a> (bool b)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#ebb5c1e9eacfdd42cfe6c83816927e4c">strictIconSize</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#eb62a480ea02a9ba6a61ec9a857ef5e8">setCustomLocation</a> (const <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> &location)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#e177c5f1710c79d83acec03d8d89ce61">setIconSize</a> (int size)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#964d2a1e9ecb9a74d17465d120db1411">iconSize</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#eef733505e7a28454f8a81e969d53afa">selectIcon</a> (KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool user=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#0e0d880671d791686571b835af47a9f5">setup</a> (KIcon::Group group, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#2c0257ea82369a3e26e510bb88dfb1e1">setup</a> (KIcon::Group group, KIcon::Context context, bool strictIconSize, int iconSize, bool user, bool lockUser, bool lockCustomDir)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#d15953338dd53748f2c42a2101f635b1">openDialog</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a795f15cc2a2d3472b1269191f3f2d4c">showDialog</a> ()</td></tr> <tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">static <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#78b26e20b0a228dd2adb39bcdf90dd62">getIcon</a> (KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false, <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> *parent=0, const <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> &caption=QString::null)</td></tr> <tr><td colspan="2"><br><h2>Protected Slots</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="f6825b617d0f5efbbb0367df676bc874"></a><!-- doxytag: member="KIconDialog::slotOk" ref="f6825b617d0f5efbbb0367df676bc874" args="()" --> void </td><td class="memItemRight" valign="bottom"><b>slotOk</b> ()</td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="75618f5e2819d86db2947f0b039d3845"></a><!-- doxytag: member="KIconDialog::virtual_hook" ref="75618f5e2819d86db2947f0b039d3845" args="(int id, void *data)" --> virtual void </td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="ba5a01c9ae6537c4b358f984911d6277"></a><!-- doxytag: member="KIconDialog::KIconDialog" ref="ba5a01c9ae6537c4b358f984911d6277" args="(QWidget *parent=0L, const char *name=0L)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KIconDialog::KIconDialog </td> <td>(</td> <td class="paramtype"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> * </td> <td class="paramname"> <em>parent</em> = <code>0L</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> = <code>0L</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Constructs an icon selection dialog using the global iconloader. <p> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00240">240</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="5daff09ac7f0f9659dc27a9d71b32e89"></a><!-- doxytag: member="KIconDialog::KIconDialog" ref="5daff09ac7f0f9659dc27a9d71b32e89" args="(KIconLoader *loader, QWidget *parent=0, const char *name=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KIconDialog::KIconDialog </td> <td>(</td> <td class="paramtype">KIconLoader * </td> <td class="paramname"> <em>loader</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> * </td> <td class="paramname"> <em>parent</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"> <em>name</em> = <code>0</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Constructs an icon selection dialog using a specific iconloader. <p> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00248">248</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="3526d606d0bc68b9df0f8b8f389efc58"></a><!-- doxytag: member="KIconDialog::~KIconDialog" ref="3526d606d0bc68b9df0f8b8f389efc58" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KIconDialog::~KIconDialog </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Destructs the dialog. <p> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00379">379</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="8856744b4807859734d180848b43be79"></a><!-- doxytag: member="KIconDialog::setStrictIconSize" ref="8856744b4807859734d180848b43be79" args="(bool b)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KIconDialog::setStrictIconSize </td> <td>(</td> <td class="paramtype">bool </td> <td class="paramname"> <em>b</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets a strict icon size policy for allowed icons. <p> When true, only icons of the specified group's size in <a class="el" href="classKIconDialog.html#78b26e20b0a228dd2adb39bcdf90dd62" title="Pops up the dialog an lets the user select an icon.">getIcon()</a> are shown. When false, icons not available at the desired group's size will also be selectable. <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00420">420</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="ebb5c1e9eacfdd42cfe6c83816927e4c"></a><!-- doxytag: member="KIconDialog::strictIconSize" ref="ebb5c1e9eacfdd42cfe6c83816927e4c" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KIconDialog::strictIconSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns true if a strict icon size policy is set. <p> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00425">425</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="eb62a480ea02a9ba6a61ec9a857ef5e8"></a><!-- doxytag: member="KIconDialog::setCustomLocation" ref="eb62a480ea02a9ba6a61ec9a857ef5e8" args="(const QString &location)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KIconDialog::setCustomLocation </td> <td>(</td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> & </td> <td class="paramname"> <em>location</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> sets a custom icon directory <p> <dl class="since" compact><dt><b>Since:</b></dt><dd>3.1 </dd></dl> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00497">497</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="e177c5f1710c79d83acec03d8d89ce61"></a><!-- doxytag: member="KIconDialog::setIconSize" ref="e177c5f1710c79d83acec03d8d89ce61" args="(int size)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KIconDialog::setIconSize </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"> <em>size</em> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Sets the size of the icons to be shown / selected. <p> <dl class="see" compact><dt><b>See also:</b></dt><dd>KIcon::StdSizes <p> <a class="el" href="classKIconDialog.html#964d2a1e9ecb9a74d17465d120db1411" title="Returns the iconsize set via setIconSize() or 0, if the default iconsize will be...">iconSize</a> </dd></dl> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00430">430</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="964d2a1e9ecb9a74d17465d120db1411"></a><!-- doxytag: member="KIconDialog::iconSize" ref="964d2a1e9ecb9a74d17465d120db1411" args="() const " --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">int KIconDialog::iconSize </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> const</td> </tr> </table> </div> <div class="memdoc"> <p> Returns the iconsize set via <a class="el" href="classKIconDialog.html#e177c5f1710c79d83acec03d8d89ce61" title="Sets the size of the icons to be shown / selected.">setIconSize()</a> or 0, if the default iconsize will be used. <p> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00439">439</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="eef733505e7a28454f8a81e969d53afa"></a><!-- doxytag: member="KIconDialog::selectIcon" ref="eef733505e7a28454f8a81e969d53afa" args="(KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool user=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> KIconDialog::selectIcon </td> <td>(</td> <td class="paramtype">KIcon::Group </td> <td class="paramname"> <em>group</em> = <code>KIcon::Desktop</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KIcon::Context </td> <td class="paramname"> <em>context</em> = <code>KIcon::Application</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>user</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000007">Deprecated:</a></b></dt><dd>in KDE 3.0, use the static method getIcon instead. </dd></dl> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00446">446</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="0e0d880671d791686571b835af47a9f5"></a><!-- doxytag: member="KIconDialog::setup" ref="0e0d880671d791686571b835af47a9f5" args="(KIcon::Group group, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KIconDialog::setup </td> <td>(</td> <td class="paramtype">KIcon::Group </td> <td class="paramname"> <em>group</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KIcon::Context </td> <td class="paramname"> <em>context</em> = <code>KIcon::Application</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>strictIconSize</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>iconSize</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>user</em> = <code>false</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Allows you to set the same parameters as in the class method <a class="el" href="classKIconDialog.html#78b26e20b0a228dd2adb39bcdf90dd62" title="Pops up the dialog an lets the user select an icon.">getIcon()</a>. <p> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00453">453</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="2c0257ea82369a3e26e510bb88dfb1e1"></a><!-- doxytag: member="KIconDialog::setup" ref="2c0257ea82369a3e26e510bb88dfb1e1" args="(KIcon::Group group, KIcon::Context context, bool strictIconSize, int iconSize, bool user, bool lockUser, bool lockCustomDir)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KIconDialog::setup </td> <td>(</td> <td class="paramtype">KIcon::Group </td> <td class="paramname"> <em>group</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KIcon::Context </td> <td class="paramname"> <em>context</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>strictIconSize</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>iconSize</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>user</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>lockUser</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>lockCustomDir</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Allows you to set the same parameters as in the class method <a class="el" href="classKIconDialog.html#78b26e20b0a228dd2adb39bcdf90dd62" title="Pops up the dialog an lets the user select an icon.">getIcon()</a>, as well as two additional parameters to lock the choice between system and user dirs and to lock the custom user dir itself. <p> <dl class="since" compact><dt><b>Since:</b></dt><dd>3.3 </dd></dl> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00466">466</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="d15953338dd53748f2c42a2101f635b1"></a><!-- doxytag: member="KIconDialog::openDialog" ref="d15953338dd53748f2c42a2101f635b1" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> KIconDialog::openDialog </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> exec()utes this modal dialog and returns the name of the selected icon, or QString::null if the dialog was aborted. <p> <dl class="return" compact><dt><b>Returns:</b></dt><dd>the name of the icon, suitable for loading with KIconLoader. </dd></dl> <dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classKIconDialog.html#78b26e20b0a228dd2adb39bcdf90dd62" title="Pops up the dialog an lets the user select an icon.">getIcon</a> </dd></dl> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00502">502</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="a795f15cc2a2d3472b1269191f3f2d4c"></a><!-- doxytag: member="KIconDialog::showDialog" ref="a795f15cc2a2d3472b1269191f3f2d4c" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KIconDialog::showDialog </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> show()es this dialog and emits a newIcon(const QString&) signal when successful. <p> QString::null will be emitted if the dialog was aborted. <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00519">519</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <a class="anchor" name="78b26e20b0a228dd2adb39bcdf90dd62"></a><!-- doxytag: member="KIconDialog::getIcon" ref="78b26e20b0a228dd2adb39bcdf90dd62" args="(KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false, QWidget *parent=0, const QString &caption=QString::null)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> KIconDialog::getIcon </td> <td>(</td> <td class="paramtype">KIcon::Group </td> <td class="paramname"> <em>group</em> = <code>KIcon::Desktop</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">KIcon::Context </td> <td class="paramname"> <em>context</em> = <code>KIcon::Application</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>strictIconSize</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>iconSize</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"> <em>user</em> = <code>false</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qwidget.html">QWidget</a> * </td> <td class="paramname"> <em>parent</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" doxygen="qt.tag:/usr/lib/qt3/doc/html/" href="/usr/lib/qt3/doc/html/qstring.html">QString</a> & </td> <td class="paramname"> <em>caption</em> = <code>QString::null</code></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Pops up the dialog an lets the user select an icon. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>group</em> </td><td>The icon group this icon is intended for. Providing the group shows the icons in the dialog with the same appearance as when used outside the dialog. </td></tr> <tr><td valign="top"></td><td valign="top"><em>context</em> </td><td>The initial icon context. Initially, the icons having this context are shown in the dialog. The user can change this. </td></tr> <tr><td valign="top"></td><td valign="top"><em>strictIconSize</em> </td><td>When true, only icons of the specified group's size are shown, otherwise icon not available in the desired group's size will also be selectable. </td></tr> <tr><td valign="top"></td><td valign="top"><em>iconSize</em> </td><td>the size of the icons -- the default of the icongroup if set to 0 </td></tr> <tr><td valign="top"></td><td valign="top"><em>user</em> </td><td>Begin with the "user icons" instead of "system icons". </td></tr> <tr><td valign="top"></td><td valign="top"><em>parent</em> </td><td>The parent widget of the dialog. </td></tr> <tr><td valign="top"></td><td valign="top"><em>caption</em> </td><td>The caption to use for the dialog. </td></tr> </table> </dl> <dl class="return" compact><dt><b>Returns:</b></dt><dd>The name of the icon, suitable for loading with KIconLoader. </dd></dl> <dl class="version" compact><dt><b>Version:</b></dt><dd>New in 3.0 </dd></dl> <p>Definition at line <a class="el" href="kicondialog_8cpp-source.html#l00547">547</a> of file <a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a>.</p> </div> </div><p> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kicondialog_8h-source.html">kicondialog.h</a><li><a class="el" href="kicondialog_8cpp-source.html">kicondialog.cpp</a></ul> </div> </div></div> </td> </tr> <tr> <td valign="top" id="leftmenu" width="25%"> <a name="navigation"></a> <div class="menu_box"><h2>kio/kfile</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="functions.html">Class Members</a></li><li><a href="pages.html">Related Pages</a></li></ul> <!-- <h2>Class Picker</h2> <div style="text-align: center;"> <form name="guideform"> <select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value"> <option value="annotated.html">-- Choose --</option> <option value="classKApplicationPropsPlugin.html">kapplicationpropsplugin</option>, <option value="classKBindingPropsPlugin.html">kbindingpropsplugin</option>, <option value="classKCombiView.html">kcombiview</option>, <option value="classKDesktopPropsPlugin.html">kdesktoppropsplugin</option>, <option value="classKDevicePropsPlugin.html">kdevicepropsplugin</option>, <option value="classKDirOperator.html">kdiroperator</option>, <option value="classKDirSelectDialog.html">kdirselectdialog</option>, <option value="classKDirSize.html">kdirsize</option>, <option value="classKDiskFreeSp.html">kdiskfreesp</option>, <option value="classKEncodingFileDialog.html">kencodingfiledialog</option>, <option value="classKExecPropsPlugin.html">kexecpropsplugin</option>, <option value="classKFile.html">kfile</option>, <option value="classKFileDetailView.html">kfiledetailview</option>, <option value="classKFileDialog.html">kfiledialog</option>, <option value="classKFileIconView.html">kfileiconview</option>, <option value="classKFileIconViewItem.html">kfileiconviewitem</option>, <option value="classKFileListViewItem.html">kfilelistviewitem</option>, <option value="classKFileMetaInfoWidget.html">kfilemetainfowidget</option>, <option value="classKFileMetaPropsPlugin.html">kfilemetapropsplugin</option>, <option value="classKFileOpenWithHandler.html">kfileopenwithhandler</option>, <option value="classKFilePermissionsPropsPlugin.html">kfilepermissionspropsplugin</option>, <option value="classKFilePreview.html">kfilepreview</option>, <option value="classKFilePropsPlugin.html">kfilepropsplugin</option>, <option value="classKFileSharePropsPlugin.html">kfilesharepropsplugin</option>, <option value="classKFileTreeBranch.html">kfiletreebranch</option>, <option value="classKFileTreeView.html">kfiletreeview</option>, <option value="classKFileTreeViewItem.html">kfiletreeviewitem</option>, <option value="classKFileView.html">kfileview</option>, <option value="classKFileViewSignaler.html">kfileviewsignaler</option>, <option value="classKIconButton.html">kiconbutton</option>, <option value="classKIconCanvas.html">kiconcanvas</option>, <option value="classKIconDialog.html">kicondialog</option>, <option value="classKImageFilePreview.html">kimagefilepreview</option>, <option value="classKNotifyDialog.html">knotifydialog</option>, <option value="classKOpenWithDlg.html">kopenwithdlg</option>, <option value="classKPreviewPropsPlugin.html">kpreviewpropsplugin</option>, <option value="classKPreviewWidgetBase.html">kpreviewwidgetbase</option>, <option value="classKPropertiesDialog.html">kpropertiesdialog</option>, <option value="classKPropsDlgPlugin.html">kpropsdlgplugin</option>, <option value="classKRecentDirs.html">krecentdirs</option>, <option value="classKRecentDocument.html">krecentdocument</option>, <option value="classKURLBar.html">kurlbar</option>, <option value="classKURLBarItem.html">kurlbaritem</option>, <option value="classKURLBarItemDialog.html">kurlbaritemdialog</option>, <option value="classKURLBarListBox.html">kurlbarlistbox</option>, <option value="classKURLComboBox.html">kurlcombobox</option>, <option value="classKURLComboRequester.html">kurlcomborequester</option>, <option value="classKURLPropsPlugin.html">kurlpropsplugin</option>, <option value="classKURLRequester.html">kurlrequester</option>, <option value="classKURLRequesterDlg.html">kurlrequesterdlg</option>, </select> </form> </div> --> </div></div> <div class="menu_box"><h2>API Dox</h2> <div class="nav_list"> <ul> <li><a href="../../../arts/html/index.html">arts</a></li><li><a href="../../../dcop/html/index.html">dcop</a></li><li><a href="../../../dnssd/html/index.html">dnssd</a></li><li><a href="../../../interfaces/html/index.html">interfaces</a></li><li> <a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../../kabc/html/index.html">kabc</a></li><li><a href="../../../kate/html/index.html">kate</a></li><li><a href="../../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../../kdecore/html/index.html">kdecore</a></li><li><a href="../../../kded/html/index.html">kded</a></li><li><a href="../../../kdefx/html/index.html">kdefx</a></li><li><a href="../../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../../kdesu/html/index.html">kdesu</a></li><li><a href="../../../kdeui/html/index.html">kdeui</a></li><li><a href="../../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../../khtml/html/index.html">khtml</a></li><li><a href="../../../kimgio/html/index.html">kimgio</a></li><li><a href="../../../kinit/html/index.html">kinit</a></li><li><a href="../../../kio/html/index.html">kio</a></li><li> <a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../../kio/kio/html/index.html">kio</a></li><li> <a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../../kioslave/http/html/index.html">http</a></li><li><a href="../../../kjs/html/index.html">kjs</a></li><li><a href="../../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../../kparts/html/index.html">kparts</a></li><li><a href="../../../kresources/html/index.html">kresources</a></li><li><a href="../../../kspell2/html/index.html">kspell2</a></li><li><a href="../../../kunittest/html/index.html">kunittest</a></li><li><a href="../../../kutils/html/index.html">kutils</a></li><li><a href="../../../kwallet/html/index.html">kwallet</a></li><li><a href="../../../libkmid/html/index.html">libkmid</a></li><li><a href="../../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>