From 479f5f799523bffbcc83dff581a2299c047c6fff Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:44:01 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kjsembed/kscript/javascript.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kjsembed/kscript/javascript.h') diff --git a/kjsembed/kscript/javascript.h b/kjsembed/kscript/javascript.h index 7b5143a7..fa76a341 100644 --- a/kjsembed/kscript/javascript.h +++ b/kjsembed/kscript/javascript.h @@ -20,8 +20,8 @@ #define __javascript_h__ #include -#include -#include +#include +#include namespace KJSEmbed { class KJSEmbedPart; @@ -31,30 +31,30 @@ namespace KJSEmbed { class JavaScript : public KScriptInterface { Q_OBJECT - Q_PROPERTY( QString appID READ appID ) + Q_PROPERTY( TQString appID READ appID ) public: - JavaScript(KScriptClientInterface *parent, const char *name, const QStringList &args); + JavaScript(KScriptClientInterface *parent, const char *name, const TQStringList &args); virtual ~JavaScript(); - QString script() const; - void setScript( const QString &scriptFile ); - void setScript( const QString &scriptLibFile, const QString &method ); - void run(QObject *context = 0, const QVariant &arg = 0); + TQString script() const; + void setScript( const TQString &scriptFile ); + void setScript( const TQString &scriptLibFile, const TQString &method ); + void run(TQObject *context = 0, const TQVariant &arg = 0); void kill(); - QString appID() const; + TQString appID() const; public slots: - void writeLine( const QString &msg ); - void writeWarning( const QString &msg ); - void writeError( const QString &msg ); + void writeLine( const TQString &msg ); + void writeWarning( const TQString &msg ); + void writeError( const TQString &msg ); void setProgress( int percent ); private: KScriptClientInterface *ScriptClientInterface; KJSEmbed::KJSEmbedPart *m_jsembed; - QString m_method; - QString m_scriptLoc; + TQString m_method; + TQString m_scriptLoc; }; #endif -- cgit v1.2.1