summaryrefslogtreecommitdiffstats
path: root/Mainpage.dox
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-11-13 19:53:11 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-11-13 19:53:22 +0900
commit98b37ff3b1d307add5fe3f9e1f9c7923831debd4 (patch)
treef99bdc8ee40242e1baba1d09b2522e1344098c5d /Mainpage.dox
parent8f1d08da58bce00523534cf39807732f7dee91ce (diff)
downloadpolkit-tqt-98b37ff3b1d307add5fe3f9e1f9c7923831debd4.tar.gz
polkit-tqt-98b37ff3b1d307add5fe3f9e1f9c7923831debd4.zip
Conversion of 'gui' library module.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'Mainpage.dox')
-rw-r--r--Mainpage.dox4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mainpage.dox b/Mainpage.dox
index 1fceaafdd..1f69da9c2 100644
--- a/Mainpage.dox
+++ b/Mainpage.dox
@@ -62,7 +62,7 @@ UI file, \c kickPB . As you can see, you can set custom properties on your butto
on the action status/result. The code is mostly self-explainatory
\code
-bt = new ActionButtons(TQList<TQAbstractButton*>() << listenPB << listenCB,
+bt = new ActionButtons(TQList<TQButton*>() << listenPB << listenCB,
"org.tqt.policykit.examples.listen", this);
bt->setIcon(TQPixmap(":/Icons/action-locked.png"));
bt->setIcon(TQPixmap(":/Icons/action-unlocked.png"), Action::Yes);
@@ -75,7 +75,7 @@ are kept in sync with the action.
\code
connect(bt, SIGNAL(triggered(bool)), this, SLOT(activateAction()));
-connect(bt, SIGNAL(clicked(TQAbstractButton*,bool)), bt, SLOT(activate()));
+connect(bt, SIGNAL(clicked(TQButton*,bool)), bt, SLOT(activate()));
connect(bt, SIGNAL(authorized()), this, SLOT(actionActivated()));
\endcode