diff options
Diffstat (limited to 'agent/polkitqt1-agent-listener.h')
-rw-r--r-- | agent/polkitqt1-agent-listener.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/agent/polkitqt1-agent-listener.h b/agent/polkitqt1-agent-listener.h index 38c2ae46f..ed48509e1 100644 --- a/agent/polkitqt1-agent-listener.h +++ b/agent/polkitqt1-agent-listener.h @@ -23,7 +23,7 @@ #include "polkitqt1-export.h" -#include <QtCore/QObject> +#include <TQtCore/TQObject> #include "polkitqt1-agent-session.h" @@ -31,14 +31,14 @@ typedef struct _PolkitAgentListener PolkitAgentListener; -namespace PolkitQt1 +namespace PolkitTQt1 { class Subject; class Identity; class Details; } -namespace PolkitQt1 +namespace PolkitTQt1 { namespace Agent @@ -58,15 +58,15 @@ class ListenerPrivate; * You can also use Session class to authenticate users however it isn't required. * \sa Session */ -class POLKITQT1_EXPORT Listener : public QObject +class POLKITQT1_EXPORT Listener : public TQObject { Q_OBJECT - Q_DISABLE_COPY(Listener) + TQ_DISABLE_COPY(Listener) public: /** * \brief Constructor of Listener class */ - Listener(QObject *parent = 0); + Listener(TQObject *parent = 0); /** * \brief Constructor of Listener class from PolkitAgentListener @@ -76,7 +76,7 @@ public: * \param listener Pointer to the PolkitAgentListener * \param parent */ - explicit Listener(PolkitAgentListener *listener, QObject *parent = 0); + explicit Listener(PolkitAgentListener *listener, TQObject *parent = 0); virtual ~Listener(); @@ -93,7 +93,7 @@ public: * \param objectPath DBus object path * \return \c True if the polkitqt1-agent-listener.has been registered, \c False otherwise */ - bool registerListener(const PolkitQt1::Subject &subject, const QString &objectPath); + bool registerListener(const PolkitTQt1::Subject &subject, const TQString &objectPath); /** * \brief Returns pointer to the PolkitAgentListener. @@ -123,12 +123,12 @@ public Q_SLOTS: * authentication is done. You can pass it to the constructor of the Session class * and then call session->result()->complete() to mark the action as done. */ - virtual void initiateAuthentication(const QString &actionId, - const QString &message, - const QString &iconName, - const PolkitQt1::Details &details, - const QString &cookie, - const PolkitQt1::Identity::List &identities, + virtual void initiateAuthentication(const TQString &actionId, + const TQString &message, + const TQString &iconName, + const PolkitTQt1::Details &details, + const TQString &cookie, + const PolkitTQt1::Identity::List &identities, AsyncResult *result) = 0; /** |