summaryrefslogtreecommitdiffstats
path: root/kmoon/kmoonwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /kmoon/kmoonwidget.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmoon/kmoonwidget.h')
-rw-r--r--kmoon/kmoonwidget.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmoon/kmoonwidget.h b/kmoon/kmoonwidget.h
index 474349a..0ded638 100644
--- a/kmoon/kmoonwidget.h
+++ b/kmoon/kmoonwidget.h
@@ -21,8 +21,8 @@
#ifndef KMOON
#define KMOON
-#include <qwidget.h>
-#include <qimage.h>
+#include <tqwidget.h>
+#include <tqimage.h>
#include <sys/types.h>
#include <time.h>
#include <ksystemtray.h>
@@ -33,7 +33,7 @@ class MoonWidget : public QWidget
Q_OBJECT
public:
- MoonWidget(QWidget *parent = 0, const char *name = 0);
+ MoonWidget(TQWidget *parent = 0, const char *name = 0);
~MoonWidget();
void calcStatus( time_t time );
@@ -54,14 +54,14 @@ protected:
int _mask, old_mask;
bool old_north, _north;
- QPixmap pixmap;
- QString tooltip;
+ TQPixmap pixmap;
+ TQString tooltip;
- void paintEvent( QPaintEvent *e);
- void resizeEvent( QResizeEvent *e);
+ void paintEvent( TQPaintEvent *e);
+ void resizeEvent( TQResizeEvent *e);
private:
- QImage loadMoon(int index);
+ TQImage loadMoon(int index);
void renderGraphic();
};