summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waWidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 06:00:15 +0000
commitb1057f437bf65300831a0ccb45b920787c6b318d (patch)
treef8a73db06ca1180d0da0ba6dfbe786197b4f4bc3 /noatun/modules/winskin/waWidget.h
parent4ddfca384ced9ad654213aef9dc2c3973720b980 (diff)
downloadtdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.tar.gz
tdemultimedia-b1057f437bf65300831a0ccb45b920787c6b318d.zip
TQt4 port kdemultimedia
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1236079 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'noatun/modules/winskin/waWidget.h')
-rw-r--r--noatun/modules/winskin/waWidget.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/noatun/modules/winskin/waWidget.h b/noatun/modules/winskin/waWidget.h
index 076d0a5c..d1fb1d9c 100644
--- a/noatun/modules/winskin/waWidget.h
+++ b/noatun/modules/winskin/waWidget.h
@@ -6,11 +6,12 @@
class WaWidget : public TQWidget {
Q_OBJECT
+ TQ_OBJECT
public:
WaWidget(int mapping);
virtual ~WaWidget();
- TQSize sizeHint();
+ TQSize tqsizeHint();
void paintPixmap(int wa_mapping);
void paintPixmap(int wa_mapping, int number);
@@ -18,7 +19,7 @@ public:
void paintPixmap(int wa_mapping, int x, int y);
void paintPixmap(int wa_mapping, int number, int x, int y);
- void paintBackground() { WaSkinModel::instance()->paintBackgroundTo(mapping, this, 0, 0); }
+ void paintBackground() { WaSkinModel::instance()->paintBackgroundTo(mapping, TQT_TQPAINTDEVICE(this), 0, 0); }
protected:
void mousePressEvent(TQMouseEvent *);