diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:29 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 18:19:31 +0900 |
commit | 8f9e8c882373f01e38599281c1c4e0d667b1f2f2 (patch) | |
tree | 648b0c69b1a4fb37277df76134b6f27287de8a05 /kmoon | |
parent | 76679027e6f0d3eb77f5f5dc3dd9378e01c1bf94 (diff) | |
download | tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.tar.gz tdetoys-8f9e8c882373f01e38599281c1c4e0d667b1f2f2.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit ebce9b53863b1ccf1cc2f84eb556d50ec28beeaf)
Diffstat (limited to 'kmoon')
-rw-r--r-- | kmoon/kmoonapplet.cpp | 4 | ||||
-rw-r--r-- | kmoon/kmoondlg.cpp | 2 |
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); |