From 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 22 Jun 2011 00:30:31 +0000 Subject: TQt4 port kdenetwork This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1237912 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksirc/puke/controller.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'ksirc/puke/controller.h') diff --git a/ksirc/puke/controller.h b/ksirc/puke/controller.h index 5daa1629..5d22cef3 100644 --- a/ksirc/puke/controller.h +++ b/ksirc/puke/controller.h @@ -27,7 +27,7 @@ typedef struct { TQString server; bool writeable; TQSocketNotifier *sr,*sw; -} fdStatus; +} fdtqStatus; struct commandStruct { @@ -80,8 +80,9 @@ private: class PukeController : public PObject { Q_OBJECT + TQ_OBJECT public: - PukeController(TQString socket = "", TQObject *parent=0, const char *name=0); + PukeController(TQString socket = "", TQObject *tqparent=0, const char *name=0); virtual ~PukeController(); bool running; @@ -136,7 +137,7 @@ private: int iListenFd; bool bClosing; // Set true if we are closing, we don't try and close twice at the same time. TQSocketNotifier *qsnListen; - TQIntDict qidConnectFd; + TQIntDict qidConnectFd; /** * Controller ID is defined as 1 @@ -168,7 +169,7 @@ private: /** * Create new Widget, returns new iWinId for it. - * Takes server fd and parent winid, and type as arguments + * Takes server fd and tqparent winid, and type as arguments */ widgetId createWidget(widgetId wI, PukeMessage *pm); -- cgit v1.2.1