diff options
Diffstat (limited to 'kpf/src/ActiveMonitorItem.cpp')
-rw-r--r-- | kpf/src/ActiveMonitorItem.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kpf/src/ActiveMonitorItem.cpp b/kpf/src/ActiveMonitorItem.cpp index 1cc8fdcb..6721080e 100644 --- a/kpf/src/ActiveMonitorItem.cpp +++ b/kpf/src/ActiveMonitorItem.cpp @@ -21,7 +21,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include <qpainter.h> +#include <tqpainter.h> #include <kiconloader.h> #include "Defines.h" @@ -31,8 +31,8 @@ namespace KPF { - ActiveMonitorItem::ActiveMonitorItem(Server * server, QListView * parent) - : QListViewItem (parent), + ActiveMonitorItem::ActiveMonitorItem(Server * server, TQListView * parent) + : TQListViewItem (parent), server_ (server), size_ (0), sent_ (0) @@ -54,8 +54,8 @@ namespace KPF void ActiveMonitorItem::paintCell ( - QPainter * p, - const QColorGroup & g, + TQPainter * p, + const TQColorGroup & g, int c, int w, int a @@ -63,7 +63,7 @@ namespace KPF { if (c != Progress) { - QListViewItem::paintCell(p, g, c, w, a); + TQListViewItem::paintCell(p, g, c, w, a); return; } @@ -86,8 +86,8 @@ namespace KPF int ActiveMonitorItem::width ( - const QFontMetrics & fm, - const QListView * lv, + const TQFontMetrics & fm, + const TQListView * lv, int c ) const { @@ -102,7 +102,7 @@ namespace KPF break; default: - return QListViewItem::width(fm, lv, c); + return TQListViewItem::width(fm, lv, c); break; } } @@ -164,7 +164,7 @@ namespace KPF size_ = server_->response().size(); - setText(Size, QString::number(size_)); + setText(Size, TQString::number(size_)); updateState(); } @@ -176,7 +176,7 @@ namespace KPF if (0 != server_) { sent_ += l; - setText(Sent, QString::number(sent_)); + setText(Sent, TQString::number(sent_)); updateState(); repaint(); } |