-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfilterconfig.h
More file actions
114 lines (84 loc) · 2.92 KB
/
filterconfig.h
File metadata and controls
114 lines (84 loc) · 2.92 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
#ifndef FILTERCONFIG_H
#define FILTERCONFIG_H
#include <QList>
#include <QString>
class FilterConfig {
public:
FilterConfig(bool is_utf8, bool is_utf16, int size_strings_classic, bool case_sensitive,
QString filter, bool debian_coreutils_checked, bool x86_checked, bool x64_checked,
bool debian_base_checked, bool go_checked);
FilterConfig();
bool getIsUtf8() const;
void setIsUtf8(bool is_utf8);
bool getIsUtf16() const;
void setIsUtf16(bool is_utf16);
int getSizeStringsClassic() const;
void setSizeStringsClassic(int size_strings_classic);
bool getCaseSensitive() const;
void setCaseSensitive(bool case_sensitive);
QString getFilter() const;
void setFilter(QString filter);
bool getIsUtf8Changed() const;
void setIsUtf8Changed(bool is_utf8_changed);
bool getIsUtf16Changed() const;
void setIsUtf16Changed(bool is_utf16_changed);
bool getSizeStringsClassicChanged() const;
void setSizeStringsClassicChanged(bool changed);
bool getCaseSensitiveChanged() const;
void setCaseSensitiveChanged(bool changed);
bool getFilterChanged() const;
void setFilterChanged(bool filter_changed);
// debian base
bool getDebianBaseChecked() const;
void setDebianBaseChecked(bool changed);
bool getDebianBaseCheckedChanged() const;
void setDebianBaseCheckedChanged(bool changed);
// coreutils
bool getDebianCoreutilsChecked() const;
void setDebianCoreutilsChecked(bool changed);
bool getDebianCoreutilsCheckedChanged() const;
void setDebianCoreutilsCheckedChanged(bool changed);
// Go
bool getGoChecked() const;
void setGoChecked(bool changed);
bool getGoCheckedChanged() const;
void setGoCheckedChanged(bool changed);
// X86
bool getX86Checked() const;
void setX86Checked(bool changed);
bool getX86CheckedChanged() const;
void setX86CheckedChanged(bool changed);
// X64
bool getX64Checked() const;
void setX64Checked(bool changed);
bool getX64CheckedChanged() const;
void setX64CheckedChanged(bool changed);
bool getConfigChanged() const;
void setConfigChanged(bool config_changed);
bool compare(const FilterConfig& other) const;
void reset_all();
int countChangedFlags() const;
private:
bool is_utf8;
bool is_utf16;
int size_strings_classic;
bool case_sensitive;
QString filter;
bool debian_coreutils_checked;
bool debian_base_checked;
bool is_utf8_changed;
bool is_utf16_changed;
bool size_strings_classic_changed;
bool case_sensitive_changed;
bool filter_changed;
bool debian_coreutils_checked_changed;
bool debian_base_checked_changed;
bool x86_checked;
bool x86_checked_changed;
bool x64_checked;
bool x64_checked_changed;
bool go_checked;
bool go_checked_changed;
bool config_changed;
};
#endif // FILTERCONFIG_H