summaryrefslogtreecommitdiffstats
path: root/kicker-applets/ktimemon/timemon.h
diff options
context:
space:
mode:
Diffstat (limited to 'kicker-applets/ktimemon/timemon.h')
-rw-r--r--kicker-applets/ktimemon/timemon.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/kicker-applets/ktimemon/timemon.h b/kicker-applets/ktimemon/timemon.h
index 8f5664c..cf39a35 100644
--- a/kicker-applets/ktimemon/timemon.h
+++ b/kicker-applets/ktimemon/timemon.h
@@ -15,7 +15,7 @@
#ifndef TIMEMON_H
#define TIMEMON_H
-#include <qtooltip.h>
+#include <tqtooltip.h>
#include <kiconloader.h>
#include <kpanelapplet.h>
@@ -44,13 +44,13 @@ class KPopupMenu;
* case it hides itself).
*/
-class KTimeMon : public KPanelApplet, QToolTip {
+class KTimeMon : public KPanelApplet, TQToolTip {
Q_OBJECT
public:
enum MouseAction { NOTHING, SWITCH, MENU, COMMAND };
- KTimeMon(const QString& configFile, Type t = Normal, int actions = 0,
- QWidget *parent = 0, const char *name = 0);
+ KTimeMon(const TQString& configFile, Type t = Normal, int actions = 0,
+ TQWidget *parent = 0, const char *name = 0);
virtual ~KTimeMon();
void writeConfiguration(); // write back the configuration data
@@ -70,10 +70,10 @@ public slots:
void apply(); // apply configuration information
protected:
- virtual void maybeTip(const QPoint&);
- virtual void mousePressEvent(QMouseEvent *event);
+ virtual void maybeTip(const TQPoint&);
+ virtual void mousePressEvent(TQMouseEvent *event);
virtual void updateConfig(KConfDialog *d);
- virtual void paintEvent(QPaintEvent *event);
+ virtual void paintEvent(TQPaintEvent *event);
private slots: // called from the menu
void configure(); // show the configuration dialog
@@ -82,23 +82,23 @@ private slots: // called from the menu
private:
void runCommand(int index);
- void paintRect(int x, int y, int w, int h, QColor c, QPainter *p);
+ void paintRect(int x, int y, int w, int h, TQColor c, TQPainter *p);
unsigned interval;
bool autoScale;
unsigned pageScale, swapScale, ctxScale;
KPopupMenu* menu;
KHelpMenu* hmenu;
- QTimer* timer;
+ TQTimer* timer;
KConfDialog *configDialog;
MouseAction mouseAction[MAX_MOUSE_ACTIONS];
- QString mouseActionCommand[MAX_MOUSE_ACTIONS];
+ TQString mouseActionCommand[MAX_MOUSE_ACTIONS];
KShellProcess *bgProcess;
KSample *sample;
- QColor kernelColour, userColour, niceColour, iowaitColour;
- QColor usedColour, buffersColour, cachedColour, mkernelColour;
- QColor swapColour, bgColour;
+ TQColor kernelColour, userColour, niceColour, iowaitColour;
+ TQColor usedColour, buffersColour, cachedColour, mkernelColour;
+ TQColor swapColour, bgColour;
bool vertical, tooltip;
friend class KConfDialog;