diff options
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(); } } |