summaryrefslogtreecommitdiffstats
path: root/kmoon/kmoonwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 21:31:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 21:31:21 +0000
commita1bd60b34891ccc77056c190d7871bc4b14fe654 (patch)
tree713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /kmoon/kmoonwidget.h
parent8d92c3c2a4131996726cc7b625d3cd3caec296de (diff)
downloadtdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz
tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip
TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmoon/kmoonwidget.h')
-rw-r--r--kmoon/kmoonwidget.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/kmoon/kmoonwidget.h b/kmoon/kmoonwidget.h
index 9439784..d1f7367 100644
--- a/kmoon/kmoonwidget.h
+++ b/kmoon/kmoonwidget.h
@@ -28,15 +28,16 @@
#include <ksystemtray.h>
class TQPopupMenu;
-class MoonWidget : public QWidget
+class MoonWidget : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
- MoonWidget(TQWidget *parent = 0, const char *name = 0);
+ MoonWidget(TQWidget *tqparent = 0, const char *name = 0);
~MoonWidget();
- void calcStatus( time_t time );
+ void calctqStatus( time_t time );
int angle() const { return _angle; }
void setAngle(int angle);
@@ -44,14 +45,14 @@ public:
bool northHemi() const { return _north; }
void setNorthHemi(bool b);
- bool mask() const { return _mask; }
+ bool tqmask() const { return _tqmask; }
void setMask(bool b);
protected:
int old_w, old_h;
int counter, old_counter;
int _angle, old_angle;
- int _mask, old_mask;
+ int _tqmask, old_tqmask;
bool old_north, _north;
TQPixmap pixmap;