summaryrefslogtreecommitdiffstats
path: root/agent/polkitqt1-agent-session.h
diff options
context:
space:
mode:
Diffstat (limited to 'agent/polkitqt1-agent-session.h')
-rw-r--r--agent/polkitqt1-agent-session.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/agent/polkitqt1-agent-session.h b/agent/polkitqt1-agent-session.h
index a40b5b867..c4a5ac531 100644
--- a/agent/polkitqt1-agent-session.h
+++ b/agent/polkitqt1-agent-session.h
@@ -18,8 +18,8 @@
* Boston, MA 02110-1301, USA.
*/
-#ifndef POLKITTQT1_AGENT_SESSION_H
-#define POLKITTQT1_AGENT_SESSION_H
+#ifndef POLKIT_TQT_AGENT_SESSION_H
+#define POLKIT_TQT_AGENT_SESSION_H
#include <TQtCore/TQObject>
#include "polkittqt1-identity.h"
@@ -27,7 +27,7 @@
typedef struct _GSimpleAsyncResult GSimpleAsyncResult;
typedef struct _PolkitAgentSession PolkitAgentSession;
-namespace PolkitTQt1
+namespace PolkitTQt
{
/**
@@ -45,7 +45,7 @@ namespace Agent
* \internal
* \brief Encapsulation of GSimpleAsyncResult to TQObject class
*/
-class POLKITTQT1_EXPORT AsyncResult
+class POLKIT_TQT_EXPORT AsyncResult
{
public:
explicit AsyncResult(GSimpleAsyncResult *result);
@@ -77,7 +77,7 @@ private:
* authentication system for obtaining authorizations.
*
*/
-class POLKITTQT1_EXPORT Session : public TQObject
+class POLKIT_TQT_EXPORT Session : public TQObject
{
Q_OBJECT
TQ_DISABLE_COPY(Session)
@@ -90,7 +90,7 @@ public:
* \param result Result of the authentication action. Must be finished using complete() method.
* \param parent
*/
- Session(const PolkitTQt1::Identity& identity, const TQString &cookie, AsyncResult *result = 0, TQObject *parent = 0);
+ Session(const PolkitTQt::Identity& identity, const TQString &cookie, AsyncResult *result = 0, TQObject *parent = 0);
/**
* Create a new authentication session from PolkitAgentSession object