From 416bed9bc124e24cc1351c7d8e5810ca7570a023 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Dec 2021 23:27:00 +0900 Subject: Updated documentation and clean up. Signed-off-by: Michele Calgaro --- examples/PkExample.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/PkExample.cpp') diff --git a/examples/PkExample.cpp b/examples/PkExample.cpp index da2405ef5..4491dadd3 100644 --- a/examples/PkExample.cpp +++ b/examples/PkExample.cpp @@ -177,15 +177,15 @@ PkExample::PkExample() : TQMainWindow(0, "Polkit tqt example application", WDest bt->setText("Play!"); bt->setVisible(true, (Action::States)(Action::No | Action::Auth | Action::Yes)); bt->setEnabled(true, (Action::States)(Action::No | Action::Auth | Action::Yes)); - // here we set the behavior of PolKitResul = No + // here we set the behavior of PolKitResult = No bt->setText("Can't play!", Action::No); bt->setIconSet(TQPixmap("/usr/share/apps/polkit-tqt/icons/custom-no.png"), Action::No); bt->setToolTip("If your admin wasn't annoying, you could do this", Action::No); - // here we set the behavior of PolKitResul = Auth + // here we set the behavior of PolKitResult = Auth bt->setText("Play?", Action::Auth); bt->setIconSet(TQPixmap("/usr/share/apps/polkit-tqt/icons/action-locked-default.png"), Action::Auth); bt->setToolTip("Only card carrying tweakers can do this!", Action::Auth); - // here we set the behavior of PolKitResul = Yes + // here we set the behavior of PolKitResult = Yes bt->setText("Play!", Action::Yes); bt->setIconSet(TQPixmap("/usr/share/apps/polkit-tqt/icons/custom-yes.png"), Action::Yes); bt->setToolTip("Go ahead, play!", Action::Yes); -- cgit v1.2.1