summaryrefslogtreecommitdiffstats
path: root/Mainpage.dox
diff options
context:
space:
mode:
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