blob: 8c86fd69edfe030f2406b85736da96efbd43e279 (
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
|
#ifndef SETTINGSDIALOGWORKAROUNDS_H
#define SETTINGSDIALOGWORKAROUNDS_H
#include "settings.h"
#include "settingsdialog.h"
class WorkaroundsSettingsTab : public SettingsTab
{
public:
WorkaroundsSettingsTab(Settings& settings, SettingsDialog& dialog);
// shows the blacklist dialog from the given settings, and changes the
// settings when the user accepts it
//
static bool changeBlacklistNow(QWidget* parent, Settings& settings);
// shows the blacklist dialog from the given string and returns the new
// blacklist if the user accepted it
//
static std::optional<QString> changeBlacklistLater(QWidget* parent,
const QString& current);
void update();
private:
QString m_ExecutableBlacklist;
void on_bsaDateBtn_clicked();
void on_execBlacklistBtn_clicked();
void on_resetGeometryBtn_clicked();
};
#endif // SETTINGSDIALOGWORKAROUNDS_H
|