From c0332621bc998c9786f4841e86a62b7711fe4abf Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 Jan 2024 10:30:32 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kexi/tests/altertable/altertable.cpp | 6 +++--- kexi/tests/widgets/kexidbdrivercombotest.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kexi/tests') diff --git a/kexi/tests/altertable/altertable.cpp b/kexi/tests/altertable/altertable.cpp index 39e8e684..8aea3dd9 100644 --- a/kexi/tests/altertable/altertable.cpp +++ b/kexi/tests/altertable/altertable.cpp @@ -220,8 +220,8 @@ AlterTableTester::AlterTableTester() TQPtrList list = m_copyOperator.copy( "file://" + TQDir::current().path() + "/" + origDbFilename, "file://" + TQDir::current().path() + "/" + dbFilename, false, false ); - connect(&m_copyOperator, TQT_SIGNAL(finished(TQNetworkOperation*)), - this, TQT_SLOT(slotFinishedCopying(TQNetworkOperation*))); + connect(&m_copyOperator, TQ_SIGNAL(finished(TQNetworkOperation*)), + this, TQ_SLOT(slotFinishedCopying(TQNetworkOperation*))); } AlterTableTester::~AlterTableTester() @@ -698,7 +698,7 @@ int main(int argc, char *argv[]) win = KexiMainWindowImpl::self(); AlterTableTester tester; - //TQObject::connect(win, TQT_SIGNAL(projectOpened()), &tester, TQT_SLOT(run())); + //TQObject::connect(win, TQ_SIGNAL(projectOpened()), &tester, TQ_SLOT(run())); bool closeAppRequested; res = tester.run(closeAppRequested); diff --git a/kexi/tests/widgets/kexidbdrivercombotest.cpp b/kexi/tests/widgets/kexidbdrivercombotest.cpp index 88de40e8..86e12732 100644 --- a/kexi/tests/widgets/kexidbdrivercombotest.cpp +++ b/kexi/tests/widgets/kexidbdrivercombotest.cpp @@ -67,7 +67,7 @@ int main(int argc, char** argv) vbLayout->addWidget(quit); // Show the whole lot - TQObject::connect(quit, TQT_SIGNAL(clicked()), app, TQT_SLOT(quit())); + TQObject::connect(quit, TQ_SIGNAL(clicked()), app, TQ_SLOT(quit())); vbox->show(); app->exec(); -- cgit v1.2.1