diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-13 20:33:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-15 23:47:11 +0900 |
commit | 303b6445011a6ed10c48ac6e1eda415e5c371264 (patch) | |
tree | aded2a8ee5046176d3295bbf1f90f5dd73746677 /tdeui/ksystemtray.cpp | |
parent | 141ced0c41af8726eedac425ea24cd162bcff862 (diff) | |
download | tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.tar.gz tdelibs-303b6445011a6ed10c48ac6e1eda415e5c371264.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c8ece3630d4d21acaf1749fc2cf660a0463070c3)
Diffstat (limited to 'tdeui/ksystemtray.cpp')
-rw-r--r-- | tdeui/ksystemtray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tdeui/ksystemtray.cpp b/tdeui/ksystemtray.cpp index b5baf87dd..3dd9fbaf7 100644 --- a/tdeui/ksystemtray.cpp +++ b/tdeui/ksystemtray.cpp @@ -96,7 +96,7 @@ KSystemTray::KSystemTray( TQWidget* parent, const char* name ) d->on_all_desktops = false; } setCaption( TDEGlobal::instance()->aboutData()->programName()); - setAlignment( alignment() | Qt::AlignVCenter | Qt::AlignHCenter ); + setAlignment( alignment() | TQt::AlignVCenter | TQt::AlignHCenter ); // Handle the possibility that the requested system tray size is something other than 22x22 pixels, per the Free Desktop specifications setScaledContents(true); @@ -148,12 +148,12 @@ void KSystemTray::mousePressEvent( TQMouseEvent *e ) return; switch ( e->button() ) { - case Qt::LeftButton: + case TQt::LeftButton: toggleActive(); break; - case Qt::MidButton: + case TQt::MidButton: // fall through - case Qt::RightButton: + case TQt::RightButton: if ( parentWidget() ) { TDEAction* action = d->actionCollection->action("minimizeRestore"); if ( parentWidget()->isVisible() ) |