From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- interfaces/kscript/scriptclientinterface.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'interfaces/kscript/scriptclientinterface.h') diff --git a/interfaces/kscript/scriptclientinterface.h b/interfaces/kscript/scriptclientinterface.h index adeaa6424..ae5672a35 100644 --- a/interfaces/kscript/scriptclientinterface.h +++ b/interfaces/kscript/scriptclientinterface.h @@ -18,7 +18,7 @@ */ #ifndef __scriptclientinterface_h__ #define __scriptclientinterface_h__ -#include +#include class QString; @@ -32,11 +32,11 @@ class QString; * There are currently a few implementations of script managers around but developers can implement their own custom * interfaces with this class. * @code - * class MyScript : public QObject, public KScriptClientInterface { + * class MyScript : public TQObject, public KScriptClientInterface { * Q_OBJECT * public: * - * MyScript(QObject *parent) + * MyScript(TQObject *parent) * { * // Create your @ref KScriptInterface here. * m_interface = KParts::ComponentFactory::createInstanceFromQuery( @@ -49,14 +49,14 @@ class QString; * } * * signals: - * void error ( const QString &msg ); - * void warning ( const QString &msg ); - * void output ( const QString &msg ); + * void error ( const TQString &msg ); + * void warning ( const TQString &msg ); + * void output ( const TQString &msg ); * void progress ( int percent ); - * void done ( KScriptClientInterface::Result result, const QVariant &returned ); + * void done ( KScriptClientInterface::Result result, const TQVariant &returned ); * * public slots: - * void activate(const QVariant &args) + * void activate(const TQVariant &args) * { * m_interface->run(parent(), args); * } @@ -80,21 +80,21 @@ class QString; * For script clients its best to implement this as a signal so feedback * can be sent to the main application. */ - virtual void error( const QString &msg ) =0; + virtual void error( const TQString &msg ) =0; /** * This function will allow the main application of any warnings * that have occurred during the processing of the script. * For script clients its best to implement this as a signal so feedback * can be sent to the main application. */ - virtual void warning( const QString &msg ) =0; + virtual void warning( const TQString &msg ) =0; /** * This function will allow the main application of any normal * output that has occurred during the processing of the script. * For script clients its best to implement this as a signal so feedback * can be sent to the main application. */ - virtual void output( const QString &msg ) =0; + virtual void output( const TQString &msg ) =0; /** * This function will allow feedback to any progress bars in the main * application as to how far along the script is. This is very useful when @@ -111,7 +111,7 @@ class QString; * For script clients its best to implement this as a signal so feedback * can be sent to the main application. */ - virtual void done( KScriptClientInterface::Result result, const QVariant &returned ) =0; + virtual void done( KScriptClientInterface::Result result, const TQVariant &returned ) =0; /** * Returned when the script has finished running. * For script clients its best to implement this as a signal so feedback -- cgit v1.2.1