From 855818127b02c367fb187e67b9bb9b229b916304 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Dec 2021 17:02:13 +0900 Subject: Converted agent example code. Signed-off-by: Michele Calgaro --- examples/PkExampleHelper.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'examples/PkExampleHelper.h') 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 #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); -- cgit v1.2.1