diff options
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); |