Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1f9eb832ba1e4b88d9a5c2b384813bb4 > files > 4901

kdelibs3-apidocs-3.5.10-31.fc15.noarch.rpm

<?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.7.4 -->
</div>
<div class="header">
  <div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-slots">Protected Slots</a> &#124;
<a href="#pro-methods">Protected Member Functions</a>  </div>
  <div class="headertitle">
<div class="title">KIconDialog Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KIconDialog" --><!-- doxytag: inherits="KDialogBase" -->
<p>Dialog for interactive selection of icons.  
 <a href="classKIconDialog.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kicondialog_8h_source.html">kicondialog.h</a>&gt;</code></p>

<p>Inherits KDialogBase.</p>

<p><a href="classKIconDialog-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a822d8f0a8f87bbf5b95f8be50aa6c7cd"></a><!-- doxytag: member="KIconDialog::newIconName" ref="a822d8f0a8f87bbf5b95f8be50aa6c7cd" args="(const QString &amp;)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>newIconName</b> (const <a class="elRef" href="qstring.html">QString</a> &amp;)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#aba5a01c9ae6537c4b358f984911d6277">KIconDialog</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent=0L, const char *name=0L)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a5daff09ac7f0f9659dc27a9d71b32e89">KIconDialog</a> (KIconLoader *loader, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a3526d606d0bc68b9df0f8b8f389efc58">~KIconDialog</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a8856744b4807859734d180848b43be79">setStrictIconSize</a> (bool b)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#aebb5c1e9eacfdd42cfe6c83816927e4c">strictIconSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#aeb62a480ea02a9ba6a61ec9a857ef5e8">setCustomLocation</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;location)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#ae177c5f1710c79d83acec03d8d89ce61">setIconSize</a> (int size)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a964d2a1e9ecb9a74d17465d120db1411">iconSize</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#aeef733505e7a28454f8a81e969d53afa">selectIcon</a> (KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool user=false)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a0e0d880671d791686571b835af47a9f5">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" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a2c0257ea82369a3e26e510bb88dfb1e1">setup</a> (KIcon::Group group, KIcon::Context context, bool strictIconSize, int iconSize, bool user, bool lockUser, bool lockCustomDir)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#ad15953338dd53748f2c42a2101f635b1">openDialog</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#aa795f15cc2a2d3472b1269191f3f2d4c">showDialog</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="elRef" href="qstring.html">QString</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKIconDialog.html#a78b26e20b0a228dd2adb39bcdf90dd62">getIcon</a> (KIcon::Group group=KIcon::Desktop, KIcon::Context context=KIcon::Application, bool strictIconSize=false, int iconSize=0, bool user=false, <a class="elRef" href="qwidget.html">QWidget</a> *parent=0, const <a class="elRef" href="qstring.html">QString</a> &amp;caption=QString::null)</td></tr>
<tr><td colspan="2"><h2><a name="pro-slots"></a>
Protected Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af6825b617d0f5efbbb0367df676bc874"></a><!-- doxytag: member="KIconDialog::slotOk" ref="af6825b617d0f5efbbb0367df676bc874" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>slotOk</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="pro-methods"></a>
Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a75618f5e2819d86db2947f0b039d3845"></a><!-- doxytag: member="KIconDialog::virtual_hook" ref="a75618f5e2819d86db2947f0b039d3845" args="(int id, void *data)" -->
virtual void&#160;</td><td class="memItemRight" valign="bottom"><b>virtual_hook</b> (int id, void *data)</td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Dialog for interactive selection of icons. </p>
<p>Use the function <a class="el" href="classKIconDialog.html#a78b26e20b0a228dd2adb39bcdf90dd62" title="Pops up the dialog an lets the user select an icon.">getIcon()</a> let the user select an icon.</p>
<p>An icon selection dialog. </p>

<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>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aba5a01c9ae6537c4b358f984911d6277"></a><!-- doxytag: member="KIconDialog::KIconDialog" ref="aba5a01c9ae6537c4b358f984911d6277" 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" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0L</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0L</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>
<a class="anchor" id="a5daff09ac7f0f9659dc27a9d71b32e89"></a><!-- doxytag: member="KIconDialog::KIconDialog" ref="a5daff09ac7f0f9659dc27a9d71b32e89" 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 *&#160;</td>
          <td class="paramname"><em>loader</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&#160;</td>
          <td class="paramname"><em>name</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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>
