summaryrefslogtreecommitdiffstats
path: root/kjsembed/jsconsolewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'kjsembed/jsconsolewidget.h')
-rw-r--r--kjsembed/jsconsolewidget.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kjsembed/jsconsolewidget.h b/kjsembed/jsconsolewidget.h
index 0d3598ce..b0ed7787 100644
--- a/kjsembed/jsconsolewidget.h
+++ b/kjsembed/jsconsolewidget.h
@@ -25,8 +25,8 @@
#include <tqframe.h>
#include <kjsembed/global.h>
-class TTQPushButton;
-class TTQHBox;
+class TQPushButton;
+class TQHBox;
class KLineEdit;
class KPopupTitle;
@@ -43,7 +43,7 @@ namespace KJSEmbed {
class KJSEmbedPart;
/**
- * A TTQWidget 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 TQFrame
Q_OBJECT
public:
- JSConsoleWidget( KJSEmbedPart *js, TTQWidget *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 TTQHBox 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.
*/
- TTQHBox *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 TTQString &cmd );
+ virtual bool execute( const TQString &cmd );
- bool execute( const TTQString &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 TTQString &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 TTQString &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 TTQString &shellCmd );
+ virtual bool run( const TQString &shellCmd );
protected:
/** Creates the console view. */
@@ -136,9 +136,9 @@ private:
KShellProcess *proc;
KTextEdit *log;
- TTQHBox *cmdBox;
+ TQHBox *cmdBox;
KLineEdit *cmd;
- TTQPushButton *go;
+ TQPushButton *go;
KPopupTitle *ttl;
class JSConsoleWidgetPrivate *d;