summaryrefslogtreecommitdiffstats
path: root/kicker-applets/ktimemon/timemon.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:22:56 +0000
commit7346aee26bf190a7e70333c40fab4caca847cd27 (patch)
tree4b019b434f88dcc3eeaafe1d3f26240b4c4718e8 /kicker-applets/ktimemon/timemon.h
parent23a3d3aa5b44cbdf305495919866d9dbf4f6da54 (diff)
downloadtdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.tar.gz
tdeaddons-7346aee26bf190a7e70333c40fab4caca847cd27.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaddons@1157634 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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;