Changeset View
Changeset View
Standalone View
Standalone View
startkde/startplasma.h
Show All 39 Lines | |||||
40 | void cleanupX11(); | 40 | void cleanupX11(); | ||
41 | bool syncDBusEnvironment(); | 41 | bool syncDBusEnvironment(); | ||
42 | void setupFontDpi(); | 42 | void setupFontDpi(); | ||
43 | QProcess* setupKSplash(); | 43 | QProcess* setupKSplash(); | ||
44 | void setupGSLib(); | 44 | void setupGSLib(); | ||
45 | void setupX11(); | 45 | void setupX11(); | ||
46 | 46 | | |||
47 | bool startKDEInit(); | 47 | bool startKDEInit(); | ||
48 | bool startKSMServer(); | 48 | bool startKSMServer(bool wayland); | ||
broulik: Can you use some flags/enum here, `startKSMServer(false)` isn't very descript. | |||||
49 | 49 | | |||
50 | void waitForKonqi(); | 50 | void waitForKonqi(); | ||
51 | 51 | | |||
52 | struct KillBeforeDeleter | 52 | struct KillBeforeDeleter | ||
53 | { | 53 | { | ||
54 | static inline void cleanup(QProcess *pointer) | 54 | static inline void cleanup(QProcess *pointer) | ||
55 | { | 55 | { | ||
56 | if (pointer) | 56 | if (pointer) | ||
57 | pointer->kill(); | 57 | pointer->kill(); | ||
58 | delete pointer; | 58 | delete pointer; | ||
59 | } | 59 | } | ||
60 | }; | 60 | }; | ||
61 | 61 | | |||
62 | #endif | 62 | #endif |
Can you use some flags/enum here, startKSMServer(false) isn't very descript.