summaryrefslogtreecommitdiffstats
path: root/src/policykitlistener.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/policykitlistener.h')
-rw-r--r--src/policykitlistener.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/src/policykitlistener.h b/src/policykitlistener.h
index 21286fc..f7906e4 100644
--- a/src/policykitlistener.h
+++ b/src/policykitlistener.h
@@ -21,60 +21,60 @@
*/
-#include <PolkitQt1/Agent/Listener>
+#include <PolkitTQt1/Agent/Listener>
-#include <QtCore/QWeakPointer>
-#include <QtCore/QHash>
+#include <TQtCore/TQWeakPointer>
+#include <TQtCore/TQHash>
class AuthDialog;
-using namespace PolkitQt1::Agent;
+using namespace PolkitTQt1::Agent;
class PolicyKitListener : public Listener
{
Q_OBJECT
- Q_CLASSINFO("D-Bus Interface", "org.kde.Polkit1AuthAgent")
+ TQ_CLASSINFO("D-Bus Interface", "org.kde.Polkit1AuthAgent")
public:
- PolicyKitListener(QObject *parent = 0);
+ PolicyKitListener(TQObject *parent = 0);
virtual ~PolicyKitListener();
public 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 tryAgain();
void finishObtainPrivilege();
- void request(const QString &request, bool echo);
+ void request(const TQString &request, bool echo);
void completed(bool gainedAuthorization);
- void showError(const QString &text);
+ void showError(const TQString &text);
- void setWIdForAction(const QString &action, qulonglong wID);
- /* void showInfo(const QString &text); */
+ void setWIdForAction(const TQString &action, qulonglong wID);
+ /* void showInfo(const TQString &text); */
private:
- QWeakPointer<AuthDialog> m_dialog;
- QWeakPointer<Session> m_session;
+ TQWeakPointer<AuthDialog> m_dialog;
+ TQWeakPointer<Session> m_session;
bool m_inProgress;
bool m_gainedAuthorization;
bool m_wasCancelled;
int m_numTries;
- PolkitQt1::Identity::List m_identities;
- PolkitQt1::Agent::AsyncResult* m_result;
- QString m_cookie;
- PolkitQt1::Identity m_selectedUser;
- QHash< QString, qulonglong > m_actionsToWID;
+ PolkitTQt1::Identity::List m_identities;
+ PolkitTQt1::Agent::AsyncResult* m_result;
+ TQString m_cookie;
+ PolkitTQt1::Identity m_selectedUser;
+ TQHash< TQString, qulonglong > m_actionsToWID;
private slots:
void dialogAccepted();
void dialogCanceled();
- void userSelected(const PolkitQt1::Identity &identity);
+ void userSelected(const PolkitTQt1::Identity &identity);
};
#endif