forked from ic005k/OCAuxiliaryTools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdlgPreset.h
45 lines (36 loc) · 899 Bytes
/
dlgPreset.h
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
45
#ifndef DLGPRESET_H
#define DLGPRESET_H
#include <QDialog>
#include <QListWidgetItem>
#include <QVariantMap>
namespace Ui {
class dlgPreset;
}
class dlgPreset : public QDialog {
Q_OBJECT
public:
explicit dlgPreset(QWidget *parent = nullptr);
~dlgPreset();
Ui::dlgPreset *ui;
QString strPresetFile;
QVariantMap map_sub;
QVariantMap map_add;
QVariantMap map;
QVariantList map_patch;
bool blDPAdd = false;
bool blACPIPatch = false;
bool blKernelPatch = false;
bool blNVAdd = false;
bool blNVDelete = false;
bool blNVLegacy = false;
bool blKext = false;
QStringList listKextPreset;
void loadPreset(QString strMain, QString strSub, QString strComment,
QListWidget *list);
void addKextPresets();
private slots:
void on_btnAdd_clicked();
void on_listPreset_itemDoubleClicked(QListWidgetItem *item);
private:
};
#endif // DLGPRESET_H