diff options
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; |