summaryrefslogtreecommitdiffstats
path: root/kpf/src/BandwidthGraph.h
diff options
context:
space:
mode:
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