summaryrefslogtreecommitdiffstats
path: root/noatun/modules/winskin/waDigit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'noatun/modules/winskin/waDigit.cpp')
-rw-r--r--noatun/modules/winskin/waDigit.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/noatun/modules/winskin/waDigit.cpp b/noatun/modules/winskin/waDigit.cpp
index 15a3ae46..b81a0da2 100644
--- a/noatun/modules/winskin/waDigit.cpp
+++ b/noatun/modules/winskin/waDigit.cpp
@@ -57,28 +57,28 @@ void WaDigit::paintEvent(TQPaintEvent *)
// continue parsing
mapRect = waSkinModel->getMapGeometry(_WA_MAPPING_MINUS);
if (len == 6) {
- waSkinModel->getDigit('-', this, mapRect.x() - x, mapRect.y() - y);
+ waSkinModel->getDigit('-', TQT_TQPAINTDEVICE(this), mapRect.x() - x, mapRect.y() - y);
time++;
}
else {
- waSkinModel->getDigit(' ', this, mapRect.x() - x, mapRect.y() - y);
+ waSkinModel->getDigit(' ', TQT_TQPAINTDEVICE(this), mapRect.x() - x, mapRect.y() - y);
}
mapRect = waSkinModel->getMapGeometry(_WA_MAPPING_DIGIT_1);
- waSkinModel->getDigit(time[0], this, mapRect.x() - x, mapRect.y() - y);
+ waSkinModel->getDigit(time[0], TQT_TQPAINTDEVICE(this), mapRect.x() - x, mapRect.y() - y);
mapRect = waSkinModel->getMapGeometry(_WA_MAPPING_DIGIT_2);
- waSkinModel->getDigit(time[1], this, mapRect.x() - x, mapRect.y() - y);
+ waSkinModel->getDigit(time[1], TQT_TQPAINTDEVICE(this), mapRect.x() - x, mapRect.y() - y);
mapRect = waSkinModel->getMapGeometry(_WA_MAPPING_DIGIT_3);
- waSkinModel->getDigit(time[3], this, mapRect.x() - x, mapRect.y() - y);
+ waSkinModel->getDigit(time[3], TQT_TQPAINTDEVICE(this), mapRect.x() - x, mapRect.y() - y);
mapRect = waSkinModel->getMapGeometry(_WA_MAPPING_DIGIT_4);
- waSkinModel->getDigit(time[4], this, mapRect.x() - x, mapRect.y() - y);
+ waSkinModel->getDigit(time[4], TQT_TQPAINTDEVICE(this), mapRect.x() - x, mapRect.y() - y);
}
void WaDigit::mousePressEvent(TQMouseEvent* e) {
- if (e->button() == LeftButton) {
+ if (e->button() == Qt::LeftButton) {
reverse_time = !reverse_time;
emit digitsClicked();
}