summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 15:38:30 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-05 22:38:17 +0900
commit04965313f1dfdb5028429e491fe05c1fa5d44e2f (patch)
tree746ab011e759ae82240adc96c90ce78c1b747894
parent3db5915dc69a76a86a22f9e700fa5bdd9c8a2717 (diff)
downloadtdepowersave-04965313f1dfdb5028429e491fe05c1fa5d44e2f.tar.gz
tdepowersave-04965313f1dfdb5028429e491fe05c1fa5d44e2f.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9a4d4259ab0864c4f6bb0ae63832f6c464a9dd50)
-rw-r--r--src/tdepowersave.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tdepowersave.cpp b/src/tdepowersave.cpp
index 931944b..3bfdb5d 100644
--- a/src/tdepowersave.cpp
+++ b/src/tdepowersave.cpp
@@ -296,7 +296,7 @@ void tdepowersave::showConfigureDialog() {
i18n("Warning").utf8(), 15000);
}
} else {
- configDlg->setWindowState((configDlg->windowState() & ~Qt::WindowMinimized) | Qt::WindowActive);
+ configDlg->setWindowState((configDlg->windowState() & ~TQt::WindowMinimized) | TQt::WindowActive);
configDlg->setActiveWindow();
}
@@ -1765,7 +1765,7 @@ void tdepowersave::wheelEvent (TQWheelEvent *qwe)
if (!hwinfo->supportBrightness() && settings->brightness)
return;
- if (qwe->orientation () == Qt::Vertical) {
+ if (qwe->orientation () == TQt::Vertical) {
if (qwe->delta() > 0) {
do_brightnessUp(5);
} else {
@@ -1787,10 +1787,10 @@ void tdepowersave::mousePressEvent(TQMouseEvent *qme){
KSystemTray::mousePressEvent(qme);
if (hwinfo->isOnline()) {
- if (qme->button() == Qt::RightButton){
+ if (qme->button() == TQt::RightButton){
// TODO check if maybe some rechecks needed
this->contextMenu()->exec(TQCursor::pos());
- } else if (qme->button() == Qt::LeftButton) {
+ } else if (qme->button() == TQt::LeftButton) {
showDetailedDialog();
}
}