summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/waInfo.cpp')
-rw-r--r--noatun/modules/winskin/waInfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/noatun/modules/winskin/waInfo.cpp b/noatun/modules/winskin/waInfo.cpp
index 25c088e3..1e55af78 100644
--- a/noatun/modules/winskin/waInfo.cpp
+++ b/noatun/modules/winskin/waInfo.cpp
@@ -25,8 +25,8 @@
WaInfo::WaInfo() : WaWidget(_WA_MAPPING_INFO)
{
- connect(WaSkinModel::instance(), TQT_SIGNAL(skinChanged()),
- this, TQT_SLOT(pixmapChange()));
+ connect(WaSkinModel::instance(), TQ_SIGNAL(skinChanged()),
+ this, TQ_SLOT(pixmapChange()));
completePixmap = new TQPixmap();
@@ -36,7 +36,7 @@ WaInfo::WaInfo() : WaWidget(_WA_MAPPING_INFO)
xGrabbedPos = -1;
timer = new TQTimer(this);
- connect(timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeEvent()));
+ connect(timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeEvent()));
}
WaInfo::~WaInfo()
@@ -132,7 +132,7 @@ void WaInfo::pixmapChange()
completePixmap->resize(TQMAX(n * _WA_TEXT_WIDTH, size.width()), _WA_TEXT_HEIGHT);
for (i = 0; i < n; i++) {
- WaSkinModel::instance()->getText(infoString[i], TQT_TQPAINTDEVICE(completePixmap), x, 0);
+ WaSkinModel::instance()->getText(infoString[i], completePixmap, x, 0);
x += _WA_TEXT_WIDTH;
}
@@ -140,7 +140,7 @@ void WaInfo::pixmapChange()
// fill the pixmap with spaces
if (x < size.width()) {
while (x < size.width()) {
- WaSkinModel::instance()->getText(' ', TQT_TQPAINTDEVICE(completePixmap), x, 0);
+ WaSkinModel::instance()->getText(' ', completePixmap, x, 0);
x += _WA_TEXT_WIDTH;
}
}
@@ -150,7 +150,7 @@ void WaInfo::pixmapChange()
}
void WaInfo::mousePressEvent (TQMouseEvent *e) {
- if (e->button() == Qt::LeftButton)
+ if (e->button() == TQt::LeftButton)
xGrabbedPos = (e->x() + xScrollPos) % completePixmap->width();
}