blob: 288f50491995eae924b668abf7b90f80b2c3814a (
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
41
42
43
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
|