diff options
Diffstat (limited to 'examples/PkExample.cpp')
-rw-r--r-- | examples/PkExample.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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); |