From b05bbf90f3b7b82b722dfc584e9b040b0803d771 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 5 Jan 2024 10:36:11 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- src/tdebluezauth/application.cpp | 12 ++++++------ src/tdebluezauth/authorize.cpp | 2 +- src/tdebluezauth/pindialog.cpp | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'src/tdebluezauth') diff --git a/src/tdebluezauth/application.cpp b/src/tdebluezauth/application.cpp index b546a89..b419e43 100644 --- a/src/tdebluezauth/application.cpp +++ b/src/tdebluezauth/application.cpp @@ -72,16 +72,16 @@ TDEBluezAuth::TDEBluezAuth() : disableSessionManagement(); // connect to manager signals -// connect(manager, SIGNAL(adapterAdded(const TQString&)), SLOT(slotAdapterAdded(const TQString&))); -// connect(manager, SIGNAL(adapterRemoved(const TQString&)), SLOT(slotAdapterRemoved(const TQString&))); - connect(manager, SIGNAL(adapterPowerOnChanged(const TQString&, bool)), - this, SLOT(slotPowerOnChanged(const TQString&, bool))); +// connect(manager, TQ_SIGNAL(adapterAdded(const TQString&)), TQ_SLOT(slotAdapterAdded(const TQString&))); +// connect(manager, TQ_SIGNAL(adapterRemoved(const TQString&)), TQ_SLOT(slotAdapterRemoved(const TQString&))); + connect(manager, TQ_SIGNAL(adapterPowerOnChanged(const TQString&, bool)), + this, TQ_SLOT(slotPowerOnChanged(const TQString&, bool))); } TDEBluezAuth::~TDEBluezAuth() { - disconnect(manager, SIGNAL(adapterPowerOnChanged(const TQString&, bool)), - this, SLOT(slotPowerOnChanged(const TQString&, bool))); + disconnect(manager, TQ_SIGNAL(adapterPowerOnChanged(const TQString&, bool)), + this, TQ_SLOT(slotPowerOnChanged(const TQString&, bool))); // close D-Bus connection unconfigureAgent(); diff --git a/src/tdebluezauth/authorize.cpp b/src/tdebluezauth/authorize.cpp index 739c344..98165fa 100644 --- a/src/tdebluezauth/authorize.cpp +++ b/src/tdebluezauth/authorize.cpp @@ -41,7 +41,7 @@ AuthorizeDialog::AuthorizeDialog(const TQString &addr, const TQString &devName, authDlg = new AuthDialog(this); authDlg->messageLabel->setText(authDlg->messageLabel->text().arg(action)); - connect(this, SIGNAL(okClicked()), SLOT(close())); + connect(this, TQ_SIGNAL(okClicked()), TQ_SLOT(close())); setMainWidget(authDlg); } diff --git a/src/tdebluezauth/pindialog.cpp b/src/tdebluezauth/pindialog.cpp index 7f31b89..cca5197 100644 --- a/src/tdebluezauth/pindialog.cpp +++ b/src/tdebluezauth/pindialog.cpp @@ -35,7 +35,7 @@ PinDialog::PinDialog(const TQString &addr, const TQString &devName) : pinDlg->pinEdit->setFocus(); - connect(this, TQT_SIGNAL(okClicked()), TQT_SLOT(setPin())); + connect(this, TQ_SIGNAL(okClicked()), TQ_SLOT(setPin())); setMainWidget(pinDlg); } -- cgit v1.2.1