diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/PkExample.cpp | 4 | ||||
-rw-r--r-- | examples/PkExampleHelper.cpp | 2 | ||||
-rw-r--r-- | examples/agent/klistener.cpp | 8 | ||||
-rw-r--r-- | examples/agent/klistener.h | 8 | ||||
-rw-r--r-- | examples/agent/pkagentexample.cpp | 2 |
5 files changed, 12 insertions, 12 deletions
diff --git a/examples/PkExample.cpp b/examples/PkExample.cpp index 5c0e57d22..e200009d3 100644 --- a/examples/PkExample.cpp +++ b/examples/PkExample.cpp @@ -29,8 +29,8 @@ #include <TQtDBus/TQDBusMessage> #include <TQtDBus/TQDBusConnection> -using namespace PolkitTQt1; -using namespace PolkitTQt1::Gui; +using namespace PolkitTQt; +using namespace PolkitTQt::Gui; PkExample::PkExample(TQMainWindow *parent) : TQMainWindow(parent) diff --git a/examples/PkExampleHelper.cpp b/examples/PkExampleHelper.cpp index 97a634411..45b9efed4 100644 --- a/examples/PkExampleHelper.cpp +++ b/examples/PkExampleHelper.cpp @@ -31,7 +31,7 @@ #define MINUTE 60000 -using namespace PolkitTQt1; +using namespace PolkitTQt; PkExampleHelper::PkExampleHelper(int &argc, char **argv) : TQCoreApplication(argc, argv) diff --git a/examples/agent/klistener.cpp b/examples/agent/klistener.cpp index e78b3d081..6bc95a990 100644 --- a/examples/agent/klistener.cpp +++ b/examples/agent/klistener.cpp @@ -24,7 +24,7 @@ #include "klistener.h" #include "agent/polkittqt1-agent-session.h" -using namespace PolkitTQt1::Agent; +using namespace PolkitTQt::Agent; KListener::KListener(TQObject *parent) : Listener(parent) @@ -37,9 +37,9 @@ KListener::KListener(TQObject *parent) void KListener::initiateAuthentication(const TQString &actionId, const TQString &message, const TQString &iconName, - const PolkitTQt1::Details &details, + const PolkitTQt::Details &details, const TQString &cookie, - const PolkitTQt1::Identity::List &identities, + const PolkitTQt::Identity::List &identities, AsyncResult *result) { tqDebug() << "initiateAuthentication for " << actionId << " with message " << message; @@ -47,7 +47,7 @@ void KListener::initiateAuthentication(const TQString &actionId, tqDebug() << details.keys(); tqDebug() << "cookie" << cookie; - TQ_FOREACH (const PolkitTQt1::Identity &identity, identities) { + TQ_FOREACH (const PolkitTQt::Identity &identity, identities) { tqDebug() << identity.toString(); Session *session; session = new Session(identity, cookie, result); diff --git a/examples/agent/klistener.h b/examples/agent/klistener.h index 67c3722cc..a4367f981 100644 --- a/examples/agent/klistener.h +++ b/examples/agent/klistener.h @@ -29,7 +29,7 @@ #include "core/polkittqt1-details.h" #include "agent/polkittqt1-agent-session.h" -class KListener : public PolkitTQt1::Agent::Listener +class KListener : public PolkitTQt::Agent::Listener { Q_OBJECT TQ_DISABLE_COPY(KListener) @@ -40,10 +40,10 @@ public Q_SLOTS: void initiateAuthentication(const TQString &actionId, const TQString &message, const TQString &iconName, - const PolkitTQt1::Details &details, + const PolkitTQt::Details &details, const TQString &cookie, - const PolkitTQt1::Identity::List &identities, - PolkitTQt1::Agent::AsyncResult *result); + const PolkitTQt::Identity::List &identities, + PolkitTQt::Agent::AsyncResult *result); bool initiateAuthenticationFinish(); void cancelAuthentication(); diff --git a/examples/agent/pkagentexample.cpp b/examples/agent/pkagentexample.cpp index 8537aa832..1ffe39f53 100644 --- a/examples/agent/pkagentexample.cpp +++ b/examples/agent/pkagentexample.cpp @@ -11,7 +11,7 @@ PkAgentExample::PkAgentExample(int &argc, char **argv) { g_type_init(); - PolkitTQt1::UnixSessionSubject session(getpid()); + PolkitTQt::UnixSessionSubject session(getpid()); m_listener.registerListener(session, "/org/kde/PolicyKit1/AuthenticationAgent"); } |