diff options
Diffstat (limited to 'ksirc/puke/controller.h')
-rw-r--r-- | ksirc/puke/controller.h | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/ksirc/puke/controller.h b/ksirc/puke/controller.h index 80728224..5daa1629 100644 --- a/ksirc/puke/controller.h +++ b/ksirc/puke/controller.h @@ -8,12 +8,12 @@ #ifndef PUKE_CONTROLLER_H #define PUKE_CONTROLLER_H -#include <qobject.h> -#include <qsocketnotifier.h> -#include <qstring.h> -#include <qdict.h> -#include <qintdict.h> -#include <qstrlist.h> +#include <tqobject.h> +#include <tqsocketnotifier.h> +#include <tqstring.h> +#include <tqdict.h> +#include <tqintdict.h> +#include <tqstrlist.h> #include "pmessage.h" #include "pobject.h" @@ -24,9 +24,9 @@ class PukeController; class KLibrary; typedef struct { - QString server; + TQString server; bool writeable; - QSocketNotifier *sr,*sw; + TQSocketNotifier *sr,*sw; } fdStatus; @@ -81,7 +81,7 @@ class PukeController : public PObject { Q_OBJECT public: - PukeController(QString socket = "", QObject *parent=0, const char *name=0); + PukeController(TQString socket = "", TQObject *parent=0, const char *name=0); virtual ~PukeController(); bool running; @@ -102,20 +102,20 @@ public: */ PWidget *id2pwidget(widgetId *pwi); - QStrList allObjects(); + TQStrList allObjects(); signals: - void PukeMessages(QString server, int command, QString args); - void inserted(QObject *); + void PukeMessages(TQString server, int command, TQString args); + void inserted(TQObject *); public slots: - void ServMessage(QString, int, QString); + void ServMessage(TQString, int, TQString); protected slots: void Traffic(int); void Writeable(int); void NewConnect(int); - void slotInserted(QObject *obj); + void slotInserted(TQObject *obj); /** * When we delete a widget, this removes it from our internal @@ -132,11 +132,11 @@ protected slots: private: - QString qsPukeSocket; + TQString qsPukeSocket; int iListenFd; bool bClosing; // Set true if we are closing, we don't try and close twice at the same time. - QSocketNotifier *qsnListen; - QIntDict<fdStatus> qidConnectFd; + TQSocketNotifier *qsnListen; + TQIntDict<fdStatus> qidConnectFd; /** * Controller ID is defined as 1 @@ -145,15 +145,15 @@ private: // List of widgets and the fle descriptors they belong too - QIntDict<QIntDict<WidgetS> > WidgetList; + TQIntDict<TQIntDict<WidgetS> > WidgetList; // I use a char * key that's the %p (hex address) of the pwidget - QDict<widgetId> revWidgetList; + TQDict<widgetId> revWidgetList; enum { keySize = 10 }; // Funtions used to create new widget - QIntDict<widgetCreate> widgetCF; // widgetCreatingFuntion List + TQIntDict<widgetCreate> widgetCF; // widgetCreatingFuntion List - QIntDict<commandStruct> qidCommandTable; + TQIntDict<commandStruct> qidCommandTable; void initHdlr(); @@ -181,11 +181,11 @@ private: /** * NOT APPLICAABLE */ - void setWidget(QObject *) { } + void setWidget(TQObject *) { } /** * NOT APPLICAABLE */ - virtual QObject *widget() { return 0x0; } + virtual TQObject *widget() { return 0x0; } /** * Inserts a PObject into our internal list |