Changeset View
Changeset View
Standalone View
Standalone View
main.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 58 | public: | |||
---|---|---|---|---|---|
78 | }; | 78 | }; | ||
79 | ~Application() override; | 79 | ~Application() override; | ||
80 | 80 | | |||
81 | void setConfigLock(bool lock); | 81 | void setConfigLock(bool lock); | ||
82 | 82 | | |||
83 | KSharedConfigPtr config() const { | 83 | KSharedConfigPtr config() const { | ||
84 | return m_config; | 84 | return m_config; | ||
85 | } | 85 | } | ||
86 | void setConfig(KSharedConfigPtr config) { | 86 | void setConfig(const KSharedConfigPtr &config) { | ||
87 | m_config = config; | 87 | m_config = config; | ||
88 | } | 88 | } | ||
89 | 89 | | |||
90 | KSharedConfigPtr kxkbConfig() const { | 90 | KSharedConfigPtr kxkbConfig() const { | ||
91 | return m_kxkbConfig; | 91 | return m_kxkbConfig; | ||
92 | } | 92 | } | ||
93 | void setKxkbConfig(KSharedConfigPtr config) { | 93 | void setKxkbConfig(const KSharedConfigPtr &config) { | ||
94 | m_kxkbConfig = config; | 94 | m_kxkbConfig = config; | ||
95 | } | 95 | } | ||
96 | 96 | | |||
97 | KSharedConfigPtr inputConfig() const { | 97 | KSharedConfigPtr inputConfig() const { | ||
98 | return m_inputConfig; | 98 | return m_inputConfig; | ||
99 | } | 99 | } | ||
100 | void setInputConfig(KSharedConfigPtr config) { | 100 | void setInputConfig(const KSharedConfigPtr &config) { | ||
101 | m_inputConfig = config; | 101 | m_inputConfig = config; | ||
102 | } | 102 | } | ||
103 | 103 | | |||
104 | void start(); | 104 | void start(); | ||
105 | /** | 105 | /** | ||
106 | * @brief The operation mode used by KWin. | 106 | * @brief The operation mode used by KWin. | ||
107 | * | 107 | * | ||
108 | * @return OperationMode | 108 | * @return OperationMode | ||
▲ Show 20 Lines • Show All 183 Lines • Show Last 20 Lines |