diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-22 00:30:31 +0000 |
commit | 69cac65817d949cda2672ec4f0aa73d5e66a0ba1 (patch) | |
tree | 073fde0496ea90eb5bf5cffe66a8da43a9f55fbc /kpf/src/ActiveMonitorItem.cpp | |
parent | 3467e6464beac3a162839bf7078e22e3a74d73e7 (diff) | |
download | tdenetwork-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 'kpf/src/ActiveMonitorItem.cpp')
-rw-r--r-- | kpf/src/ActiveMonitorItem.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kpf/src/ActiveMonitorItem.cpp b/kpf/src/ActiveMonitorItem.cpp index 6721080e..367ff768 100644 --- a/kpf/src/ActiveMonitorItem.cpp +++ b/kpf/src/ActiveMonitorItem.cpp @@ -31,8 +31,8 @@ namespace KPF { - ActiveMonitorItem::ActiveMonitorItem(Server * server, TQListView * parent) - : TQListViewItem (parent), + ActiveMonitorItem::ActiveMonitorItem(Server * server, TQListView * tqparent) + : TQListViewItem (tqparent), server_ (server), size_ (0), sent_ (0) @@ -93,7 +93,7 @@ namespace KPF { switch (c) { - case Status: + case tqStatus: return 16; break; @@ -115,19 +115,19 @@ namespace KPF switch (server_->state()) { case Server::WaitingForRequest: - setPixmap(Status, SmallIcon("connect_creating")); + setPixmap(tqStatus, SmallIcon("connect_creating")); break; case Server::WaitingForHeaders: - setPixmap(Status, SmallIcon("connect_creating")); + setPixmap(tqStatus, SmallIcon("connect_creating")); break; case Server::Responding: - setPixmap(Status, SmallIcon("connect_established")); + setPixmap(tqStatus, SmallIcon("connect_established")); break; case Server::Finished: - setPixmap(Status, SmallIcon("connect_no")); + setPixmap(tqStatus, SmallIcon("connect_no")); break; } } @@ -139,7 +139,7 @@ namespace KPF return server_; } - QDateTime + TQDateTime ActiveMonitorItem::death() const { return death_; @@ -178,7 +178,7 @@ namespace KPF sent_ += l; setText(Sent, TQString::number(sent_)); updateState(); - repaint(); + tqrepaint(); } } |