summaryrefslogtreecommitdiffstats
path: root/Mainpage.dox
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 /Mainpage.dox
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 'Mainpage.dox')
-rw-r--r--Mainpage.dox6
1 files changed, 3 insertions, 3 deletions
diff --git a/Mainpage.dox b/Mainpage.dox
index 83718a18f..89147c625 100644
--- a/Mainpage.dox
+++ b/Mainpage.dox
@@ -74,9 +74,9 @@ This demonstrates the use of ActionButtons, that lets you associate multiple but
single action with extreme ease. \c listenPB and \c listenCB are kept in sync with the action.
\code
-connect(bt, SIGNAL(activated()), this, SLOT(activateAction()));
-connect(bt, SIGNAL(clicked(TQButton*, bool)), bt, SLOT(activate()));
-connect(bt, SIGNAL(authorized()), this, SLOT(actionActivated()));
+connect(bt, TQ_SIGNAL(activated()), this, TQ_SLOT(activateAction()));
+connect(bt, TQ_SIGNAL(clicked(TQButton*, bool)), bt, TQ_SLOT(activate()));
+connect(bt, TQ_SIGNAL(authorized()), this, TQ_SLOT(actionActivated()));
\endcode
Those three signals are all you need to control the action and the activation. Action::activated()