diff options
author | Michele Calgaro <[email protected]> | 2023-11-13 21:03:36 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-14 12:59:42 +0900 |
commit | a49b0e2c531c81e420dc103b5130e2fa8643f46d (patch) | |
tree | 42ee6213b300c2366208f6c122bee39845b5a89c /kcontrol/hwmanager | |
parent | 36eda89f538b610db9dbda129d7c8e81089caf1a (diff) | |
download | tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'kcontrol/hwmanager')
-rw-r--r-- | kcontrol/hwmanager/hwdevicetray.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kcontrol/hwmanager/hwdevicetray.cpp b/kcontrol/hwmanager/hwdevicetray.cpp index 405b562b6..8aade89ca 100644 --- a/kcontrol/hwmanager/hwdevicetray.cpp +++ b/kcontrol/hwmanager/hwdevicetray.cpp @@ -154,7 +154,7 @@ HwDeviceSystemTray::HwDeviceSystemTray(TQWidget *parent, const char *name) initMenus(); setPixmap(KSystemTray::loadIcon("hwinfo")); - setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); + setAlignment(TQt::AlignHCenter | TQt::AlignVCenter); connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(quitApp())); TQToolTip::add(this, i18n("Device monitor")); @@ -225,16 +225,16 @@ void HwDeviceSystemTray::mousePressEvent(TQMouseEvent* e) { switch (e->button()) { - case Qt::LeftButton: + case TQt::LeftButton: populateLMBMenu(); d->m_LMBMenu->popup(e->globalPos()); break; - case Qt::MidButton: + case TQt::MidButton: TQTimer::singleShot(0, this, TQT_SLOT(slotHardwareConfig())); break; - case Qt::RightButton: + case TQt::RightButton: contextMenuAboutToShow(d->m_RMBMenu); d->m_RMBMenu->popup(e->globalPos()); break; |