summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waWidget.h
diff options
context:
space:
mode:
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 *);