diff options
Diffstat (limited to 'examples/agent/klistener.h')
-rw-r--r-- | examples/agent/klistener.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/examples/agent/klistener.h b/examples/agent/klistener.h index 2576acdca..d0e45c6ba 100644 --- a/examples/agent/klistener.h +++ b/examples/agent/klistener.h @@ -21,36 +21,36 @@ #ifndef POLKIT_QT_AGENT_KDE_LISTENER_H #define POLKIT_QT_AGENT_KDE_LISTENER_H -#include <QtCore/QObject> -#include <QtCore/QString> +#include <TQtCore/TQObject> +#include <TQtCore/TQString> #include "agent/polkitqt1-agent-listener.h" #include "core/polkitqt1-identity.h" #include "core/polkitqt1-details.h" #include "agent/polkitqt1-agent-session.h" -class KListener : public PolkitQt1::Agent::Listener +class KListener : public PolkitTQt1::Agent::Listener { Q_OBJECT - Q_DISABLE_COPY(KListener) + TQ_DISABLE_COPY(KListener) public: - KListener(QObject *parent = 0); + KListener(TQObject *parent = 0); ~KListener() {}; public Q_SLOTS: - void initiateAuthentication(const QString &actionId, - const QString &message, - const QString &iconName, - const PolkitQt1::Details &details, - const QString &cookie, - const PolkitQt1::Identity::List &identities, - PolkitQt1::Agent::AsyncResult *result); + void initiateAuthentication(const TQString &actionId, + const TQString &message, + const TQString &iconName, + const PolkitTQt1::Details &details, + const TQString &cookie, + const PolkitTQt1::Identity::List &identities, + PolkitTQt1::Agent::AsyncResult *result); bool initiateAuthenticationFinish(); void cancelAuthentication(); - void request(const QString &request, bool echo); + void request(const TQString &request, bool echo); void completed(bool gainedAuthorization); - void showError(const QString &text); - void showInfo(const QString &text); + void showError(const TQString &text); + void showInfo(const TQString &text); }; #endif |