KDE 4.5 PyKDE API Reference

- KDE's Python API

# PyKDE4.polkitqt Module

## Polkit-qt - Qt PolicyKit wrapper

Overview

Note:
  Do not use this library for developing new applications. Please use KAuth or, if your application is not based on the KDE Development Platform, polkit-qt-1. You are also encouraged to port your existing polkit-qt applications to KAuth or polkit-qt-1, since PolicyKit has been deprecated in favor of polkit-1.

Polkit-qt aims to make it easy for Qt developers to take advantage of PolicyKit API. It is a convenience wrapper around QAction and QAbstractButton that lets you integrate those two components easily with PolicyKit.

Polkit-qt is splitted in two libraries: polkit-qt-core and polkit-qt-gui.

polkit-qt-core lets you control actions and authentication without a GUI, with some very simple functions. It also lets you retrieve and control useful informations on the PolicyKit context. It includes the classes Auth and Context.

polkit-qt-gui lets you easily associate GUI items with PolicyKit actions. By some simple wrapper classes you are able to associate QAction and QAbstractButton to a PolicyKit action, and get their properties changed accordingly to PolicyKit result. It includes the classes Action, ActionButton and ActionButtons

- A sample usage of polkit-qt can be found in polkitqt_example
- Alphabetical Class List
- Class Hierarchy

## Namespaces

G | P |
global | PolkitQt |

## Class Index

A | ActionButton (PolkitQt) | C
Action (PolkitQt) | ActionButtons (PolkitQt) | Context (PolkitQt)