summaryrefslogtreecommitdiffstats
path: root/examples/agent
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:54:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-10 10:01:16 +0900
commit0b5b2bf996777bcbe8c0d05586a32f1f9a5abfc0 (patch)
tree95bbf7f48ecaf56bb12d97ebd83cd614c1f43bd8 /examples/agent
parentb5e521d070900d9c432b4cbaa5a3f3cf8b62b765 (diff)
downloadpolkit-tqt-0b5b2bf9.tar.gz
polkit-tqt-0b5b2bf9.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 7c53a87adc27550ff875d6c17fccdbfbe2942ee1)
Diffstat (limited to 'examples/agent')
-rw-r--r--examples/agent/tqtlistener.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/examples/agent/tqtlistener.cpp b/examples/agent/tqtlistener.cpp
index 2532dd689..90a327faf 100644
--- a/examples/agent/tqtlistener.cpp
+++ b/examples/agent/tqtlistener.cpp
@@ -52,13 +52,13 @@ void TQtListener::initiateAuthentication(const TQString &actionId, const TQStrin
{
tqDebug(identity.toString());
Session *session = new Session(identity, cookie, result);
- connect(session, TQT_SIGNAL(request(const TQString&, bool)), this,
- TQT_SLOT(request(const TQString&, bool)));
- connect(session, TQT_SIGNAL(completed(bool)), this, TQT_SLOT(completed(bool)));
- connect(session, TQT_SIGNAL(showError(const TQString&)), this,
- TQT_SLOT(showError(const TQString&)));
- connect(session, TQT_SIGNAL(showInfo(const TQString&)), this,
- TQT_SLOT(showInfo(const TQString&)));
+ connect(session, TQ_SIGNAL(request(const TQString&, bool)), this,
+ TQ_SLOT(request(const TQString&, bool)));
+ connect(session, TQ_SIGNAL(completed(bool)), this, TQ_SLOT(completed(bool)));
+ connect(session, TQ_SIGNAL(showError(const TQString&)), this,
+ TQ_SLOT(showError(const TQString&)));
+ connect(session, TQ_SIGNAL(showInfo(const TQString&)), this,
+ TQ_SLOT(showInfo(const TQString&)));
session->initiate();
}
}