<?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>interfaces: KScriptManager Class Reference (interfaces)</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=".">interfaces</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="#pub-slots">Public Slots</a> | <a href="#signals">Signals</a> | <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-attribs">Protected Attributes</a> | <a href="#friends">Friends</a> </div> <div class="headertitle"> <div class="title">KScriptManager Class Reference</div> </div> </div> <div class="contents"> <!-- doxytag: class="KScriptManager" --><!-- doxytag: inherits="QObject,KScriptClientInterface" --> <p>This class is the base for all script engines. <a href="classKScriptManager.html#details">More...</a></p> <p><code>#include <<a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>></code></p> <div class="dynheader"> Inheritance diagram for KScriptManager:</div> <div class="dyncontent"> <div class="center"> <img src="classKScriptManager.png" usemap="#KScriptManager_map" alt=""/> <map id="KScriptManager_map" name="KScriptManager_map"> <area href="qobject.html" alt="QObject" shape="rect" coords="0,0,135,24"/> <area href="classKScriptClientInterface.html" title="This class is used for allowing feedback to the main system." alt="KScriptClientInterface" shape="rect" coords="145,0,280,24"/> </map> </div></div> <p><a href="classKScriptManager-members.html">List of all members.</a></p> <table class="memberdecls"> <tr><td colspan="2"><h2><a name="pub-slots"></a> Public Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a8709efde37b092a5cb60ceed73d4b28d">runScript</a> (const <a class="elRef" href="qstring.html">QString</a> &scriptName, <a class="elRef" href="qobject.html">QObject</a> *context=0, const <a class="elRef" href="qvariant.html">QVariant</a> &arg=0)</td></tr> <tr><td colspan="2"><h2><a name="signals"></a> Signals</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#ad2c96bd82e69b4febb982d14bfb93836">scriptError</a> (const <a class="elRef" href="qstring.html">QString</a> &msg)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#aace78c583fede38b4a75051225277a17">scriptWarning</a> (const <a class="elRef" href="qstring.html">QString</a> &msg)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a9bb575d36a72d3870088ac8e0cc4ed29">scriptOutput</a> (const <a class="elRef" href="qstring.html">QString</a> &msg)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#af09a6abc3ff43707d79a386354dd82e3">scriptProgress</a> (int percent)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a2f1e198d9140913bc658b36fda95e050">scriptDone</a> (KScriptClientInterface::Result result, const <a class="elRef" href="qvariant.html">QVariant</a> &returned)</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"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a63909be66a2e373a5ef83220754feea9">KScriptManager</a> (<a class="elRef" href="qobject.html">QObject</a> *<a class="elRef" href="qobject.html#parent">parent</a>, const char *<a class="elRef" href="qobject.html#name">name</a>)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#ac19c181f7343dc79ffd7c8fcab867d7f">~KScriptManager</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#acdfe545e65ba2094403b699140c42d6a">addScript</a> (const <a class="elRef" href="qstring.html">QString</a> &scriptDesktopFile)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a31ddd89ac2de74933db7496e78825fec">removeScript</a> (const <a class="elRef" href="qstring.html">QString</a> &scriptName)</td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="qstringlist.html">QStringList</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#ab25cb711b5dfd7f4f54e8a1c09c41b6a">scripts</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a615c240b625a2557c75794a3d8627be4">clear</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a20be310ca557f5dd9a80a20a6442dc94">error</a> (const <a class="elRef" href="qstring.html">QString</a> &msg)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a8a2a5a599f86dd9a525938c0b6ebd593">warning</a> (const <a class="elRef" href="qstring.html">QString</a> &msg)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a79d736e7f0ed7bd557a4de29117dc396">output</a> (const <a class="elRef" href="qstring.html">QString</a> &msg)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#af69d480d297e6959f923a3465ad881af">progress</a> (int percent)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a240bd29ba06925a4507fc734a954ccee">done</a> (KScriptClientInterface::Result result, const <a class="elRef" href="qvariant.html">QVariant</a> &returned)</td></tr> <tr><td colspan="2"><h2><a name="pro-attribs"></a> Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1f20f358332c40c52eda1ef1b336f0c"></a><!-- doxytag: member="KScriptManager::m_scripts" ref="ab1f20f358332c40c52eda1ef1b336f0c" args="" --> <a class="elRef" href="qdict.html">QDict</a>< ScriptInfo > </td><td class="memItemRight" valign="bottom"><b>m_scripts</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9d9db431846460058b3ed10b6b43ba7f"></a><!-- doxytag: member="KScriptManager::m_scriptCache" ref="a9d9db431846460058b3ed10b6b43ba7f" args="" --> <a class="elRef" href="qdict.html">QDict</a>< <a class="el" href="classKScriptInterface.html">KScriptInterface</a> > </td><td class="memItemRight" valign="bottom"><b>m_scriptCache</b></td></tr> <tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4dbad16290d7efb67d84c46b539e213e"></a><!-- doxytag: member="KScriptManager::m_currentScript" ref="a4dbad16290d7efb67d84c46b539e213e" args="" --> <a class="elRef" href="qstring.html">QString</a> </td><td class="memItemRight" valign="bottom"><b>m_currentScript</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="a6a7d0c2b7e1e200189099eb7a4d9fab0"></a><!-- doxytag: member="KScriptManager::KScriptInterface" ref="a6a7d0c2b7e1e200189099eb7a4d9fab0" args="" --> class </td><td class="memItemRight" valign="bottom"><a class="el" href="classKScriptManager.html#a6a7d0c2b7e1e200189099eb7a4d9fab0">KScriptInterface</a></td></tr> </table> <hr/><a name="details" id="details"></a><h2>Detailed Description</h2> <div class="textblock"><p>This class is the base for all script engines. </p> <dl class="author"><dt><b>Author:</b></dt><dd>Ian Reinhart Geiser <<a href="mailto:geiseri@kde.org">geiseri@kde.org</a>> </dd></dl> <p>Definition at line <a class="el" href="scriptmanager_8h_source.html#l00039">39</a> of file <a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>.</p> </div><hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a63909be66a2e373a5ef83220754feea9"></a><!-- doxytag: member="KScriptManager::KScriptManager" ref="a63909be66a2e373a5ef83220754feea9" args="(QObject *parent, const char *name)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KScriptManager::KScriptManager </td> <td>(</td> <td class="paramtype"><a class="elRef" href="qobject.html">QObject</a> * </td> <td class="paramname"><em>parent</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const char * </td> <td class="paramname"><em>name</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div> <div class="memdoc"> <p>Create a new instance of the script engine. </p> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00028">28</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <a class="anchor" id="ac19c181f7343dc79ffd7c8fcab867d7f"></a><!-- doxytag: member="KScriptManager::~KScriptManager" ref="ac19c181f7343dc79ffd7c8fcab867d7f" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">KScriptManager::~KScriptManager </td> <td>(</td> <td class="paramname"></td><td>)</td> <td><code> [virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Destroy the current script engine. </p> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00033">33</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="acdfe545e65ba2094403b699140c42d6a"></a><!-- doxytag: member="KScriptManager::addScript" ref="acdfe545e65ba2094403b699140c42d6a" args="(const QString &scriptDesktopFile)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KScriptManager::addScript </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>scriptDesktopFile</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Add a new script instance to the script engine. </p> <p>This should be the full name and path to the desktop file. </p> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00039">39</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <a class="anchor" id="a615c240b625a2557c75794a3d8627be4"></a><!-- doxytag: member="KScriptManager::clear" ref="a615c240b625a2557c75794a3d8627be4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::clear </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Clear all script intstances in memory. </p> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00079">79</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <a class="anchor" id="a240bd29ba06925a4507fc734a954ccee"></a><!-- doxytag: member="KScriptManager::done" ref="a240bd29ba06925a4507fc734a954ccee" args="(KScriptClientInterface::Result result, const QVariant &returned)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::done </td> <td>(</td> <td class="paramtype">KScriptClientInterface::Result </td> <td class="paramname"><em>result</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qvariant.html">QVariant</a> & </td> <td class="paramname"><em>returned</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This function will allow feedback on completion of the script. </p> <p>It turns the result as a KScriptInteface::Result, and a return value as a <a class="elRef" href="qvariant.html">QVariant</a> </p> <p>Implements <a class="el" href="classKScriptClientInterface.html#a899d59b9031fa073c0454d10a5dce40c">KScriptClientInterface</a>.</p> <p>Definition at line <a class="el" href="scriptmanager_8h_source.html#l00099">99</a> of file <a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>.</p> </div> </div> <a class="anchor" id="a20be310ca557f5dd9a80a20a6442dc94"></a><!-- doxytag: member="KScriptManager::error" ref="a20be310ca557f5dd9a80a20a6442dc94" args="(const QString &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::error </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This function will allow the main application of any errors that have occurred during processing of the script. </p> <p>Implements <a class="el" href="classKScriptClientInterface.html#ab5d98cbd81eac80ae5e44586346e8e09">KScriptClientInterface</a>.</p> <p>Definition at line <a class="el" href="scriptmanager_8h_source.html#l00076">76</a> of file <a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>.</p> </div> </div> <a class="anchor" id="a79d736e7f0ed7bd557a4de29117dc396"></a><!-- doxytag: member="KScriptManager::output" ref="a79d736e7f0ed7bd557a4de29117dc396" args="(const QString &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::output </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This function will allow the main application of any normal output that has occurred during the processing of the script. </p> <p>Implements <a class="el" href="classKScriptClientInterface.html#a018076fd882755c2cc79eb3b86768115">KScriptClientInterface</a>.</p> <p>Definition at line <a class="el" href="scriptmanager_8h_source.html#l00086">86</a> of file <a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>.</p> </div> </div> <a class="anchor" id="af69d480d297e6959f923a3465ad881af"></a><!-- doxytag: member="KScriptManager::progress" ref="af69d480d297e6959f923a3465ad881af" args="(int percent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::progress </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>percent</em></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This function will allow feedback to any progress bars in the main application as to how far along the script is. </p> <p>This is very useful when a script is processing files or doing some long operation that is of a known duration. </p> <p>Implements <a class="el" href="classKScriptClientInterface.html#a8fa7c996c9729459c748c55b1245672b">KScriptClientInterface</a>.</p> <p>Definition at line <a class="el" href="scriptmanager_8h_source.html#l00093">93</a> of file <a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>.</p> </div> </div> <a class="anchor" id="a31ddd89ac2de74933db7496e78825fec"></a><!-- doxytag: member="KScriptManager::removeScript" ref="a31ddd89ac2de74933db7496e78825fec" args="(const QString &scriptName)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool KScriptManager::removeScript </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>scriptName</em></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Remove a script instance from the script engine. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>the success of the operation. </dd></dl> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00061">61</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <a class="anchor" id="a8709efde37b092a5cb60ceed73d4b28d"></a><!-- doxytag: member="KScriptManager::runScript" ref="a8709efde37b092a5cb60ceed73d4b28d" args="(const QString &scriptName, QObject *context=0, const QVariant &arg=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::runScript </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>scriptName</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype"><a class="elRef" href="qobject.html">QObject</a> * </td> <td class="paramname"><em>context</em> = <code>0</code>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qvariant.html">QVariant</a> & </td> <td class="paramname"><em>arg</em> = <code>0</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Run the selected script. </p> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00084">84</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <a class="anchor" id="a2f1e198d9140913bc658b36fda95e050"></a><!-- doxytag: member="KScriptManager::scriptDone" ref="a2f1e198d9140913bc658b36fda95e050" args="(KScriptClientInterface::Result result, const QVariant &returned)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::scriptDone </td> <td>(</td> <td class="paramtype">KScriptClientInterface::Result </td> <td class="paramname"><em>result</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="elRef" href="qvariant.html">QVariant</a> & </td> <td class="paramname"><em>returned</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Send out a signal of the exit status of the script. </p> </div> </div> <a class="anchor" id="ad2c96bd82e69b4febb982d14bfb93836"></a><!-- doxytag: member="KScriptManager::scriptError" ref="ad2c96bd82e69b4febb982d14bfb93836" args="(const QString &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::scriptError </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Send out a signal of the error message from the current running script. </p> </div> </div> <a class="anchor" id="a9bb575d36a72d3870088ac8e0cc4ed29"></a><!-- doxytag: member="KScriptManager::scriptOutput" ref="a9bb575d36a72d3870088ac8e0cc4ed29" args="(const QString &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::scriptOutput </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Send out a signal of the output message from the current running script. </p> </div> </div> <a class="anchor" id="af09a6abc3ff43707d79a386354dd82e3"></a><!-- doxytag: member="KScriptManager::scriptProgress" ref="af09a6abc3ff43707d79a386354dd82e3" args="(int percent)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::scriptProgress </td> <td>(</td> <td class="paramtype">int </td> <td class="paramname"><em>percent</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Send out a signal of the progress of the current running script. </p> </div> </div> <a class="anchor" id="ab25cb711b5dfd7f4f54e8a1c09c41b6a"></a><!-- doxytag: member="KScriptManager::scripts" ref="ab25cb711b5dfd7f4f54e8a1c09c41b6a" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname"><a class="elRef" href="qstringlist.html">QStringList</a> KScriptManager::scripts </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Access the names of script instances from the script engine. </p> <dl class="return"><dt><b>Returns:</b></dt><dd>a <a class="elRef" href="qstringlist.html">QStringList</a> of the current scripts. </dd></dl> <p>Definition at line <a class="el" href="scriptmanager_8cpp_source.html#l00067">67</a> of file <a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.cpp</a>.</p> </div> </div> <a class="anchor" id="aace78c583fede38b4a75051225277a17"></a><!-- doxytag: member="KScriptManager::scriptWarning" ref="aace78c583fede38b4a75051225277a17" args="(const QString &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::scriptWarning </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Send out a signal of the warning message from the current running script. </p> </div> </div> <a class="anchor" id="a8a2a5a599f86dd9a525938c0b6ebd593"></a><!-- doxytag: member="KScriptManager::warning" ref="a8a2a5a599f86dd9a525938c0b6ebd593" args="(const QString &msg)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void KScriptManager::warning </td> <td>(</td> <td class="paramtype">const <a class="elRef" href="qstring.html">QString</a> & </td> <td class="paramname"><em>msg</em></td><td>)</td> <td><code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>This function will allow the main application of any warnings that have occurred during the processing of the script. </p> <p>Implements <a class="el" href="classKScriptClientInterface.html#add482096e2ac418860be8b74bfe45aa7">KScriptClientInterface</a>.</p> <p>Definition at line <a class="el" href="scriptmanager_8h_source.html#l00081">81</a> of file <a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="scriptmanager_8h_source.html">scriptmanager.h</a></li> <li><a class="el" href="scriptmanager_8cpp_source.html">scriptmanager.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>interfaces</h2> <div class="nav_list"> <ul><li><a href="index.html">Main Page</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="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</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="classExtTerminalInterface.html">extterminalinterface</option>, <option value="classKFileAudioPreview.html">kfileaudiopreview</option>, <option value="classKHE_1_1BytesEditInterface.html">khe::byteseditinterface</option>, <option value="classKHE_1_1CharColumnInterface.html">khe::charcolumninterface</option>, <option value="classKHE_1_1ClipboardInterface.html">khe::clipboardinterface</option>, <option value="classKHE_1_1ValueColumnInterface.html">khe::valuecolumninterface</option>, <option value="classKHE_1_1ZoomInterface.html">khe::zoominterface</option>, <option value="classKIMIface.html">kimiface</option>, <option value="classKIMProxy.html">kimproxy</option>, <option value="classKMediaPlayer_1_1Player.html">kmediaplayer::player</option>, <option value="classKMediaPlayer_1_1View.html">kmediaplayer::view</option>, <option value="classKRegExpEditorInterface.html">kregexpeditorinterface</option>, <option value="classKScriptClientInterface.html">kscriptclientinterface</option>, <option value="classKScriptInterface.html">kscriptinterface</option>, <option value="classKScriptManager.html">kscriptmanager</option>, <option value="classKSpeech.html">kspeech</option>, <option value="classKSpeechSink.html">kspeechsink</option>, <option value="classKTextEditor_1_1BlockSelectionDCOPInterface.html">ktexteditor::blockselectiondcopinterface</option>, <option value="classKTextEditor_1_1BlockSelectionInterface.html">ktexteditor::blockselectioninterface</option>, <option value="classKTextEditor_1_1ClipboardDCOPInterface.html">ktexteditor::clipboarddcopinterface</option>, <option value="classKTextEditor_1_1ClipboardInterface.html">ktexteditor::clipboardinterface</option>, <option value="classKTextEditor_1_1CodeCompletionInterface.html">ktexteditor::codecompletioninterface</option>, <option value="classKTextEditor_1_1CompletionEntry.html">ktexteditor::completionentry</option>, <option value="classKTextEditor_1_1ConfigInterface.html">ktexteditor::configinterface</option>, <option value="classKTextEditor_1_1ConfigInterfaceExtension.html">ktexteditor::configinterfaceextension</option>, <option value="classKTextEditor_1_1Cursor.html">ktexteditor::cursor</option>, <option value="classKTextEditor_1_1CursorInterface.html">ktexteditor::cursorinterface</option>, <option value="classKTextEditor_1_1Document.html">ktexteditor::document</option>, <option value="classKTextEditor_1_1DocumentInfoDCOPInterface.html">ktexteditor::documentinfodcopinterface</option>, <option value="classKTextEditor_1_1DocumentInfoInterface.html">ktexteditor::documentinfointerface</option>, <option value="classKTextEditor_1_1DynWordWrapInterface.html">ktexteditor::dynwordwrapinterface</option>, <option value="classKTextEditor_1_1EditDCOPInterface.html">ktexteditor::editdcopinterface</option>, <option value="classKTextEditor_1_1EditInterface.html">ktexteditor::editinterface</option>, <option value="classKTextEditor_1_1EditInterfaceExt.html">ktexteditor::editinterfaceext</option>, <option value="classKTextEditor_1_1Editor.html">ktexteditor::editor</option>, <option value="classKTextEditor_1_1EncodingDCOPInterface.html">ktexteditor::encodingdcopinterface</option>, <option value="classKTextEditor_1_1EncodingInterface.html">ktexteditor::encodinginterface</option>, <option value="classKTextEditor_1_1HighlightingInterface.html">ktexteditor::highlightinginterface</option>, <option value="classKTextEditor_1_1MarkInterface.html">ktexteditor::markinterface</option>, <option value="classKTextEditor_1_1MarkInterfaceExtension.html">ktexteditor::markinterfaceextension</option>, <option value="classKTextEditor_1_1Plugin.html">ktexteditor::plugin</option>, <option value="classKTextEditor_1_1PluginViewInterface.html">ktexteditor::pluginviewinterface</option>, <option value="classKTextEditor_1_1PopupMenuInterface.html">ktexteditor::popupmenuinterface</option>, <option value="classKTextEditor_1_1PrintDCOPInterface.html">ktexteditor::printdcopinterface</option>, <option value="classKTextEditor_1_1PrintInterface.html">ktexteditor::printinterface</option>, <option value="classKTextEditor_1_1SearchDCOPInterface.html">ktexteditor::searchdcopinterface</option>, <option value="classKTextEditor_1_1SearchInterface.html">ktexteditor::searchinterface</option>, <option value="classKTextEditor_1_1SelectionDCOPInterface.html">ktexteditor::selectiondcopinterface</option>, <option value="classKTextEditor_1_1SelectionExtDCOPInterface.html">ktexteditor::selectionextdcopinterface</option>, <option value="classKTextEditor_1_1SelectionInterface.html">ktexteditor::selectioninterface</option>, <option value="classKTextEditor_1_1SelectionInterfaceExt.html">ktexteditor::selectioninterfaceext</option>, <option value="classKTextEditor_1_1SessionConfigInterface.html">ktexteditor::sessionconfiginterface</option>, <option value="classKTextEditor_1_1TemplateInterface.html">ktexteditor::templateinterface</option>, <option value="classKTextEditor_1_1TextHintInterface.html">ktexteditor::texthintinterface</option>, <option value="classKTextEditor_1_1UndoDCOPInterface.html">ktexteditor::undodcopinterface</option>, <option value="classKTextEditor_1_1UndoInterface.html">ktexteditor::undointerface</option>, <option value="classKTextEditor_1_1VariableInterface.html">ktexteditor::variableinterface</option>, <option value="classKTextEditor_1_1View.html">ktexteditor::view</option>, <option value="classKTextEditor_1_1ViewCursorDCOPInterface.html">ktexteditor::viewcursordcopinterface</option>, <option value="classKTextEditor_1_1ViewCursorInterface.html">ktexteditor::viewcursorinterface</option>, <option value="classKTextEditor_1_1ViewStatusMsgDCOPInterface.html">ktexteditor::viewstatusmsgdcopinterface</option>, <option value="classKTextEditor_1_1ViewStatusMsgInterface.html">ktexteditor::viewstatusmsginterface</option>, <option value="classKTextEditor_1_1WordWrapInterface.html">ktexteditor::wordwrapinterface</option>, <option value="classScriptLoader.html">scriptloader</option>, <option value="classTerminalInterface.html">terminalinterface</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>