diff options
Diffstat (limited to 'noatun/modules/winskin/waWidget.cpp')
-rw-r--r-- | noatun/modules/winskin/waWidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/noatun/modules/winskin/waWidget.cpp b/noatun/modules/winskin/waWidget.cpp index ffe2d3b4..a93537b9 100644 --- a/noatun/modules/winskin/waWidget.cpp +++ b/noatun/modules/winskin/waWidget.cpp @@ -3,10 +3,10 @@ #include "noatun/stdaction.h" #include "waSkin.h" -WaWidget::WaWidget(int _mapping) : QWidget(WaSkin::instance()) { +WaWidget::WaWidget(int _mapping) : TQWidget(WaSkin::instance()) { mapping = _mapping; setBackgroundMode(NoBackground); - connect (WaSkinModel::instance(), SIGNAL(skinChanged()), this, SLOT(skinChanged())); + connect (WaSkinModel::instance(), TQT_SIGNAL(skinChanged()), this, TQT_SLOT(skinChanged())); } WaWidget::~WaWidget() { @@ -41,11 +41,11 @@ void WaWidget::paintPixmap(int pixmap_mapping, int argument, int x, int y) { WaSkinModel::instance()->paintBackgroundTo(mapping, this, x, y); } -QSize WaWidget::sizeHint() { +TQSize WaWidget::sizeHint() { return WaSkinModel::instance()->getMapGeometry(mapping).size(); } -void WaWidget::mousePressEvent(QMouseEvent *e) { +void WaWidget::mousePressEvent(TQMouseEvent *e) { if (e->button() == RightButton) NoatunStdAction::ContextMenu::showContextMenu(); } |