summaryrefslogtreecommitdiffstats
path: root/kpf/src/BandwidthGraph.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kpf/src/BandwidthGraph.h
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kpf/src/BandwidthGraph.h')
-rw-r--r--kpf/src/BandwidthGraph.h28
1 files changed, 14 insertions, 14 deletions
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 <qwidget.h>
-#include <qmemarray.h>
-#include <qpixmap.h>
-#include <qrect.h>
+#include <tqwidget.h>
+#include <tqmemarray.h>
+#include <tqpixmap.h>
+#include <tqrect.h>
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<ulong> history_;
+ TQMemArray<ulong> history_;
WebServer * server_;
- QPixmap buffer_, bgPix_;
+ TQPixmap buffer_, bgPix_;
ulong max_;
OverlaySelect overlaySelect_;
- QPixmap overlayPixmap_;
+ TQPixmap overlayPixmap_;
};
} // End namespace KPF