forked from KDE/plasma-workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkcms-common_p.h
37 lines (31 loc) · 847 Bytes
/
kcms-common_p.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
/*
SPDX-FileCopyrightText: 2021 Ahmad Samir <[email protected]>
SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
*/
#pragma once
#include <QDBusConnection>
#include <QDBusMessage>
// These two enums are copied from KHintSettings (which copied them from KGlobalSettings)
enum GlobalChangeType {
PaletteChanged = 0,
FontChanged,
StyleChanged, // 2
SettingsChanged,
IconChanged,
CursorChanged, // 5
ToolbarStyleChanged,
ClipboardConfigChanged,
BlockShortcuts,
NaturalSortingChanged,
};
enum GlobalSettingsCategory {
SETTINGS_MOUSE,
SETTINGS_COMPLETION,
SETTINGS_PATHS,
SETTINGS_POPUPMENU,
SETTINGS_QT,
SETTINGS_SHORTCUTS,
SETTINGS_LOCALE,
SETTINGS_STYLE,
};
void notifyKcmChange(GlobalChangeType changeType, int arg = 0);