summaryrefslogtreecommitdiffstats
path: root/kworldwatch
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 11:05:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-08 18:02:03 +0900
commitebce9b53863b1ccf1cc2f84eb556d50ec28beeaf (patch)
tree085cc3e369c38c74d5200933bb503d3170b58495 /kworldwatch
parenta876313d64876005fc672d1362a2032c2b28dd21 (diff)
downloadtdetoys-ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf.tar.gz
tdetoys-ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kworldwatch')
-rw-r--r--kworldwatch/applet.cpp2
-rw-r--r--kworldwatch/mapwidget.cpp2
-rw-r--r--kworldwatch/zoneclock.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/kworldwatch/applet.cpp b/kworldwatch/applet.cpp
index f358dac..8ce7560 100644
--- a/kworldwatch/applet.cpp
+++ b/kworldwatch/applet.cpp
@@ -115,7 +115,7 @@ void KWWApplet::mousePressEvent(TQMouseEvent *e)
clicked = e->type() == TQMouseEvent::MouseButtonDblClick;
}
- if (clicked && e->button() == Qt::LeftButton)
+ if (clicked && e->button() == TQt::LeftButton)
{
KRun::run("kworldclock", KURL::List());
}
diff --git a/kworldwatch/mapwidget.cpp b/kworldwatch/mapwidget.cpp
index 5acc5ce..ba1bba5 100644
--- a/kworldwatch/mapwidget.cpp
+++ b/kworldwatch/mapwidget.cpp
@@ -410,7 +410,7 @@ void MapWidget::themeSelected(int index)
void MapWidget::mousePressEvent(TQMouseEvent *ev)
{
- if (ev->button() == Qt::RightButton)
+ if (ev->button() == TQt::RightButton)
{
_flagPos = ev->pos();
_popup->exec(ev->globalPos());
diff --git a/kworldwatch/zoneclock.cpp b/kworldwatch/zoneclock.cpp
index a2279c2..7d0ad6b 100644
--- a/kworldwatch/zoneclock.cpp
+++ b/kworldwatch/zoneclock.cpp
@@ -138,7 +138,7 @@ bool ZoneClock::eventFilter(TQObject *obj, TQEvent *ev)
if (ev->type() == TQEvent::MouseButtonPress)
{
TQMouseEvent *e = (TQMouseEvent*)ev;
- if (e->button() == Qt::RightButton)
+ if (e->button() == TQt::RightButton)
_popup->exec(e->globalPos());
}