summaryrefslogtreecommitdiffstats
path: root/knights/console.h
diff options
context:
space:
mode:
Diffstat (limited to 'knights/console.h')
-rw-r--r--knights/console.h27
1 files changed, 14 insertions, 13 deletions
diff --git a/knights/console.h b/knights/console.h
index ec38ec9..2d9b814 100644
--- a/knights/console.h
+++ b/knights/console.h
@@ -18,10 +18,10 @@
#ifndef CONSOLE_H
#define CONSOLE_H
-/* Qt */
-#include <qstringlist.h>
-#include <qvbox.h>
-#include <qlayout.h>
+/* TQt */
+#include <tqstringlist.h>
+#include <tqvbox.h>
+#include <tqlayout.h>
/* Local */
#include "definitions.h"
#include "resource.h"
@@ -34,9 +34,10 @@
class KLineEdit;
class KnightsTextView;
-class Console : public QVBox
+class Console : public TQVBox
{
Q_OBJECT
+ TQ_OBJECT
public:
@@ -46,19 +47,19 @@ class Console : public QVBox
Down = 0
};
- Console(QWidget *parent=0, const char *name=0, resource *Rsrc=0);
+ Console(TQWidget *tqparent=0, const char *name=0, resource *Rsrc=0);
~Console();
void buildAccel( void );
public slots:
void recvCMD( const Command& );
- void getText( const QString& );
+ void getText( const TQString& );
void historyBackward( void );
void historyForward( void );
void pageUp( void );
void pageDown( void );
void getFocus( void );
- void getFocus( const QChar& );
+ void getFocus( const TQChar& );
void setBG( void );
void replyPrivate( void );
void replyChannel( void );
@@ -69,7 +70,7 @@ class Console : public QVBox
void sendCMD( const Command& );
private:
- QString insertTags(QString);
+ TQString insertTags(TQString);
resource *myResource;
int margin;
@@ -78,10 +79,10 @@ class Console : public QVBox
KnightsTextView *myTextView;
KLineEdit *myLineEdit;
- QStringList history;
- QStringList::Iterator historyIT;
- QString lastPrivateSource;
- QString lastChannelSource;
+ TQStringList history;
+ TQStringList::Iterator historyIT;
+ TQString lastPrivateSource;
+ TQString lastChannelSource;
};
#endif