diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2022-05-17 11:47:01 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:20:40 +0200 |
| commit | d13f6bb870cdda71257f665367be8ef9fca86255 (patch) | |
| tree | 52e214718478f1e52856572f5aa1a2ac58537f9f /src/lootdialog.h | |
| parent | 86bb01ba9eac879d3685c439ac9da0028bc4bc80 (diff) | |
Apply clang-format.
Diffstat (limited to 'src/lootdialog.h')
| -rw-r--r-- | src/lootdialog.h | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/src/lootdialog.h b/src/lootdialog.h index 3cec15c6..f632b9c1 100644 --- a/src/lootdialog.h +++ b/src/lootdialog.h @@ -1,48 +1,49 @@ #ifndef MODORGANIZER_LOOTDIALOG_H #define MODORGANIZER_LOOTDIALOG_H -#include <lootcli/lootcli.h> -#include <log.h> #include <expanderwidget.h> +#include <log.h> +#include <lootcli/lootcli.h> -namespace Ui { class LootDialog; } +namespace Ui +{ +class LootDialog; +} class OrganizerCore; class Loot; - class MarkdownDocument : public QObject { Q_OBJECT; Q_PROPERTY(QString text MEMBER m_text NOTIFY textChanged FINAL); public: - explicit MarkdownDocument(QObject* parent=nullptr); + explicit MarkdownDocument(QObject* parent = nullptr); void setText(const QString& text); signals: - void textChanged(const QString &text); + void textChanged(const QString& text); private: QString m_text; }; - class MarkdownPage : public QWebEnginePage { Q_OBJECT; public: - explicit MarkdownPage(QObject* parent=nullptr); + explicit MarkdownPage(QObject* parent = nullptr); protected: - bool acceptNavigationRequest(const QUrl &url, NavigationType, bool) override; + bool acceptNavigationRequest(const QUrl& url, NavigationType, bool) override; }; - class LootDialog : public QDialog { Q_OBJECT; + public: LootDialog(QWidget* parent, OrganizerCore& core, Loot& loot); ~LootDialog(); @@ -76,4 +77,4 @@ private: void showReport(); }; -#endif // MODORGANIZER_LOOTDIALOG_H +#endif // MODORGANIZER_LOOTDIALOG_H |
