<?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: KCModuleInfo 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.4.4 --> <h1>KCModuleInfo Class Reference<br> <small> [<a class="el" href="group__kcmodule.html">KControl module classes</a>]</small> </h1><!-- doxytag: class="KCModuleInfo" --><code>#include <<a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>></code> <p> <a href="classKCModuleInfo-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2> A class that provides information about a <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKCModule.html">KCModule</a>. <p> KCModuleInfo provides various technical information, such as icon, library etc. about a KCModule.n <dl compact><dt><b>Note:</b></dt><dd>Any values set with the set* functions is not written back with KCModuleInfo it only reads value from the desktop file.</dd></dl> <p> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00049">49</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>.<table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a0">KCModuleInfo</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &desktopFile)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a1">KCModuleInfo</a> (KService::Ptr moduleInfo)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a2">KCModuleInfo</a> (const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> &rhs)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a3">KCModuleInfo</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a4">operator=</a> (const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> &rhs)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a5">operator==</a> (const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> &rhs) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a6">operator!=</a> (const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> &rhs) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a7">~KCModuleInfo</a> ()</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a8">fileName</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> & </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a9">keywords</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a10">factoryName</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a11">moduleName</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">KService::Ptr </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a12">service</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a13">comment</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a14">icon</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a15">docPath</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a16">library</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a17">handle</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a18">weight</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a19">needsRootPrivileges</a> () const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a20">isHiddenByDefault</a> () const KDE_DEPRECATED</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#a21">needsTest</a> () const </td></tr> <tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b0">setKeywords</a> (const <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> &keyword)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b1">setName</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &name)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b2">setComment</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &comment)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b3">setIcon</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &icon)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b4">setLibrary</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &lib)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b5">setHandle</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &handle)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b6">setWeight</a> (int weight)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b7">setNeedsTest</a> (bool val)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b8">setNeedsRootPrivileges</a> (bool needsRootPrivileges)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b9">setIsHiddenByDefault</a> (bool isHiddenByDefault)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b10">setDocPath</a> (const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> &p)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKCModuleInfo.html#b11">loadAll</a> ()</td></tr> </table> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="a0"></a><!-- doxytag: member="KCModuleInfo::KCModuleInfo" ref="a0" args="(const QString &desktopFile)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KCModuleInfo::KCModuleInfo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>desktopFile</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Constructs a KCModuleInfo. <p> <dl compact><dt><b>Note:</b></dt><dd>a KCModuleInfo object will have to be manually deleted, it is not done automatically for you. </dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>desktopFile</em> </td><td>the desktop file representing the module, or the name of the module.</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00054">54</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a1"></a><!-- doxytag: member="KCModuleInfo::KCModuleInfo" ref="a1" args="(KService::Ptr moduleInfo)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KCModuleInfo::KCModuleInfo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">KService::Ptr </td> <td class="mdname1" valign="top" nowrap> <em>moduleInfo</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Same as above but takes a KService::Ptr as argument. <p> <dl compact><dt><b>Note:</b></dt><dd><code>moduleInfo</code> must be a valid pointer.</dd></dl> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>moduleInfo</em> </td><td>specifies the module</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00059">59</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a2"></a><!-- doxytag: member="KCModuleInfo::KCModuleInfo" ref="a2" args="(const KCModuleInfo &rhs)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KCModuleInfo::KCModuleInfo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> & </td> <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Same as above but takes a KCModuleInfo as argument. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>rhs</em> </td><td>specifies the module</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00064">64</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a3"></a><!-- doxytag: member="KCModuleInfo::KCModuleInfo" ref="a3" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KCModuleInfo::KCModuleInfo </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Same as above but creates an empty KCModuleInfo. <p> You should not normally call this. <dl compact><dt><b>Since:</b></dt><dd>3.4</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00048">48</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a7"></a><!-- doxytag: member="KCModuleInfo::~KCModuleInfo" ref="a7" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KCModuleInfo::~KCModuleInfo </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Default destructor. <p> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00115">115</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="a13"></a><!-- doxytag: member="KCModuleInfo::comment" ref="a13" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::comment </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the module's (translated) comment field</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00142">142</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="a15"></a><!-- doxytag: member="KCModuleInfo::docPath" ref="a15" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::docPath </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the path of the module's documentation</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00181">181</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a10"></a><!-- doxytag: member="KCModuleInfo::factoryName" ref="a10" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::factoryName </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Returns the module's factory name, if it's set. <p> If not, the library name is returned. <dl compact><dt><b>Returns:</b></dt><dd>the module's factory name </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.4</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00093">93</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a8"></a><!-- doxytag: member="KCModuleInfo::fileName" ref="a8" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::fileName </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the filename of the .desktop file that describes the KCM</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00113">113</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="a17"></a><!-- doxytag: member="KCModuleInfo::handle" ref="a17" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::handle </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>a handle (usually the contents of the FactoryName field)</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00190">190</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a14"></a><!-- doxytag: member="KCModuleInfo::icon" ref="a14" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::icon </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the module's icon name</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00147">147</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="a20"></a><!-- doxytag: member="KCModuleInfo::isHiddenByDefault" ref="a20" args="() const KDE_DEPRECATED" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool KCModuleInfo::isHiddenByDefault </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000001">Deprecated:</a></b></dt><dd><dl compact><dt><b>Returns:</b></dt><dd>the isHiddenByDefault attribute.</dd></dl> </dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00220">220</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a9"></a><!-- doxytag: member="KCModuleInfo::keywords" ref="a9" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a>& KCModuleInfo::keywords </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the keywords associated with this KCM.</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00118">118</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="a16"></a><!-- doxytag: member="KCModuleInfo::library" ref="a16" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::library </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the library name</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00157">157</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b11"></a><!-- doxytag: member="KCModuleInfo::loadAll" ref="b11" args="()" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::loadAll </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Reads the service entries specific for <a class="elRef" doxygen="kdeui.tag:../../kdeui/html/" href="../../kdeui/html/classKCModule.html">KCModule</a> from the desktop file. <p> The usual desktop entries are read in init. <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00148">148</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a11"></a><!-- doxytag: member="KCModuleInfo::moduleName" ref="a11" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> KCModuleInfo::moduleName </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the module\'s (translated) name</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00131">131</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="a19"></a><!-- doxytag: member="KCModuleInfo::needsRootPrivileges" ref="a19" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool KCModuleInfo::needsRootPrivileges </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>whether the module might require root permissions</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00211">211</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a21"></a><!-- doxytag: member="KCModuleInfo::needsTest" ref="a21" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool KCModuleInfo::needsTest </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>true if the module should be conditionally loaded. </dd></dl> <dl compact><dt><b>Since:</b></dt><dd>3.4</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00228">228</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a6"></a><!-- doxytag: member="KCModuleInfo::operator!=" ref="a6" args="(const KCModuleInfo &rhs) const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool KCModuleInfo::operator!= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> & </td> <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>true if <code>rhs</code> is not equal itself</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00110">110</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a4"></a><!-- doxytag: member="KCModuleInfo::operator=" ref="a4" args="(const KCModuleInfo &rhs)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> & KCModuleInfo::operator= </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> & </td> <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Assignment operator. <p> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00073">73</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a5"></a><!-- doxytag: member="KCModuleInfo::operator==" ref="a5" args="(const KCModuleInfo &rhs) const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">bool KCModuleInfo::operator== </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classKCModuleInfo.html">KCModuleInfo</a> & </td> <td class="mdname1" valign="top" nowrap> <em>rhs</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Equal operator. <p> <dl compact><dt><b>Returns:</b></dt><dd>true if <code>rhs</code> equals itself</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00105">105</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="a12"></a><!-- doxytag: member="KCModuleInfo::service" ref="a12" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">KService::Ptr KCModuleInfo::service </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const<code> [inline]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>a <a class="elRef" doxygen="kdecore.tag:../../kdecore/html/" href="../../kdecore/html/classKSharedPtr.html">KSharedPtr</a> to KService created from the modules .desktop file</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00137">137</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b2"></a><!-- doxytag: member="KCModuleInfo::setComment" ref="b2" args="(const QString &comment)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setComment </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>comment</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the object's name. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>comment</em> </td><td>the new comment</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00208">208</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b10"></a><!-- doxytag: member="KCModuleInfo::setDocPath" ref="b10" args="(const QString &p)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setDocPath </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>p</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the object's documentation path. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>p</em> </td><td>the new documentation path</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00262">262</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b5"></a><!-- doxytag: member="KCModuleInfo::setHandle" ref="b5" args="(const QString &handle)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setHandle </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>handle</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the factory name. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>handle</em> </td><td>The new factory name</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00226">226</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b3"></a><!-- doxytag: member="KCModuleInfo::setIcon" ref="b3" args="(const QString &icon)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setIcon </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>icon</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the object's icon. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>icon</em> </td><td>the name of the new icon</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00214">214</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b9"></a><!-- doxytag: member="KCModuleInfo::setIsHiddenByDefault" ref="b9" args="(bool isHiddenByDefault)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setIsHiddenByDefault </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>isHiddenByDefault</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b><a class="el" href="deprecated.html#_deprecated000002">Deprecated:</a></b></dt><dd></dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00255">255</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b0"></a><!-- doxytag: member="KCModuleInfo::setKeywords" ref="b0" args="(const QStringList &keyword)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setKeywords </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstringlist.html">QStringList</a> & </td> <td class="mdname1" valign="top" nowrap> <em>keyword</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the object's keywords. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>keyword</em> </td><td>the new keywords</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00196">196</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b4"></a><!-- doxytag: member="KCModuleInfo::setLibrary" ref="b4" args="(const QString &lib)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setLibrary </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>lib</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Set the object's library. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>lib</em> </td><td>the name of the new library without any extensions or prefixs.</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00220">220</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b1"></a><!-- doxytag: member="KCModuleInfo::setName" ref="b1" args="(const QString &name)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setName </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="elRef" doxygen="qt.tag:" href="qstring.html">QString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>name</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the object's name. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>name</em> </td><td>the new name</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00202">202</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b8"></a><!-- doxytag: member="KCModuleInfo::setNeedsRootPrivileges" ref="b8" args="(bool needsRootPrivileges)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setNeedsRootPrivileges </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>needsRootPrivileges</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Toggles whether the represented module needs root privileges. <p> Use with caution. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>needsRootPrivileges</em> </td><td>if module needs root privilges</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00249">249</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="b7"></a><!-- doxytag: member="KCModuleInfo::setNeedsTest" ref="b7" args="(bool val)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setNeedsTest </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">bool </td> <td class="mdname1" valign="top" nowrap> <em>val</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets if the module should be tested for loading. <p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>val</em> </td><td>the value to set </td></tr> </table> </dl> <dl compact><dt><b>Since:</b></dt><dd>3.4</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00233">233</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <a class="anchor" name="b6"></a><!-- doxytag: member="KCModuleInfo::setWeight" ref="b6" args="(int weight)" --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">void KCModuleInfo::setWeight </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname1" valign="top" nowrap> <em>weight</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap><code> [inline, protected]</code></td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> Sets the object's weight property which determines in what order modules will be displayed. <p> Default is 100.<p> <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>weight</em> </td><td>the new weight</td></tr> </table> </dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8h-source.html#l00234">234</a> of file <a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a>. </td> </tr> </table> <a class="anchor" name="a18"></a><!-- doxytag: member="KCModuleInfo::weight" ref="a18" args="() const " --><p> <table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">int KCModuleInfo::weight </td> <td class="md" valign="top">( </td> <td class="mdname1" valign="top" nowrap> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap> const</td> </tr> </table> </td> </tr> </table> <table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td> <p> <dl compact><dt><b>Returns:</b></dt><dd>the weight of the module which determines the order of the pages in the <a class="el" href="classKCMultiDialog.html">KCMultiDialog</a>. It's set by the X-KDE-Weight field.</dd></dl> <p> Definition at line <a class="el" href="kcmoduleinfo_8cpp-source.html#l00202">202</a> of file <a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a>. </td> </tr> </table> <hr>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="kcmoduleinfo_8h-source.html">kcmoduleinfo.h</a><li><a class="el" href="kcmoduleinfo_8cpp-source.html">kcmoduleinfo.cpp</a></ul> </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="dirs.html">Directories</a></li><li><a href="namespacemembers.html">Namespace Members</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="classKCModuleProxyIfaceImpl.html">kcmoduleproxyifaceimpl</option>, <option value="classKCModuleProxyRootCommunicatorImpl.html">kcmoduleproxyrootcommunicatorimpl</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> <a href="../../interfaces/kimproxy/interface/html/index.html">interface</a></li><li> <a href="../../interfaces/kimproxy/library/html/index.html">library</a></li><li> <a href="../../interfaces/kspeech/html/index.html">kspeech</a></li><li> <a href="../../interfaces/ktexteditor/html/index.html">ktexteditor</a></li><li><a href="../../kabc/html/index.html">kabc</a></li><li><a href="../../kate/html/index.html">kate</a></li><li><a href="../../kcmshell/html/index.html">kcmshell</a></li><li><a href="../../kdecore/html/index.html">kdecore</a></li><li><a href="../../kded/html/index.html">kded</a></li><li><a href="../../kdefx/html/index.html">kdefx</a></li><li><a href="../../kdeprint/html/index.html">kdeprint</a></li><li><a href="../../kdesu/html/index.html">kdesu</a></li><li><a href="../../kdeui/html/index.html">kdeui</a></li><li><a href="../../kdoctools/html/index.html">kdoctools</a></li><li><a href="../../khtml/html/index.html">khtml</a></li><li><a href="../../kimgio/html/index.html">kimgio</a></li><li><a href="../../kinit/html/index.html">kinit</a></li><li><a href="../../kio/html/index.html">kio</a></li><li> <a href="../../kio/bookmarks/html/index.html">bookmarks</a></li><li> <a href="../../kio/httpfilter/html/index.html">httpfilter</a></li><li> <a href="../../kio/kfile/html/index.html">kfile</a></li><li> <a href="../../kio/kio/html/index.html">kio</a></li><li> <a href="../../kio/kioexec/html/index.html">kioexec</a></li><li> <a href="../../kio/kpasswdserver/html/index.html">kpasswdserver</a></li><li> <a href="../../kio/kssl/html/index.html">kssl</a></li><li><a href="../../kioslave/html/index.html">kioslave</a></li><li> <a href="../../kioslave/http/html/index.html">http</a></li><li><a href="../../kjs/html/index.html">kjs</a></li><li><a href="../../kmdi/html/index.html">kmdi</a></li><li> <a href="../../kmdi/kmdi/html/index.html">kmdi</a></li><li><a href="../../knewstuff/html/index.html">knewstuff</a></li><li><a href="../../kparts/html/index.html">kparts</a></li><li><a href="../../kresources/html/index.html">kresources</a></li><li><a href="../../kspell2/html/index.html">kspell2</a></li><li><a href="../../kunittest/html/index.html">kunittest</a></li><li><a href="../../kutils/html/index.html">kutils</a></li><li><a href="../../kwallet/html/index.html">kwallet</a></li><li><a href="../../libkmid/html/index.html">libkmid</a></li><li><a href="../../libkscreensaver/html/index.html">libkscreensaver</a></li> </ul></div></div> </td> </tr> </table> <span class="doNotDisplay"> <a href="http://www.kde.org/" accesskey="8">KDE Home</a> | <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> | <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a> </span> <div style="height: 8px"></div> <div id="footer"> <div id="footer_left"> Maintained by <a href="mailto:groot@kde.org">Adriaan de Groot</a> and <a href="mailto:winter@kde.org">Allen Winter</a>. <br/> KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> | <a href="http://www.kde.org/contact/impressum.php">Legal</a> </div> <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div> </div> <!-- WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL BE BLOCKED INSTANTLY AND PERMANENTLY! <a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a> WARNING END --> </body> </html>