Changeset View
Changeset View
Standalone View
Standalone View
kcms/keys/kglobalshortcutseditor.h
Show First 20 Lines • Show All 75 Lines • ▼ Show 20 Line(s) | 39 | public: | |||
---|---|---|---|---|---|
76 | * Load the shortcuts from the configuration. | 76 | * Load the shortcuts from the configuration. | ||
77 | */ | 77 | */ | ||
78 | void importConfiguration(KConfigBase *config); | 78 | void importConfiguration(KConfigBase *config); | ||
79 | 79 | | |||
80 | 80 | | |||
81 | /** | 81 | /** | ||
82 | * Save the shortcuts to the configuration. | 82 | * Save the shortcuts to the configuration. | ||
83 | */ | 83 | */ | ||
84 | void exportConfiguration(QStringList componentsFriendly, KConfig *config) const; | 84 | void exportConfiguration(const QStringList &componentsFriendly, KConfig *config) const; | ||
davidedmundson: why not const QStringList & | |||||
85 | 85 | | |||
86 | 86 | | |||
87 | /** | 87 | /** | ||
88 | * Are the unsaved changes? | 88 | * Are the unsaved changes? | ||
89 | */ | 89 | */ | ||
90 | bool isModified() const; | 90 | bool isModified() const; | ||
91 | 91 | | |||
92 | enum ComponentScope | 92 | enum ComponentScope | ||
▲ Show 20 Lines • Show All 61 Lines • Show Last 20 Lines |
why not const QStringList &