Sophie

Sophie

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

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>kutils: KSettings::Dialog Class Reference (kutils)</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=".">kutils</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 id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceKSettings.html">KSettings</a>      </li>
      <li class="navelem"><a class="el" href="classKSettings_1_1Dialog.html">Dialog</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-slots">Protected Slots</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">KSettings::Dialog Class Reference<div class="ingroups"><a class="el" href="group__main.html">Main classes</a> &#124; <a class="el" href="group__settings.html">Settings UI classes</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KSettings::Dialog" --><!-- doxytag: inherits="QObject" -->
<p>Generic configuration dialog that even works over component boundaries.  
 <a href="classKSettings_1_1Dialog.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="dialog_8h_source.html">dialog.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KSettings::Dialog:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKSettings_1_1Dialog.png" usemap="#KSettings::Dialog_map" alt=""/>
  <map id="KSettings::Dialog_map" name="KSettings::Dialog_map">
<area href="qobject.html" alt="QObject" shape="rect" coords="0,0,106,24"/>
</map>
 </div></div>

<p><a href="classKSettings_1_1Dialog-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8">ContentInListView</a> { <a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8a0e93fe741196b7f3372582e241c6de29">Static</a>, 
<a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8a7282e6771a1a979f50a3556e24a15cf6">Configurable</a>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#ab5095a88e53d108e543b1364253f0e65">show</a> ()</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#a042e3d089adcd43091b36bdc6c039e95">pluginSelectionChanged</a> ()</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="classKSettings_1_1Dialog.html#a497e54e7eaa64c132efdc59a5b85108e">Dialog</a> (<a class="elRef" href="qwidget.html">QWidget</a> *<a class="elRef" href="qobject.html#parent">parent</a>=0, const char *<a class="elRef" href="qobject.html#name">name</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#a2601262d7e9db7d57483bc8b748a0dce">Dialog</a> (<a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8">ContentInListView</a> content=Static, <a class="elRef" href="qwidget.html">QWidget</a> *<a class="elRef" href="qobject.html#parent">parent</a>=0, const char *<a class="elRef" href="qobject.html#name">name</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#a148c1368b4c59febb100c73fde26c7f2">Dialog</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;components, <a class="elRef" href="qwidget.html">QWidget</a> *<a class="elRef" href="qobject.html#parent">parent</a>=0, const char *<a class="elRef" href="qobject.html#name">name</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#a4709906cf2715bdc09fa0dd83ffd37a9">Dialog</a> (const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;components, <a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8">ContentInListView</a> content, <a class="elRef" href="qwidget.html">QWidget</a> *<a class="elRef" href="qobject.html#parent">parent</a>=0, const char *<a class="elRef" href="qobject.html#name">name</a>=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKSettings_1_1Dialog.html#a16856b467c5b55e2ce6df6a9ea74196a">addPluginInfos</a> (const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; <a class="el" href="classKPluginInfo.html">KPluginInfo</a> * &gt; &amp;plugininfos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa0a4d5b12532e439812f3f275470ee20"></a><!-- doxytag: member="KSettings::Dialog::dialog" ref="aa0a4d5b12532e439812f3f275470ee20" args="()" -->
<a class="el" href="classKCMultiDialog.html">KCMultiDialog</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>dialog</b> ()</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="a22e0ac1deae8bbfbef00472863880b0b"></a><!-- doxytag: member="KSettings::Dialog::configureTree" ref="a22e0ac1deae8bbfbef00472863880b0b" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>configureTree</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a645686ed01c50cb93e9a932f5fa3867c"></a><!-- doxytag: member="KSettings::Dialog::updateTreeList" ref="a645686ed01c50cb93e9a932f5fa3867c" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>updateTreeList</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0c76e5b6b4500448fb279d29c9ed171b"></a><!-- doxytag: member="KSettings::Dialog::PageNode" ref="a0c76e5b6b4500448fb279d29c9ed171b" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>PageNode</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>Generic configuration dialog that even works over component boundaries. </p>
<p>For more information see <a class="el" href="namespaceKSettings.html">KSettings</a>.</p>
<p>This class aims to standardize the use of configuration dialogs in <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/namespaceKDE.html">KDE</a> applications. Especially when using KParts and/or Plugins you face problems creating a consistent config dialog.</p>
<p>To show a configuration dialog you only have to call the show method and be done with it. A code example:</p>
<p>You initialize <code>m_cfgdlg</code> with </p>
<div class="fragment"><pre class="fragment"> m_cfgdlg = <span class="keyword">new</span> <a class="code" href="classKSettings_1_1Dialog.html#a497e54e7eaa64c132efdc59a5b85108e" title="Construct a new Preferences Dialog for the application.">Dialog</a>( <a class="code" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8a0e93fe741196b7f3372582e241c6de29" title="Static listview, while running no entries are added or deleted.">Dialog::Static</a>, <span class="keyword">this</span> );
</pre></div><p> If you use a KPart that was not especially designed for your app you can use the second constructor: </p>
<div class="fragment"><pre class="fragment"> <a class="codeRef" href="qstringlist.html">QStringList</a> kpartslist;
 <span class="keywordflow">for</span>( all my kparts )
   kpartslist += m_mypart-&gt;instance().instanceName();
 m_cfgdlg = <span class="keyword">new</span> <a class="code" href="classKSettings_1_1Dialog.html#a497e54e7eaa64c132efdc59a5b85108e" title="Construct a new Preferences Dialog for the application.">Dialog</a>( kpartslist, <span class="keyword">this</span> );
</pre></div><p> and the action for the config dialog is connected to the show slot: </p>
<div class="fragment"><pre class="fragment"> <a class="codeRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/namespaceKStdAction.html#a555a3496c0cbf794aaec70cdcf277d07">KStdAction::preferences</a>( m_cfgdlg, SLOT( <a class="code" href="classKSettings_1_1Dialog.html#ab5095a88e53d108e543b1364253f0e65" title="Show the config dialog.">show</a>() ), actionCollection() );
</pre></div><p>If you need to be informed when the config was changed and applied in the dialog you might want to take a look at <a class="el" href="classKSettings_1_1Dispatcher.html" title="Dispatch change notifications from the KCMs to the program.">Dispatcher</a>.</p>
<p>For more information see <a class="el" href="namespaceKSettings.html">KSettings</a>.</p>
<dl class="author"><dt><b>Author:</b></dt><dd>Matthias Kretz &lt;<a href="mailto:kretz@kde.org">kretz@kde.org</a>&gt; </dd></dl>
<dl class="since"><dt><b>Since:</b></dt><dd>3.2 </dd></dl>

<p>Definition at line <a class="el" href="dialog_8h_source.html#l00073">73</a> of file <a class="el" href="dialog_8h_source.html">dialog.h</a>.</p>
</div><hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="a0e9d24a330999f1accd4d85cc03e2ff8"></a><!-- doxytag: member="KSettings::Dialog::ContentInListView" ref="a0e9d24a330999f1accd4d85cc03e2ff8" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8">KSettings::Dialog::ContentInListView</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells the dialog whether the entries in the listview are all static or whether it should add a Configure... </p>
<p>button to select which parts of the optional functionality should be active or not. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a0e9d24a330999f1accd4d85cc03e2ff8a0e93fe741196b7f3372582e241c6de29"></a><!-- doxytag: member="Static" ref="a0e9d24a330999f1accd4d85cc03e2ff8a0e93fe741196b7f3372582e241c6de29" args="" -->Static</em>&nbsp;</td><td>
<p>Static listview, while running no entries are added or deleted. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a0e9d24a330999f1accd4d85cc03e2ff8a7282e6771a1a979f50a3556e24a15cf6"></a><!-- doxytag: member="Configurable" ref="a0e9d24a330999f1accd4d85cc03e2ff8a7282e6771a1a979f50a3556e24a15cf6" args="" -->Configurable</em>&nbsp;</td><td>
<p>Configurable listview. </p>
<p>The user can select what functionality he wants. </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="dialog_8h_source.html#l00083">83</a> of file <a class="el" href="dialog_8h_source.html">dialog.h</a>.</p>

</div>
</div>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a497e54e7eaa64c132efdc59a5b85108e"></a><!-- doxytag: member="KSettings::Dialog::Dialog" ref="a497e54e7eaa64c132efdc59a5b85108e" args="(QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KSettings::Dialog::Dialog </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>Construct a new Preferences <a class="el" href="classKSettings_1_1Dialog.html" title="Generic configuration dialog that even works over component boundaries.">Dialog</a> for the application. </p>
<p>It uses all KCMs with X-KDE-ParentApp set to <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobal.html#a7005487680376266c61372ea7ff3c080">KGlobal::instance()</a>-&gt;instanceName().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parent</td><td>The parent is only used as the parent for the dialog - centering the dialog over the parent widget. </td></tr>
    <tr><td class="paramname">name</td><td>name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dialog_8cpp_source.html#l00358">358</a> of file <a class="el" href="dialog_8cpp_source.html">dialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a2601262d7e9db7d57483bc8b748a0dce"></a><!-- doxytag: member="KSettings::Dialog::Dialog" ref="a2601262d7e9db7d57483bc8b748a0dce" args="(ContentInListView content=Static, QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KSettings::Dialog::Dialog </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8">ContentInListView</a>&#160;</td>
          <td class="paramname"><em>content</em> = <code>Static</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 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>Construct a new Preferences <a class="el" href="classKSettings_1_1Dialog.html" title="Generic configuration dialog that even works over component boundaries.">Dialog</a> for the application. </p>
<p>It uses all KCMs with X-KDE-ParentApp set to <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobal.html#a7005487680376266c61372ea7ff3c080">KGlobal::instance()</a>-&gt;instanceName().</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">content</td><td>Select whether you want a static or configurable config dialog. </td></tr>
    <tr><td class="paramname">parent</td><td>The parent is only used as the parent for the dialog - centering the dialog over the parent widget. </td></tr>
    <tr><td class="paramname">name</td><td>name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dialog_8cpp_source.html#l00367">367</a> of file <a class="el" href="dialog_8cpp_source.html">dialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a148c1368b4c59febb100c73fde26c7f2"></a><!-- doxytag: member="KSettings::Dialog::Dialog" ref="a148c1368b4c59febb100c73fde26c7f2" args="(const QStringList &amp;components, QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KSettings::Dialog::Dialog </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>components</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>Construct a new Preferences <a class="el" href="classKSettings_1_1Dialog.html" title="Generic configuration dialog that even works over component boundaries.">Dialog</a> with the pages for the selected instance names. </p>
<p>For example if you want to have the configuration pages for the kviewviewer KPart you would pass a <a class="elRef" href="qstringlist.html">QStringList</a> consisting of only the name of the part "kviewviewer".</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">components</td><td>A list of the names of the components that your config dialog should merge the config pages in. </td></tr>
    <tr><td class="paramname">parent</td><td>The parent is only used as the parent for the dialog - centering the dialog over the parent widget. </td></tr>
    <tr><td class="paramname">name</td><td>name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dialog_8cpp_source.html#l00377">377</a> of file <a class="el" href="dialog_8cpp_source.html">dialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a4709906cf2715bdc09fa0dd83ffd37a9"></a><!-- doxytag: member="KSettings::Dialog::Dialog" ref="a4709906cf2715bdc09fa0dd83ffd37a9" args="(const QStringList &amp;components, ContentInListView content, QWidget *parent=0, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KSettings::Dialog::Dialog </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstringlist.html">QStringList</a> &amp;&#160;</td>
          <td class="paramname"><em>components</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classKSettings_1_1Dialog.html#a0e9d24a330999f1accd4d85cc03e2ff8">ContentInListView</a>&#160;</td>
          <td class="paramname"><em>content</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>Construct a new Preferences <a class="el" href="classKSettings_1_1Dialog.html" title="Generic configuration dialog that even works over component boundaries.">Dialog</a> with the pages for the selected instance names. </p>
<p>For example if you want to have the configuration pages for the kviewviewer KPart you would pass a <a class="elRef" href="qstringlist.html">QStringList</a> consisting of only the name of the part "kviewviewer".</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">components</td><td>A list of the names of the components that your config dialog should merge the config pages in. </td></tr>
    <tr><td class="paramname">content</td><td>Select whether you want a static or configurable config dialog. </td></tr>
    <tr><td class="paramname">parent</td><td>The parent is only used as the parent for the dialog - centering the dialog over the parent widget. </td></tr>
    <tr><td class="paramname">name</td><td>name </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="dialog_8cpp_source.html#l00387">387</a> of file <a class="el" href="dialog_8cpp_source.html">dialog.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a16856b467c5b55e2ce6df6a9ea74196a"></a><!-- doxytag: member="KSettings::Dialog::addPluginInfos" ref="a16856b467c5b55e2ce6df6a9ea74196a" args="(const QValueList&lt; KPluginInfo * &gt; &amp;plugininfos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KSettings::Dialog::addPluginInfos </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; <a class="el" href="classKPluginInfo.html">KPluginInfo</a> * &gt; &amp;&#160;</td>
          <td class="paramname"><em>plugininfos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If you use a Configurable dialog you need to pass <a class="el" href="classKPluginInfo.html" title="Information about a plugin.">KPluginInfo</a> objects that the dialog should configure. </p>

<p>Definition at line <a class="el" href="dialog_8cpp_source.html#l00402">402</a> of file <a class="el" href="dialog_8cpp_source.html">dialog.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a042e3d089adcd43091b36bdc6c039e95"></a><!-- doxytag: member="KSettings::Dialog::pluginSelectionChanged" ref="a042e3d089adcd43091b36bdc6c039e95" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KSettings::Dialog::pluginSelectionChanged </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>If you use the dialog in Configurable mode and want to be notified when the user changes the plugin selections use this signal. </p>
<p>It's emitted if the selection has changed and the user pressed Apply or Ok. In the slot you would then load and unload the plugins as requested. </p>

</div>
</div>
<a class="anchor" id="ab5095a88e53d108e543b1364253f0e65"></a><!-- doxytag: member="KSettings::Dialog::show" ref="ab5095a88e53d108e543b1364253f0e65" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KSettings::Dialog::show </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Show the config dialog. </p>
<p>The slot immediatly returns since the dialog is non-modal. </p>

<p>Definition at line <a class="el" href="dialog_8cpp_source.html#l00413">413</a> of file <a class="el" href="dialog_8cpp_source.html">dialog.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="dialog_8h_source.html">dialog.h</a></li>
<li><a class="el" href="dialog_8cpp_source.html">dialog.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>kutils</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="modules.html">Modules</a></li><li><a href="namespaces.html">Namespace List</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="classKCModuleContainer.html">kcmodulecontainer</option>,  <option value="classKCModuleInfo.html">kcmoduleinfo</option>,  <option value="classKCModuleLoader.html">kcmoduleloader</option>,  <option value="classKCModuleProxy.html">kcmoduleproxy</option>,  <option value="classKCModuleProxyIface.html">kcmoduleproxyiface</option>,  <option value="classKCModuleProxyRootDispatcher.html">kcmoduleproxyrootdispatcher</option>,  <option value="classKCMultiDialog.html">kcmultidialog</option>,  <option value="classKFind.html">kfind</option>,  <option value="classKFindDialog.html">kfinddialog</option>,  <option value="classKMultiTabBar.html">kmultitabbar</option>,  <option value="classKMultiTabBarButton.html">kmultitabbarbutton</option>,  <option value="classKMultiTabBarTab.html">kmultitabbartab</option>,  <option value="classKPluginInfo.html">kplugininfo</option>,  <option value="classKPluginSelector.html">kpluginselector</option>,  <option value="classKReplace.html">kreplace</option>,  <option value="classKReplaceDialog.html">kreplacedialog</option>,  <option value="classKSettings_1_1ComponentsDialog.html">ksettings::componentsdialog</option>,  <option value="classKSettings_1_1Dialog.html">ksettings::dialog</option>,  <option value="classKSettings_1_1Dispatcher.html">ksettings::dispatcher</option>,  <option value="classKSettings_1_1PluginPage.html">ksettings::pluginpage</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>