summaryrefslogtreecommitdiff
path: root/src/problemsdialog.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/problemsdialog.h')
-rw-r--r--src/problemsdialog.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/problemsdialog.h b/src/problemsdialog.h
new file mode 100644
index 00000000..299faf8d
--- /dev/null
+++ b/src/problemsdialog.h
@@ -0,0 +1,35 @@
+#ifndef PROBLEMSDIALOG_H
+#define PROBLEMSDIALOG_H
+
+
+#include <QDialog>
+#include <QUrl>
+#include <iplugindiagnose.h>
+
+
+namespace Ui {
+class ProblemsDialog;
+}
+
+
+class ProblemsDialog : public QDialog
+{
+ Q_OBJECT
+
+public:
+ explicit ProblemsDialog(std::vector<MOBase::IPluginDiagnose*> diagnosePlugins, QWidget *parent = 0);
+ ~ProblemsDialog();
+
+ bool hasProblems() const;
+
+private slots:
+
+ void selectionChanged();
+ void urlClicked(const QUrl &url);
+
+private:
+
+ Ui::ProblemsDialog *ui;
+};
+
+#endif // PROBLEMSDIALOG_H