summaryrefslogtreecommitdiffstats
path: root/ksirc/dockservercontroller.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 00:30:31 +0000
commit69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch)
tree073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /ksirc/dockservercontroller.h
parent3467e6464beac3a162839bf7078e22e3a74d73e7 (diff)
downloadtdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.tar.gz
tdenetwork-69cac65817d949cda2672ec4f0aa73d5e66a0ba1.zip
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
Diffstat (limited to 'ksirc/dockservercontroller.h')
-rw-r--r--ksirc/dockservercontroller.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/ksirc/dockservercontroller.h b/ksirc/dockservercontroller.h
index 97d0befd..4083c044 100644
--- a/ksirc/dockservercontroller.h
+++ b/ksirc/dockservercontroller.h
@@ -36,7 +36,7 @@ public:
void setOffline() { m_status = isOffline; m_offline = TQTime::currentTime(); }
const TQTime offline() { return m_offline; }
- void setStatus(enum status stat) { m_status = stat; }
+ void settqStatus(enum status stat) { m_status = stat; }
enum status status() { return m_status; }
private:
@@ -51,12 +51,13 @@ private:
class dockServerController : public KSystemTray
{
Q_OBJECT
+ TQ_OBJECT
public:
- dockServerController(servercontroller *_sc, TQWidget *parent = 0x0, const char *_name = 0x0);
+ dockServerController(servercontroller *_sc, TQWidget *tqparent = 0x0, const char *_name = 0x0);
~dockServerController();
- void startBlink(const TQString& reason = TQString::null, const TQString& text = TQString::null);
- void stopBlink(const TQString& reason = TQString::null, bool clear = false);
+ void startBlink(const TQString& reason = TQString(), const TQString& text = TQString());
+ void stopBlink(const TQString& reason = TQString(), bool clear = false);
void nickOnline(TQString server, TQString nick);
void nickOffline(TQString server, TQString nick);
@@ -99,7 +100,7 @@ private:
bool m_mainPopVisible;
bool m_blinkActive;
- bool m_blinkStatus; // true: blue icon, false: normal icon
+ bool m_blinktqStatus; // true: blue icon, false: normal icon
TQTimer* m_blinkTimer;
TQStringList m_blink_reason;