summaryrefslogtreecommitdiffstats
path: root/src/AuthDialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/AuthDialog.h')
-rw-r--r--src/AuthDialog.h48
1 files changed, 24 insertions, 24 deletions
diff --git a/src/AuthDialog.h b/src/AuthDialog.h
index 620145d..7aa42eb 100644
--- a/src/AuthDialog.h
+++ b/src/AuthDialog.h
@@ -26,10 +26,10 @@
#include "ui_AuthDialog.h"
#include "ui_authdetails.h"
-#include <PolkitQt1/Identity>
-#include <PolkitQt1/ActionDescription>
+#include <PolkitTQt1/Identity>
+#include <PolkitTQt1/ActionDescription>
-namespace PolkitQt1
+namespace PolkitTQt1
{
class Details;
}
@@ -38,25 +38,25 @@ class AuthDialog : public KDialog, private Ui::AuthDialog
{
Q_OBJECT
public:
- AuthDialog(const QString &actionId,
- const QString &message,
- const QString &iconName,
- const PolkitQt1::Details &details,
- const PolkitQt1::Identity::List &identities,
+ AuthDialog(const TQString &actionId,
+ const TQString &message,
+ const TQString &iconName,
+ const PolkitTQt1::Details &details,
+ const PolkitTQt1::Identity::List &identities,
WId parent);
~AuthDialog();
- void setRequest(const QString &request, bool requiresAdmin);
+ void setRequest(const TQString &request, bool requiresAdmin);
void setOptions();
- QString password() const;
+ TQString password() const;
void authenticationFailure();
- PolkitQt1::Identity adminUserSelected() const;
+ PolkitTQt1::Identity adminUserSelected() const;
- PolkitQt1::ActionDescription m_actionDescription;
+ PolkitTQt1::ActionDescription m_actionDescription;
signals:
- void adminUserSelected(PolkitQt1::Identity);
+ void adminUserSelected(PolkitTQt1::Identity);
public slots:
virtual void accept();
@@ -66,25 +66,25 @@ private slots:
void notificationActivated(unsigned int action);
private:
- QString m_appname;
- QString m_message;
+ TQString m_appname;
+ TQString m_message;
- void createUserCB(const PolkitQt1::Identity::List &identities);
- void showEvent(QShowEvent *);
+ void createUserCB(const PolkitTQt1::Identity::List &identities);
+ void showEvent(TQShowEvent *);
};
-class AuthDetails : public QWidget, private Ui::AuthDetails
+class AuthDetails : public TQWidget, private Ui::AuthDetails
{
Q_OBJECT
public:
- AuthDetails(const PolkitQt1::Details &details,
- const PolkitQt1::ActionDescription &actionDescription,
- const QString &appname,
- QWidget *parent);
+ AuthDetails(const PolkitTQt1::Details &details,
+ const PolkitTQt1::ActionDescription &actionDescription,
+ const TQString &appname,
+ TQWidget *parent);
private slots:
- void openUrl(const QString&);
- void openAction(const QString&);
+ void openUrl(const TQString&);
+ void openAction(const TQString&);
};
#endif // AUTHDIALOG_H