diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-08 11:54:17 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-10 10:01:16 +0900 |
| commit | 0b5b2bf996777bcbe8c0d05586a32f1f9a5abfc0 (patch) | |
| tree | 95bbf7f48ecaf56bb12d97ebd83cd614c1f43bd8 /Mainpage.dox | |
| parent | b5e521d070900d9c432b4cbaa5a3f3cf8b62b765 (diff) | |
| download | polkit-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.dox | 6 |
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() |
