summaryrefslogtreecommitdiffstats
path: root/kworldwatch
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-08 11:05:29 +0900
committerMichele Calgaro <[email protected]>2023-11-08 18:19:31 +0900
commit8f9e8c882373f01e38599281c1c4e0d667b1f2f2 (patch)
tree648b0c69b1a4fb37277df76134b6f27287de8a05 /kworldwatch
parent76679027e6f0d3eb77f5f5dc3dd9378e01c1bf94 (diff)
downloadtdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.tar.gz
tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf)
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());
}