Changeset View
Changeset View
Standalone View
Standalone View
AuthDialog.h
Show First 20 Lines • Show All 63 Lines • ▼ Show 20 Line(s) | |||||
64 | 64 | | |||
65 | public slots: | 65 | public slots: | ||
66 | void accept() override; | 66 | void accept() override; | ||
67 | 67 | | |||
68 | private slots: | 68 | private slots: | ||
69 | void on_userCB_currentIndexChanged(int index); | 69 | void on_userCB_currentIndexChanged(int index); | ||
70 | 70 | | |||
71 | private: | 71 | private: | ||
72 | QString m_appname; | | |||
73 | QString m_message; | 72 | QString m_message; | ||
74 | 73 | | |||
75 | void createUserCB(const PolkitQt1::Identity::List &identities); | 74 | void createUserCB(const PolkitQt1::Identity::List &identities); | ||
76 | }; | 75 | }; | ||
77 | 76 | | |||
78 | class AuthDetails : public QWidget, private Ui::AuthDetails | 77 | class AuthDetails : public QWidget, private Ui::AuthDetails | ||
79 | { | 78 | { | ||
80 | Q_OBJECT | 79 | Q_OBJECT | ||
81 | public: | 80 | public: | ||
82 | AuthDetails(const PolkitQt1::Details &details, | 81 | AuthDetails(const PolkitQt1::Details &details, | ||
83 | const PolkitQt1::ActionDescription &actionDescription, | 82 | const PolkitQt1::ActionDescription &actionDescription, | ||
84 | const QString &appname, | | |||
85 | QWidget *parent); | 83 | QWidget *parent); | ||
86 | 84 | | |||
87 | private slots: | 85 | private slots: | ||
88 | void openUrl(const QString&); | 86 | void openUrl(const QString&); | ||
89 | }; | 87 | }; | ||
90 | 88 | | |||
91 | #endif // AUTHDIALOG_H | 89 | #endif // AUTHDIALOG_H |