summaryrefslogtreecommitdiffstats
path: root/knetload/statdock.h
diff options
context:
space:
mode:
Diffstat (limited to 'knetload/statdock.h')
-rw-r--r--knetload/statdock.h37
1 files changed, 19 insertions, 18 deletions
diff --git a/knetload/statdock.h b/knetload/statdock.h
index c3e715a..013de98 100644
--- a/knetload/statdock.h
+++ b/knetload/statdock.h
@@ -14,7 +14,7 @@
#ifndef __STATDOCK_H
#define __STATDOCK_H
-#include <qcolor.h>
+#include <tqcolor.h>
#include <ksystemtray.h>
class StatPopup;
@@ -29,11 +29,12 @@ class StatPopup;
* with the upper readings shown above the lower readings. When diagram
* splitting is switched off, only the upper readings will be displayed.
*
- * The parent window of a StatDock must be a StatPopup, which provides
+ * The tqparent window of a StatDock must be a StatPopup, which provides
* all of the actions in this window's context menu.
*/
class StatDock : public KSystemTray {
Q_OBJECT
+ TQ_OBJECT
public:
/**
@@ -46,26 +47,26 @@ public:
/**
* Colour constants.
*/
- static const QColor colorGrid;
- static const QColor colorGridInactive;
- static const QColor colorLabel;
- static const QColor colorLabelInactive;
- static const QColor colorLower;
- static const QColor colorLowerInactive;
- static const QColor colorBlack;
+ static const TQColor colorGrid;
+ static const TQColor colorGridInactive;
+ static const TQColor colorLabel;
+ static const TQColor colorLabelInactive;
+ static const TQColor colorLower;
+ static const TQColor colorLowerInactive;
+ static const TQColor colorBlack;
public:
/**
* Constructor and destructor.
*
- * Note that the constructor will call parent->initDock().
+ * Note that the constructor will call tqparent->initDock().
*
* Parameter whichDock must be 0 or 1 to specify whether this dock
- * will become dock[0] or dock[1] in the given StatPopup parent.
+ * will become dock[0] or dock[1] in the given StatPopup tqparent.
* Parameter useLabel should contain the label that will be drawn on
* the diagram if labelling is enabled.
*/
- StatDock(int whichDock, const char* useLabel, StatPopup *parent,
+ StatDock(int whichDock, const char* useLabel, StatPopup *tqparent,
const char *name = 0);
~StatDock();
@@ -79,7 +80,7 @@ public:
void setLabelled(bool);
void setLabel(const char*);
void setFill(int);
- void setColor(const QColor&);
+ void setColor(const TQColor&);
public slots:
/**
@@ -108,7 +109,7 @@ private:
/**
* Repaint this system tray window with a fresh diagram.
*/
- void paintEvent(QPaintEvent*);
+ void paintEvent(TQPaintEvent*);
private:
/**
@@ -125,13 +126,13 @@ private:
/**< Are we displaying both upper and lower readings? */
bool labelled;
/**< Should this diagram be labelled? */
- QString label;
+ TQString label;
/**< The specific label to draw on this diagram. */
int fill;
/**< Specifies which of the predefined fill styles to use. */
- QColor colorUpper;
+ TQColor colorUpper;
/**< Colour for displaying the upper readings. */
- QColor colorUpperInactive;
+ TQColor colorUpperInactive;
/**< Colour for displaying the upper readings whilst the diagram
is inactive. */
@@ -157,7 +158,7 @@ private:
/**< Temporary variables used during computations. */
protected:
- void resizeEvent ( QResizeEvent * );
+ void resizeEvent ( TQResizeEvent * );
};
#endif