blob: c211e4f5cf4a89b08690873adfcb5ecd2a7d42b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
#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<QObject*> pluginObjects, QWidget *parent = 0);
~ProblemsDialog();
bool hasProblems() const;
private:
void runDiagnosis();
private slots:
void selectionChanged();
void urlClicked(const QUrl &url);
void startFix();
private:
Ui::ProblemsDialog *ui;
std::vector<QObject *> m_PluginObjects;
bool m_hasProblems;
};
#endif // PROBLEMSDIALOG_H
|