diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-17 19:53:54 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2021-12-17 19:53:54 +0900 |
commit | 35181c8a0f3b1e381a53b59bb327c477e55c0178 (patch) | |
tree | 1c546bbf2c5b44a8319cd4a1a43146ba1a3998e8 /src/AuthDialog.h | |
parent | 5a3408879dbba9ac96ea027a16a5c67aaf49d855 (diff) | |
download | polkit-agent-tde-35181c8a0f3b1e381a53b59bb327c477e55c0178.tar.gz polkit-agent-tde-35181c8a0f3b1e381a53b59bb327c477e55c0178.zip |
Raw Qt->TQt conversion using tde/scripts/conversions/qt3-tqt3/convert_existing_qt3_app_to_tq
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'src/AuthDialog.h')
-rw-r--r-- | src/AuthDialog.h | 48 |
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 |