diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:44:01 +0000 |
commit | 479f5f799523bffbcc83dff581a2299c047c6fff (patch) | |
tree | 186aae707ed02aac6c7cab2fb14e97f72aca5e36 /kjsembed/jsconsolewidget.h | |
parent | f1dbff6145c98324ff82e34448b7483727e8ace4 (diff) | |
download | tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.tar.gz tdebindings-479f5f799523bffbcc83dff581a2299c047c6fff.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1157645 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kjsembed/jsconsolewidget.h')
-rw-r--r-- | kjsembed/jsconsolewidget.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kjsembed/jsconsolewidget.h b/kjsembed/jsconsolewidget.h index cd173080..bf7100df 100644 --- a/kjsembed/jsconsolewidget.h +++ b/kjsembed/jsconsolewidget.h @@ -22,7 +22,7 @@ #ifndef KJSEMBEDJSCONSOLEWIDGET_H #define KJSEMBEDJSCONSOLEWIDGET_H -#include <qframe.h> +#include <tqframe.h> #include <kjsembed/global.h> class QPushButton; @@ -43,7 +43,7 @@ namespace KJSEmbed { class KJSEmbedPart; /** - * A QWidget that provides a console for executing Javascript commands. Creating + * A TQWidget that provides a console for executing Javascript commands. Creating * a JS console is easy, as you can see below: * * <pre> @@ -64,7 +64,7 @@ class KJSEMBED_EXPORT JSConsoleWidget : public QFrame Q_OBJECT public: - JSConsoleWidget( KJSEmbedPart *js, QWidget *parent=0, const char *name=0 ); + JSConsoleWidget( KJSEmbedPart *js, TQWidget *parent=0, const char *name=0 ); virtual ~JSConsoleWidget(); public slots: @@ -78,28 +78,28 @@ public slots: KPopupTitle *title() const { return ttl; } /** - * Returns the QHBox used to layout the entry part of the console. This + * Returns the TQHBox used to layout the entry part of the console. This * can be used by clients to hide and show the interactive parts of the * console, or to add new buttons etc. */ - QHBox *commandBox() const { return cmdBox; } + TQHBox *commandBox() const { return cmdBox; } /** Invokes the content of the command entry field. */ void invoke(); /** Invokes the specified command string. */ - virtual bool execute( const QString &cmd ); + virtual bool execute( const TQString &cmd ); - bool execute( const QString &cmd, const KJS::Value &self ); + bool execute( const TQString &cmd, const KJS::Value &self ); /** Prints the specified string to the console. */ - virtual void println( const QString &text ); + virtual void println( const TQString &text ); /** * Prints the specified string to the console as a warning, the default * implementation prints the text in red. */ - virtual void warn( const QString &text ); + virtual void warn( const TQString &text ); /** * Runs the specified command using KShellProcess. The output of the @@ -115,7 +115,7 @@ public slots: * to ensure that you only expose safe objects and methods to the * interpreter. */ - virtual bool run( const QString &shellCmd ); + virtual bool run( const TQString &shellCmd ); protected: /** Creates the console view. */ @@ -136,9 +136,9 @@ private: KShellProcess *proc; KTextEdit *log; - QHBox *cmdBox; + TQHBox *cmdBox; KLineEdit *cmd; - QPushButton *go; + TQPushButton *go; KPopupTitle *ttl; class JSConsoleWidgetPrivate *d; |