diff options
| author | Mikaƫl Capelle <capelle.mikael@gmail.com> | 2023-07-09 17:36:03 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-09 17:36:03 +0200 |
| commit | ef94aee28464039672b277243a0181ae93550d6c (patch) | |
| tree | 0575a68af5f154e9d6d0738edbaefb16a11d6f5c /src/problemsdialog.h | |
| parent | 7d6cb8528d20e36a4cee822263865ee2f7f32481 (diff) | |
| parent | 3de050e9c03e553f7ae3f780f6bd080a30ae123e (diff) | |
Merge pull request #1839 from Holt59/ci/initial-gh-action-for-build
Clang-Format + Github Workflow
Diffstat (limited to 'src/problemsdialog.h')
| -rw-r--r-- | src/problemsdialog.h | 89 |
1 files changed, 44 insertions, 45 deletions
diff --git a/src/problemsdialog.h b/src/problemsdialog.h index 504a0a10..288f5049 100644 --- a/src/problemsdialog.h +++ b/src/problemsdialog.h @@ -1,45 +1,44 @@ -#ifndef PROBLEMSDIALOG_H
-#define PROBLEMSDIALOG_H
-
-
-#include <QDialog>
-#include <QUrl>
-#include <iplugindiagnose.h>
-
-
-namespace Ui {
-class ProblemsDialog;
-}
-
-class PluginContainer;
-
-class ProblemsDialog : public QDialog
-{
- Q_OBJECT
-
-public:
- explicit ProblemsDialog(PluginContainer const& pluginContainer, QWidget *parent = 0);
- ~ProblemsDialog();
-
- // also saves and restores geometry
- //
- int exec() override;
-
- bool hasProblems() const;
-
-private:
- void runDiagnosis();
-
-private slots:
- void selectionChanged();
- void urlClicked(const QUrl &url);
-
- void startFix();
-
-private:
- Ui::ProblemsDialog *ui;
- const PluginContainer& m_PluginContainer;
- bool m_hasProblems;
-};
-
-#endif // PROBLEMSDIALOG_H
+#ifndef PROBLEMSDIALOG_H +#define PROBLEMSDIALOG_H + +#include <QDialog> +#include <QUrl> +#include <iplugindiagnose.h> + +namespace Ui +{ +class ProblemsDialog; +} + +class PluginContainer; + +class ProblemsDialog : public QDialog +{ + Q_OBJECT + +public: + explicit ProblemsDialog(PluginContainer const& pluginContainer, QWidget* parent = 0); + ~ProblemsDialog(); + + // also saves and restores geometry + // + int exec() override; + + bool hasProblems() const; + +private: + void runDiagnosis(); + +private slots: + void selectionChanged(); + void urlClicked(const QUrl& url); + + void startFix(); + +private: + Ui::ProblemsDialog* ui; + const PluginContainer& m_PluginContainer; + bool m_hasProblems; +}; + +#endif // PROBLEMSDIALOG_H |
