From 9ba04742771370f59740e32e11c5f3a1e6a1b70a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 15:55:57 -0600 Subject: Initial TQt conversion --- kjsembed/kscript/javascript.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'kjsembed/kscript/javascript.h') diff --git a/kjsembed/kscript/javascript.h b/kjsembed/kscript/javascript.h index fa76a341..2fb07509 100644 --- a/kjsembed/kscript/javascript.h +++ b/kjsembed/kscript/javascript.h @@ -31,30 +31,30 @@ namespace KJSEmbed { class JavaScript : public KScriptInterface { Q_OBJECT - Q_PROPERTY( TQString appID READ appID ) + Q_PROPERTY( TTQString appID READ appID ) public: - JavaScript(KScriptClientInterface *parent, const char *name, const TQStringList &args); + JavaScript(KScriptClientInterface *parent, const char *name, const TTQStringList &args); virtual ~JavaScript(); - 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); + TTQString script() const; + void setScript( const TTQString &scriptFile ); + void setScript( const TTQString &scriptLibFile, const TTQString &method ); + void run(TTQObject *context = 0, const TTQVariant &arg = 0); void kill(); - TQString appID() const; + TTQString appID() const; public slots: - void writeLine( const TQString &msg ); - void writeWarning( const TQString &msg ); - void writeError( const TQString &msg ); + void writeLine( const TTQString &msg ); + void writeWarning( const TTQString &msg ); + void writeError( const TTQString &msg ); void setProgress( int percent ); private: KScriptClientInterface *ScriptClientInterface; KJSEmbed::KJSEmbedPart *m_jsembed; - TQString m_method; - TQString m_scriptLoc; + TTQString m_method; + TTQString m_scriptLoc; }; #endif -- cgit v1.2.1