From f6469496cb105110a8b43bb0a78bf5807ee79e57 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 5 Nov 2023 15:22:54 +0900 Subject: [PATCH] Replace Qt with TQt Signed-off-by: Michele Calgaro --- katapult/katapult/katapult.cpp | 2 +- katapult/katapult/settings.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/katapult/katapult/katapult.cpp b/katapult/katapult/katapult.cpp index 7c4a43b..7934eeb 100644 --- a/katapult/katapult/katapult.cpp +++ b/katapult/katapult/katapult.cpp @@ -353,7 +353,7 @@ void Katapult::keyReleased(TQKeyEvent *e) void Katapult::mousePressEvent(TQMouseEvent *e) { - if(e->button() == Qt::LeftButton) + if(e->button() == TQt::LeftButton) showLauncher(); else KSystemTray::mousePressEvent(e); diff --git a/katapult/katapult/settings.cpp b/katapult/katapult/settings.cpp index 002aee6..b70ab45 100644 --- a/katapult/katapult/settings.cpp +++ b/katapult/katapult/settings.cpp @@ -54,8 +54,8 @@ MyDialog1::MyDialog1( TQWidget* parent, const char* name, bool modal, WFlags fl buttonHelp = new TQPushButton( this, "buttonHelp" ); buttonHelp->setAutoDefault( TRUE ); Layout1->addWidget( buttonHelp ); - Qt::Horizontal_Spacing2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); - Layout1->addItem(Qt::Horizontal_Spacing2 ); + TQt::Horizontal_Spacing2 = new TQSpacerItem( 20, 20, TQSizePolicy::Expanding, TQSizePolicy::Minimum ); + Layout1->addItem(TQt::Horizontal_Spacing2 ); buttonOk = new TQPushButton( this, "buttonOk" ); buttonOk->setAutoDefault( TRUE );