diff options
author | Michele Calgaro <[email protected]> | 2023-11-09 10:37:12 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-09 10:56:59 +0900 |
commit | 98876ba8c52c0fc2f38c258476bc9637f055d576 (patch) | |
tree | c603affd2b47d424507127e5bff9231bb06fc020 /kalarm/traywindow.cpp | |
parent | f46438dda23948d5a4732428a1df913b3246fed8 (diff) | |
download | tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.tar.gz tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kalarm/traywindow.cpp')
-rw-r--r-- | kalarm/traywindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kalarm/traywindow.cpp b/kalarm/traywindow.cpp index 93afa2e52..9e06c44c8 100644 --- a/kalarm/traywindow.cpp +++ b/kalarm/traywindow.cpp @@ -173,12 +173,12 @@ void TrayWindow::setEnabledStatus(bool status) */ void TrayWindow::mousePressEvent(TQMouseEvent* e) { - if (e->button() == Qt::LeftButton && !theApp()->wantRunInSystemTray()) + if (e->button() == TQt::LeftButton && !theApp()->wantRunInSystemTray()) { // Left click: display/hide the first main window mAssocMainWindow = MainWindow::toggleWindow(mAssocMainWindow); } - else if (e->button() == Qt::MidButton) + else if (e->button() == TQt::MidButton) MainWindow::executeNew(); // display a New Alarm dialog else KSystemTray::mousePressEvent(e); @@ -191,7 +191,7 @@ void TrayWindow::mousePressEvent(TQMouseEvent* e) */ void TrayWindow::mouseReleaseEvent(TQMouseEvent* e) { - if (e->button() == Qt::LeftButton && mAssocMainWindow && mAssocMainWindow->isVisible()) + if (e->button() == TQt::LeftButton && mAssocMainWindow && mAssocMainWindow->isVisible()) { mAssocMainWindow->raise(); mAssocMainWindow->setActiveWindow(); |