From 47c8a359c5276062c4bc17f0e82410f29081b502 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:48:06 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kpf/src/BandwidthGraph.h | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) (limited to 'kpf/src/BandwidthGraph.h') diff --git a/kpf/src/BandwidthGraph.h b/kpf/src/BandwidthGraph.h index e0cf51dd..3540ca5b 100644 --- a/kpf/src/BandwidthGraph.h +++ b/kpf/src/BandwidthGraph.h @@ -24,10 +24,10 @@ #ifndef KPF_BANDWIDTH_GRAPH_H #define KPF_BANDWIDTH_GRAPH_H -#include -#include -#include -#include +#include +#include +#include +#include class QPainter; @@ -61,7 +61,7 @@ namespace KPF ( WebServer * server, OverlaySelect overlaySelect, - QWidget * parent = 0, + TQWidget * parent = 0, const char * name = 0 ); @@ -75,12 +75,12 @@ namespace KPF /** * Overridden to provide reasonable default size and shape. */ - virtual QSize sizeHint() const; + virtual TQSize sizeHint() const; /** * Overridden to provide reasonable minimum size and shape. */ - virtual QSize minimumSizeHint() const; + virtual TQSize minimumSizeHint() const; /** * @return the WebServer object given on construction. @@ -111,22 +111,22 @@ namespace KPF /** * Overridden to provide graph drawing. */ - virtual void paintEvent(QPaintEvent *); + virtual void paintEvent(TQPaintEvent *); /** * Overridden to assist graph drawing. */ - virtual void resizeEvent(QResizeEvent *); + virtual void resizeEvent(TQResizeEvent *); /** * Draw overlay icons to reflect status of associated WebServer. */ - virtual void drawOverlays(QPainter &); + virtual void drawOverlays(TQPainter &); /** * Provides a rectangle in which to draw the graph itself. */ - virtual QRect contentsRect() const; + virtual TQRect contentsRect() const; /** * Called when the status of the associated WebServer changes. @@ -144,17 +144,17 @@ namespace KPF void updateContents(); - QMemArray history_; + TQMemArray history_; WebServer * server_; - QPixmap buffer_, bgPix_; + TQPixmap buffer_, bgPix_; ulong max_; OverlaySelect overlaySelect_; - QPixmap overlayPixmap_; + TQPixmap overlayPixmap_; }; } // End namespace KPF -- cgit v1.2.1