summaryrefslogtreecommitdiffstats
path: root/kcontrol/randr/tderandrtray.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-13 21:03:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-11-14 12:59:42 +0900
commita49b0e2c531c81e420dc103b5130e2fa8643f46d (patch)
tree42ee6213b300c2366208f6c122bee39845b5a89c /kcontrol/randr/tderandrtray.cpp
parent36eda89f538b610db9dbda129d7c8e81089caf1a (diff)
downloadtdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.tar.gz
tdebase-a49b0e2c531c81e420dc103b5130e2fa8643f46d.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b965cbac5b21345e9dfc768a7e4f660ffa4aa72f)
Diffstat (limited to 'kcontrol/randr/tderandrtray.cpp')
-rw-r--r--kcontrol/randr/tderandrtray.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kcontrol/randr/tderandrtray.cpp b/kcontrol/randr/tderandrtray.cpp
index 647f0eca7..6a65662a7 100644
--- a/kcontrol/randr/tderandrtray.cpp
+++ b/kcontrol/randr/tderandrtray.cpp
@@ -61,7 +61,7 @@ KRandRSystemTray::KRandRSystemTray(TQWidget* parent, const char *name)
TDEPopupMenu *help = m_help->menu();
help->connectItem(KHelpMenu::menuHelpContents, this, TQT_SLOT(slotHelpContents()));
setPixmap(KSystemTray::loadIcon("randr"));
- setAlignment(Qt::AlignHCenter | Qt::AlignVCenter);
+ setAlignment(TQt::AlignHCenter | TQt::AlignVCenter);
connect(this, TQT_SIGNAL(quitSelected()), this, TQT_SLOT(_quit()));
TQToolTip::add(this, i18n("Screen resize & rotate"));
my_parent = parent;
@@ -147,7 +147,7 @@ void KRandRSystemTray::showEvent ( TQShowEvent * )
void KRandRSystemTray::mousePressEvent(TQMouseEvent* e)
{
// Popup the context menu with left-click
- if (e->button() == Qt::LeftButton) {
+ if (e->button() == TQt::LeftButton) {
contextMenuAboutToShow(contextMenu());
contextMenu()->popup(e->globalPos());
e->accept();