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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noatun/modules/winskin/waDigit.cpp b/noatun/modules/winskin/waDigit.cpp
index b775d7cf..15a3ae46 100644
--- a/noatun/modules/winskin/waDigit.cpp
+++ b/noatun/modules/winskin/waDigit.cpp
@@ -34,7 +34,7 @@ WaDigit::~WaDigit()
config->writeEntry("timeReversed", reverse_time);
}
-void WaDigit::paintEvent(QPaintEvent *)
+void WaDigit::paintEvent(TQPaintEvent *)
{
paintBackground();
@@ -49,7 +49,7 @@ void WaDigit::paintEvent(QPaintEvent *)
int x = waSkinModel->getMapGeometry(mapping).x();
int y = waSkinModel->getMapGeometry(mapping).y();
- QRect mapRect;
+ TQRect mapRect;
// We expect strings either in the form "xx:yy", or "-xx:yy"
// If the string length is 6, we have it in the form of "-xx:yy"
@@ -77,7 +77,7 @@ void WaDigit::paintEvent(QPaintEvent *)
waSkinModel->getDigit(time[4], this, mapRect.x() - x, mapRect.y() - y);
}
-void WaDigit::mousePressEvent(QMouseEvent* e) {
+void WaDigit::mousePressEvent(TQMouseEvent* e) {
if (e->button() == LeftButton) {
reverse_time = !reverse_time;
emit digitsClicked();