From b965cbac5b21345e9dfc768a7e4f660ffa4aa72f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 13 Nov 2023 21:03:36 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro --- kcontrol/hwmanager/hwdevicetray.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kcontrol/hwmanager') 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; -- cgit v1.2.1