From 1c65be77cd84b454f3fe69f211849a712ad99ed0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jan 2024 10:51:50 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro (cherry picked from commit a4241b7911d2e0b36edfb02f616b8b282050c0ec) --- doc/khelpcenter/license/TDELicenseDlg.cpp | 2 +- doc/khelpcenter/license/mainWindow.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/khelpcenter/license') diff --git a/doc/khelpcenter/license/TDELicenseDlg.cpp b/doc/khelpcenter/license/TDELicenseDlg.cpp index 2f65ecb68..a572389db 100644 --- a/doc/khelpcenter/license/TDELicenseDlg.cpp +++ b/doc/khelpcenter/license/TDELicenseDlg.cpp @@ -95,7 +95,7 @@ TDELicenseDlg::TDELicenseDlg(TQWidget *parent, const char *name) TQSizePolicy::Minimum); hboxBottom->addItem(spacerHBottom); KPushButton *okButton = new KPushButton(KStdGuiItem::ok(), this); - connect(okButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(accept())); + connect(okButton, TQ_SIGNAL(clicked()), this, TQ_SLOT(accept())); okButton->setDefault(true); okButton->setFocus(); hboxBottom->addWidget(okButton); diff --git a/doc/khelpcenter/license/mainWindow.cpp b/doc/khelpcenter/license/mainWindow.cpp index b6885e92b..78b50f576 100644 --- a/doc/khelpcenter/license/mainWindow.cpp +++ b/doc/khelpcenter/license/mainWindow.cpp @@ -30,7 +30,7 @@ int main(int argc, char *argv[]) TDECmdLineArgs::init(argc,argv, &aboutData); TDEApplication::addCmdLineOptions(); TDEApplication app; - TQObject::connect(tqApp, TQT_SIGNAL(lastWindowClosed()), tqApp, TQT_SLOT(quit())); + TQObject::connect(tqApp, TQ_SIGNAL(lastWindowClosed()), tqApp, TQ_SLOT(quit())); TDELicenseDlg *licenseDlg = new TDELicenseDlg(); app.setMainWidget(licenseDlg); -- cgit v1.2.1