diff options
author | Michele Calgaro <[email protected]> | 2021-12-09 17:02:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-12-09 17:02:13 +0900 |
commit | 855818127b02c367fb187e67b9bb9b229b916304 (patch) | |
tree | c353d9b96b0135baf7f7a553c59926f2e5866a31 /examples/PkExampleHelper.h | |
parent | 7d1585c071206dd8460ed624eff764de5464dde7 (diff) | |
download | polkit-tqt-855818127b02c367fb187e67b9bb9b229b916304.tar.gz polkit-tqt-855818127b02c367fb187e67b9bb9b229b916304.zip |
Converted agent example code.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/PkExampleHelper.h')
-rw-r--r-- | examples/PkExampleHelper.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/PkExampleHelper.h b/examples/PkExampleHelper.h index f4b13786b..322366557 100644 --- a/examples/PkExampleHelper.h +++ b/examples/PkExampleHelper.h @@ -26,17 +26,21 @@ #include <tqdbusconnection.h> #include "tqapplication.h" +class TQSessionManager; + class PkExampleHelper : public TQApplication, public TQT_DBusObjectBase { Q_OBJECT public: - PkExampleHelper(int &argc, char **argv); + PkExampleHelper(int argc, char **argv); ~PkExampleHelper(); bool set(const TQString &action); bool setValue(const TQString &action); + void commitData(TQSessionManager &sm); + protected: bool handleMethodCall(const TQT_DBusMessage& message); |