<a class="anchor" id="a3526d606d0bc68b9df0f8b8f389efc58"></a><!-- doxytag: member="KIconDialog::~KIconDialog" ref="a3526d606d0bc68b9df0f8b8f389efc58" 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></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>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a78b26e20b0a228dd2adb39bcdf90dd62"></a><!-- doxytag: member="KIconDialog::getIcon" ref="a78b26e20b0a228dd2adb39bcdf90dd62" 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 &amp;caption=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KIconDialog::getIcon </td>
          <td>(</td>
          <td class="paramtype">KIcon::Group&#160;</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&#160;</td>
          <td class="paramname"><em>context</em> = <code>KIcon::Application</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>strictIconSize</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iconSize</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</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" href="qwidget.html">QWidget</a> *&#160;</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" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>caption</em> = <code>QString::null</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Pops up the dialog an lets the user select an icon. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">group</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 class="paramname">context</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 class="paramname">strictIconSize</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 class="paramname">iconSize</td><td>the size of the icons -- the default of the icongroup if set to 0 </td></tr>
    <tr><td class="paramname">user</td><td>Begin with the "user icons" instead of "system icons". </td></tr>
    <tr><td class="paramname">parent</td><td>The parent widget of the dialog. </td></tr>
    <tr><td class="paramname">caption</td><td>The caption to use for the dialog. </td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>The name of the icon, suitable for loading with KIconLoader. </dd></dl>
<dl class="version"><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>
<a class="anchor" id="a964d2a1e9ecb9a74d17465d120db1411"></a><!-- doxytag: member="KIconDialog::iconSize" ref="a964d2a1e9ecb9a74d17465d120db1411" 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> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Returns the iconsize set via <a class="el" href="classKIconDialog.html#ae177c5f1710c79d83acec03d8d89ce61" 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>
<a class="anchor" id="ad15953338dd53748f2c42a2101f635b1"></a><!-- doxytag: member="KIconDialog::openDialog" ref="ad15953338dd53748f2c42a2101f635b1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" href="qstring.html">QString</a> KIconDialog::openDialog </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></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"><dt><b>Returns:</b></dt><dd>the name of the icon, suitable for loading with KIconLoader. </dd></dl>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="classKIconDialog.html#a78b26e20b0a228dd2adb39bcdf90dd62" 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>
<a class="anchor" id="aeef733505e7a28454f8a81e969d53afa"></a><!-- doxytag: member="KIconDialog::selectIcon" ref="aeef733505e7a28454f8a81e969d53afa" 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" href="qstring.html">QString</a> KIconDialog::selectIcon </td>
          <td>(</td>
          <td class="paramtype">KIcon::Group&#160;</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&#160;</td>
          <td class="paramname"><em>context</em> = <code>KIcon::Application</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>user</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="deprecated"><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>
<a class="anchor" id="aeb62a480ea02a9ba6a61ec9a857ef5e8"></a><!-- doxytag: member="KIconDialog::setCustomLocation" ref="aeb62a480ea02a9ba6a61ec9a857ef5e8" args="(const QString &amp;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" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>location</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>sets a custom icon directory </p>
<dl class="since"><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>
<a class="anchor" id="ae177c5f1710c79d83acec03d8d89ce61"></a><!-- doxytag: member="KIconDialog::setIconSize" ref="ae177c5f1710c79d83acec03d8d89ce61" 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&#160;</td>
          <td class="paramname"><em>size</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets the size of the icons to be shown / selected. </p>
<dl class="see"><dt><b>See also:</b></dt><dd>KIcon::StdSizes </dd>
<dd>
<a class="el" href="classKIconDialog.html#a964d2a1e9ecb9a74d17465d120db1411" title="Returns the iconsize set via setIconSize() or 0, if the default iconsize will be used.">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>
<a class="anchor" id="a8856744b4807859734d180848b43be79"></a><!-- doxytag: member="KIconDialog::setStrictIconSize" ref="a8856744b4807859734d180848b43be79" 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&#160;</td>
          <td class="paramname"><em>b</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Sets a strict icon size policy for allowed icons. </p>
<p>When true, only icons of the specified group's size in <a class="el" href="classKIconDialog.html#a78b26e20b0a228dd2adb39bcdf90dd62" 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>

<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>
<a class="anchor" id="a2c0257ea82369a3e26e510bb88dfb1e1"></a><!-- doxytag: member="KIconDialog::setup" ref="a2c0257ea82369a3e26e510bb88dfb1e1" 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&#160;</td>
          <td class="paramname"><em>group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KIcon::Context&#160;</td>
          <td class="paramname"><em>context</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>strictIconSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iconSize</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>user</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>lockUser</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>lockCustomDir</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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#a78b26e20b0a228dd2adb39bcdf90dd62" 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"><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>
<a class="anchor" id="a0e0d880671d791686571b835af47a9f5"></a><!-- doxytag: member="KIconDialog::setup" ref="a0e0d880671d791686571b835af47a9f5" 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&#160;</td>
          <td class="paramname"><em>group</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">KIcon::Context&#160;</td>
          <td class="paramname"><em>context</em> = <code>KIcon::Application</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>strictIconSize</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>iconSize</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>user</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></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#a78b26e20b0a228dd2adb39bcdf90dd62" 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>
<a class="anchor" id="aa795f15cc2a2d3472b1269191f3f2d4c"></a><!-- doxytag: member="KIconDialog::showDialog" ref="aa795f15cc2a2d3472b1269191f3f2d4c" 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></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>show()es this dialog and emits a newIcon(const QString&amp;) signal when successful. </p>
<p>QString::null will be emitted if the dialog was aborted. </p>

<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>
<a class="anchor" id="aebb5c1e9eacfdd42cfe6c83816927e4c"></a><!-- doxytag: member="KIconDialog::strictIconSize" ref="aebb5c1e9eacfdd42cfe6c83816927e4c" 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> 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>
<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>
<li><a class="el" href="kicondialog_8cpp_source.html">kicondialog.cpp</a></li>
</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>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../interfaces/kimproxy/library/html/index.html">library</a></li><li>&nbsp;&nbsp;<a href="../../../interfaces/kspeech/html/index.html">kspeech</a></li><li>&nbsp;&nbsp;<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>&nbsp;&nbsp;<a href="../../../kio/bookmarks/html/index.html">bookmarks</a></li><li>&nbsp;&nbsp;<a href="../../../kio/httpfilter/html/index.html">httpfilter</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kfile/html/index.html">kfile</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kio/html/index.html">kio</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kioexec/html/index.html">kioexec</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li>&nbsp;&nbsp;<a href="../../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../../kioslave/html/index.html">kioslave</a></li><li>&nbsp;&nbsp;<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>&nbsp;&nbsp;<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="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">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>