| 1 | // For license of this file, see <project-root-folder>/LICENSE.md.cxx . . $ `<file>/src/librssguard/gui/messagebox.h`/ |
| 2 | |
| 3 | #ifndef MESSAGEBOX_H |
| 4 | #define MESSAGEBOX_Hcxx . . $ `src/librssguard/gui/messagebox.h:4:9`! |
| 5 | |
| 6 | #include <functional> |
| 7 | |
| 8 | #include <QDialogButtonBox> |
| 9 | #include <QMessageBox> |
| 10 | |
| 11 | class RSSGUARD_DLLSPECcxx . . $ `<built-in>:525:9`! MsgBoxcxx . . $ MsgBox# : public QMessageBoxcxx . . $ QMessageBox# { |
| 12 | Q_OBJECTcxx . . $ MsgBox#qt_staticMetaObjectStaticContent. |
| 13 | |
| 14 | public: |
| 15 | // Constructors and destructors. |
| 16 | explicit MsgBoxcxx . . $ MsgBox#MsgBox(108f35f7aa7f3cf9).(QWidgetcxx . . $ QWidget#* parent = nullptr); |
| 17 | |
| 18 | // Custom icon setting. |
| 19 | void setIconcxx . . $ MsgBox#setIcon(1f09eb2268fa2fc4).(Iconcxx . . $ QMessageBox#Icon# icon); |
| 20 | |
| 21 | static void setCheckBoxcxx . . $ MsgBox#setCheckBox(f38a1e3c7e93bae).(QMessageBoxcxx . . $ QMessageBox#* msg_box, const QStringcxx . . $ QString#& text, bool* data); |
| 22 | |
| 23 | // Displays custom message box. |
| 24 | static QMessageBoxcxx . . $ QMessageBox#::StandardButtoncxx . . $ QMessageBox#StandardButton# showcxx . . $ MsgBox#show(699e792c6fa2d501).(QWidgetcxx . . $ QWidget#* parent, |
| 25 | QMessageBoxcxx . . $ QMessageBox#::Iconcxx . . $ QMessageBox#Icon# icon, |
| 26 | const QStringcxx . . $ QString#& title, |
| 27 | const QStringcxx . . $ QString#& text, |
| 28 | const QStringcxx . . $ QString#& informative_text = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 29 | const QStringcxx . . $ QString#& detailed_text = QStringcxx . . $ QString#QString(ced63f7c635d850d).(), |
| 30 | QMessageBoxcxx . . $ QMessageBox#::StandardButtonscxx . . $ QMessageBox#StandardButtons# buttons = QMessageBoxcxx . . $ QFlags#QFlags(93d577a3e9528307).::Okcxx . . $ QMessageBox#Ok., |
| 31 | QMessageBoxcxx . . $ QMessageBox#::StandardButtoncxx . . $ QMessageBox#StandardButton# default_button = QMessageBoxcxx . . $ QMessageBox#::Okcxx . . $ QMessageBox#Ok., |
| 32 | bool* dont_show_again = nullptr, |
| 33 | const QStringcxx . . $ QString#& functor_heading =cxx . . $ QString#QString(ced63f7c635d850d). {}, |
| 34 | const stdcxx . . $ std/::functioncxx . . $ std/function#<void()>& functor = nullptrcxx . . $ std/function#function(6d988fd07f070dfc).); |
| 35 | static QIconcxx . . $ QIcon# iconForStatuscxx . . $ MsgBox#iconForStatus(c9ff3e83110e7763).(QMessageBoxcxx . . $ QMessageBox#::Iconcxx . . $ QMessageBox#Icon# status); |
| 36 | }; |
| 37 | |
| 38 | #endif // MESSAGEBOX_H |