diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:36:11 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-05 10:36:11 +0900 |
commit | b05bbf90f3b7b82b722dfc584e9b040b0803d771 (patch) | |
tree | 2a4f442342143e24875666691d4036be0528f585 /src/tdebluezauth | |
parent | 66ca19ad6b97fbfd4c2896b53c8c0d35cee0faa2 (diff) | |
download | tdebluez-b05bbf90f3b7b82b722dfc584e9b040b0803d771.tar.gz tdebluez-b05bbf90f3b7b82b722dfc584e9b040b0803d771.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/tdebluezauth')
-rw-r--r-- | src/tdebluezauth/application.cpp | 12 | ||||
-rw-r--r-- | src/tdebluezauth/authorize.cpp | 2 | ||||
-rw-r--r-- | src/tdebluezauth/pindialog.cpp | 2 |
3 files changed, 8 insertions, 8 deletions
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); } |