Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwinrules/ruleitem.h
Show First 20 Lines • Show All 49 Lines • ▼ Show 20 Line(s) | 37 | public: | |||
---|---|---|---|---|---|
50 | Q_ENUM(Type) | 50 | Q_ENUM(Type) | ||
51 | 51 | | |||
52 | enum Flags { | 52 | enum Flags { | ||
53 | NoFlags = 0, | 53 | NoFlags = 0, | ||
54 | AlwaysEnabled = 1u << 0, | 54 | AlwaysEnabled = 1u << 0, | ||
55 | StartEnabled = 1u << 1, | 55 | StartEnabled = 1u << 1, | ||
56 | AffectsWarning = 1u << 2, | 56 | AffectsWarning = 1u << 2, | ||
57 | AffectsDescription = 1u << 3, | 57 | AffectsDescription = 1u << 3, | ||
58 | AllFlags = 0b1111 | 58 | SuggestionOnly = 1u << 4, | ||
59 | AllFlags = 0b11111 | ||||
59 | }; | 60 | }; | ||
60 | 61 | | |||
61 | public: | 62 | public: | ||
62 | RuleItem() {}; | 63 | RuleItem() {}; | ||
63 | RuleItem(const QString &key, | 64 | RuleItem(const QString &key, | ||
64 | const RulePolicy::Type policyType, | 65 | const RulePolicy::Type policyType, | ||
65 | const Type type, | 66 | const Type type, | ||
66 | const QString &name, | 67 | const QString &name, | ||
▲ Show 20 Lines • Show All 62 Lines • Show Last 20 Lines |