Sophie

Sophie

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

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: KPluginSelector 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>
<div class="header">
  <div class="summary">
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">KPluginSelector Class Reference<div class="ingroups"><a class="el" href="group__main.html">Main classes</a> &#124; <a class="el" href="group__plugin.html">Plugin handling classes</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="KPluginSelector" --><!-- doxytag: inherits="QWidget" -->
<p>A widget to select what plugins to load and configure the plugins.  
 <a href="classKPluginSelector.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="kpluginselector_8h_source.html">kpluginselector.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for KPluginSelector:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classKPluginSelector.png" usemap="#KPluginSelector_map" alt=""/>
  <map id="KPluginSelector_map" name="KPluginSelector_map">
<area href="qwidget.html" alt="QWidget" shape="rect" coords="0,0,102,24"/>
</map>
 </div></div>

<p><a href="classKPluginSelector-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">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#aa52dd0b1a3a871756def87c2c9d6918c">changed</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#a6468d0ce675e1c3d9753246cd07ab119">configCommitted</a> (const <a class="elRef" href="qcstring.html">QCString</a> &amp;instanceName)</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="classKPluginSelector.html#ab71ea12eb0a9401f67530e5608233348">KPluginSelector</a> (<a class="elRef" href="qwidget.html">QWidget</a> *parent, const char *name=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#a8189a1e9e477f6bec222161a9d6683c0">addPlugins</a> (const <a class="elRef" href="qstring.html">QString</a> &amp;instanceName, const <a class="elRef" href="qstring.html">QString</a> &amp;catname=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;category=QString::null, <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#ab30b2415371434b13047c6ce457d0993">addPlugins</a> (const <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKInstance.html">KInstance</a> *instance, const <a class="elRef" href="qstring.html">QString</a> &amp;catname=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;category=QString::null, <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#a275077c34abdc7df29641b479c14e067">addPlugins</a> (const <a class="elRef" href="qvaluelist.html">QValueList</a>&lt; <a class="el" href="classKPluginInfo.html">KPluginInfo</a> * &gt; &amp;plugininfos, const <a class="elRef" href="qstring.html">QString</a> &amp;catname=QString::null, const <a class="elRef" href="qstring.html">QString</a> &amp;category=QString::null, <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *config=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#a312919a6575d2952dbe82209832b9247">setShowEmptyConfigPage</a> (bool)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#ab028a22b586d0698f61cb3f5b54ae7b1">load</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#ad9e0185ec6b1ab4dbb532b92d52496d3">save</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPluginSelector.html#ac8e384839a14d0bdf17c0c8a6a93d7cb">defaults</a> ()</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="ac9630545e7cbad6daecc8219b51c2bb8"></a><!-- doxytag: member="KPluginSelector::KPluginSelectionWidget" ref="ac9630545e7cbad6daecc8219b51c2bb8" args="" -->
class&#160;</td><td class="memItemRight" valign="bottom"><b>KPluginSelectionWidget</b></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>A widget to select what plugins to load and configure the plugins. </p>
<p>It shows the list of available plugins on top (if there's more than one category this is a TabWidget) and the configuration of the selected plugin below that.</p>
<p>Since the user needs a way to know what a specific plugin does every plugin sould install a desktop file containing a name, comment and category field. The category is usefull for applications that can use different kinds of plugins like a playlist, skin or visualization.</p>
<p>The location of these desktop files is the share/apps/&lt;instancename&gt;/&lt;plugindir&gt; directory. But if you need you may use a different directory.</p>
<p>Often a program has more than one kind of plugin. In that case you want to make a visible distinction between those plugins. All you have to do is to create a KPluginSelectionWidget for every category and then add them all to the <a class="el" href="classKPluginSelector.html" title="A widget to select what plugins to load and configure the plugins.">KPluginSelector</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="kpluginselector_8h_source.html#l00060">60</a> of file <a class="el" href="kpluginselector_8h_source.html">kpluginselector.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="ab71ea12eb0a9401f67530e5608233348"></a><!-- doxytag: member="KPluginSelector::KPluginSelector" ref="ab71ea12eb0a9401f67530e5608233348" args="(QWidget *parent, const char *name=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPluginSelector::KPluginSelector </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" href="qwidget.html">QWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em>, </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>Create a new <a class="el" href="classKPluginSelector.html" title="A widget to select what plugins to load and configure the plugins.">KPluginSelector</a>. </p>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00519">519</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8189a1e9e477f6bec222161a9d6683c0"></a><!-- doxytag: member="KPluginSelector::addPlugins" ref="a8189a1e9e477f6bec222161a9d6683c0" args="(const QString &amp;instanceName, const QString &amp;catname=QString::null, const QString &amp;category=QString::null, KConfig *config=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::addPlugins </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> &amp;&#160;</td>
          <td class="paramname"><em>instanceName</em>, </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>catname</em> = <code>QString::null</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>category</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a list of KParts plugins. </p>
<p>If you want to support non-KParts plugins use the following function.</p>
<p>The information about the plugins will be loaded from the share/apps/&lt;instancename&gt;/kpartplugins directory.</p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">instanceName</td><td>The name of the <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKInstance.html">KInstance</a> of the plugin's parent. </td></tr>
    <tr><td class="paramname">catname</td><td>The translated name of the category. This is the name that is shown in the TabWidget if there is more than one category. </td></tr>
    <tr><td class="paramname">category</td><td>When you have different categories of KParts plugins you distinguish between the plugins using the Category key in the .desktop file. Use this parameter to select only those KParts plugins with the Category key == <code>category</code>. If <code>category</code> is not set the Category key is ignored and all plugins are shown. </td></tr>
    <tr><td class="paramname">config</td><td>The <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> object that holds the state of the plugins being enabled or not. By default it should be instance-&gt;config(). It is recommended to always pass a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> object if you use <a class="el" href="classKSettings_1_1PluginPage.html" title="Convenience KCModule for creating a plugins config page.">KSettings::PluginPage</a> since you never know from where the page will be called (think global config app). For example KViewCanvas passes <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKSimpleConfig.html">KSimpleConfig</a>( "kviewcanvas" ). </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00583">583</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab30b2415371434b13047c6ce457d0993"></a><!-- doxytag: member="KPluginSelector::addPlugins" ref="ab30b2415371434b13047c6ce457d0993" args="(const KInstance *instance, const QString &amp;catname=QString::null, const QString &amp;category=QString::null, KConfig *config=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::addPlugins </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKInstance.html">KInstance</a> *&#160;</td>
          <td class="paramname"><em>instance</em>, </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>catname</em> = <code>QString::null</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>category</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a list of KParts plugins. </p>
<p>Convenience method for the one above. If not set explicitely, <code>config</code> is set to instance-&gt;config(). </p>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00621">621</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a275077c34abdc7df29641b479c14e067"></a><!-- doxytag: member="KPluginSelector::addPlugins" ref="a275077c34abdc7df29641b479c14e067" args="(const QValueList&lt; KPluginInfo * &gt; &amp;plugininfos, const QString &amp;catname=QString::null, const QString &amp;category=QString::null, KConfig *config=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::addPlugins </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>
        </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>catname</em> = <code>QString::null</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>category</em> = <code>QString::null</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> *&#160;</td>
          <td class="paramname"><em>config</em> = <code>0</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add a list of non-KParts plugins. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">plugininfos</td><td>A list of <a class="el" href="classKPluginInfo.html" title="Information about a plugin.">KPluginInfo</a> objects containing the necessary information for the plugins you want to add to the list. </td></tr>
    <tr><td class="paramname">catname</td><td>The translated name of the category. This is the name that is shown in the TabWidget if there is more than one category. </td></tr>
    <tr><td class="paramname">category</td><td>When you have different categories of KParts plugins you distinguish between the plugins using the Category key in the .desktop file. Use this parameter to select only those KParts plugins with the Category key == <code>category</code>. If <code>category</code> is not set the Category key is ignored and all plugins are shown. </td></tr>
    <tr><td class="paramname">config</td><td>The <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> object that holds the state of the plugins being enabled or not. By default it will use <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKGlobal.html#a71532b4619923ec5f7779c5f0065e6e7">KGlobal::config()</a>. It is recommended to always pass a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKConfig.html">KConfig</a> object if you use <a class="el" href="classKSettings_1_1PluginPage.html" title="Convenience KCModule for creating a plugins config page.">KSettings::PluginPage</a> since you never know from where the page will be called (think global config app). For example KViewCanvas passes <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKSimpleConfig.html">KSimpleConfig</a>( "kviewcanvas" ). </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00629">629</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="aa52dd0b1a3a871756def87c2c9d6918c"></a><!-- doxytag: member="KPluginSelector::changed" ref="aa52dd0b1a3a871756def87c2c9d6918c" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::changed </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Tells you whether the configuration is changed or not. </p>

</div>
</div>
<a class="anchor" id="a6468d0ce675e1c3d9753246cd07ab119"></a><!-- doxytag: member="KPluginSelector::configCommitted" ref="a6468d0ce675e1c3d9753246cd07ab119" args="(const QCString &amp;instanceName)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::configCommitted </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" href="qcstring.html">QCString</a> &amp;&#160;</td>
          <td class="paramname"><em>instanceName</em></td><td>)</td>
          <td><code> [signal]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Emitted after the config of an embedded KCM has been saved. </p>
<p>The argument is the name of the parent component that needs to reload its config </p>

</div>
</div>
<a class="anchor" id="ac8e384839a14d0bdf17c0c8a6a93d7cb"></a><!-- doxytag: member="KPluginSelector::defaults" ref="ac8e384839a14d0bdf17c0c8a6a93d7cb" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::defaults </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Change to applications defaults. </p>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00687">687</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ab028a22b586d0698f61cb3f5b54ae7b1"></a><!-- doxytag: member="KPluginSelector::load" ref="ab028a22b586d0698f61cb3f5b54ae7b1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::load </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Load the state of the plugins (selected or not) from the <a class="el" href="classKPluginInfo.html" title="Information about a plugin.">KPluginInfo</a> objects. </p>
<p>For KParts plugins everything should work automatically. For your own type of plugins you might need to reimplement the <a class="el" href="classKPluginInfo.html#afc75fa17725a4264f0283f56f29d9f2b">KPluginInfo::isPluginEnabled()</a> method. If that doesn't fit your needs you can also reimplement this method. </p>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00669">669</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="ad9e0185ec6b1ab4dbb532b92d52496d3"></a><!-- doxytag: member="KPluginSelector::save" ref="ad9e0185ec6b1ab4dbb532b92d52496d3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::save </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Save the configuration. </p>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00678">678</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<a class="anchor" id="a312919a6575d2952dbe82209832b9247"></a><!-- doxytag: member="KPluginSelector::setShowEmptyConfigPage" ref="a312919a6575d2952dbe82209832b9247" args="(bool)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPluginSelector::setShowEmptyConfigPage </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>show</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set whether the area for showing the KCMs of the plugins should be hidden if the plugin doesn't have a KCM or whether the layout should rather stay static and only an message should be shown. </p>
<p>By default the config page is not hidden. </p>

<p>Definition at line <a class="el" href="kpluginselector_8cpp_source.html#l00661">661</a> of file <a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kpluginselector_8h_source.html">kpluginselector.h</a></li>
<li><a class="el" href="kpluginselector_8cpp_source.html">kpluginselector.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>