diff options
author | Michele Calgaro <[email protected]> | 2021-10-30 13:47:29 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-10-30 13:47:29 +0900 |
commit | e8494e60efeb94c67c813d1c1c038031915e8c17 (patch) | |
tree | 3238b3e8ceeb577a8eda00da66704c7e5fc6f9f5 /examples/agent/klistener.h | |
parent | 28de2ff84f59ac0b173670aa9c5331bc77c1e63f (diff) | |
download | polkit-tqt-e8494e60efeb94c67c813d1c1c038031915e8c17.tar.gz polkit-tqt-e8494e60efeb94c67c813d1c1c038031915e8c17.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
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 |