summaryrefslogtreecommitdiffstats
path: root/kmoon
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 /kmoon
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 'kmoon')
-rw-r--r--kmoon/kmoonapplet.cpp4
-rw-r--r--kmoon/kmoondlg.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kmoon/kmoonapplet.cpp b/kmoon/kmoonapplet.cpp
index 706a550..e4f5509 100644
--- a/kmoon/kmoonapplet.cpp
+++ b/kmoon/kmoonapplet.cpp
@@ -134,11 +134,11 @@ void MoonPAWidget::mousePressEvent( TQMouseEvent *e)
if (!popup)
return;
- if (e->button() == Qt::RightButton) {
+ if (e->button() == TQt::RightButton) {
popup->popup(mapToGlobal(e->pos()));
popup->exec();
}
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
showAbout();
}
}
diff --git a/kmoon/kmoondlg.cpp b/kmoon/kmoondlg.cpp
index 5473a30..db4b9b3 100644
--- a/kmoon/kmoondlg.cpp
+++ b/kmoon/kmoondlg.cpp
@@ -54,7 +54,7 @@ KMoonDlg::KMoonDlg(int a, bool n, bool m, TQWidget *parent, const char *name)
"at this angle.");
TQWhatsThis::add(label, text);
- slider = new TQSlider( -90, 90, 2, angle, Qt::Horizontal, hbox1, "slider" );
+ slider = new TQSlider( -90, 90, 2, angle, TQt::Horizontal, hbox1, "slider" );
slider->setTickmarks(TQSlider::Above);
slider->setTickInterval(45);
slider->setEnabled(TQPixmap::defaultDepth() > 8);