Changeset View
Changeset View
Standalone View
Standalone View
autotests/kiotesthelper.h
Show First 20 Lines • Show All 186 Lines • ▼ Show 20 Line(s) | 174 | int requestMessageBox(MessageBoxType type, const QString &text, | |||
---|---|---|---|---|---|
187 | Q_UNUSED(iconYes); | 187 | Q_UNUSED(iconYes); | ||
188 | Q_UNUSED(iconNo); | 188 | Q_UNUSED(iconNo); | ||
189 | Q_UNUSED(dontAskAgainName); | 189 | Q_UNUSED(dontAskAgainName); | ||
190 | Q_UNUSED(sslMetaData); | 190 | Q_UNUSED(sslMetaData); | ||
191 | ++m_messageBoxCalled; | 191 | ++m_messageBoxCalled; | ||
192 | return m_messageBoxResult; | 192 | return m_messageBoxResult; | ||
193 | } | 193 | } | ||
194 | 194 | | |||
195 | bool askPrivilegeOperationConfirmation(const QString &warningCaption, | ||||
196 | const QString &warningMessage, | ||||
197 | const QString &warningDetails) override { | ||||
198 | Q_UNUSED(warningCaption); | ||||
199 | Q_UNUSED(warningMessage); | ||||
200 | Q_UNUSED(warningDetails); | ||||
201 | return false; | ||||
202 | } | ||||
203 | | ||||
195 | // yeah, public, for get and reset. | 204 | // yeah, public, for get and reset. | ||
196 | int m_askFileRenameCalled; | 205 | int m_askFileRenameCalled; | ||
197 | int m_askSkipCalled; | 206 | int m_askSkipCalled; | ||
198 | int m_askDeleteCalled; | 207 | int m_askDeleteCalled; | ||
199 | int m_messageBoxCalled; | 208 | int m_messageBoxCalled; | ||
200 | 209 | | |||
201 | KIO::RenameDialog_Result m_renameResult; | 210 | KIO::RenameDialog_Result m_renameResult; | ||
202 | KIO::SkipDialog_Result m_skipResult; | 211 | KIO::SkipDialog_Result m_skipResult; | ||
203 | bool m_deleteResult; | 212 | bool m_deleteResult; | ||
204 | int m_messageBoxResult; | 213 | int m_messageBoxResult; | ||
205 | }; | 214 | }; |