Changeset View
Changeset View
Standalone View
Standalone View
kded/configeditor.h
Show All 29 Lines | |||||
30 | { | 30 | { | ||
31 | void setGtk2ConfigValue(const QString ¶mName, const QVariant ¶mValue); | 31 | void setGtk2ConfigValue(const QString ¶mName, const QVariant ¶mValue); | ||
32 | 32 | | |||
33 | void setGtk3ConfigValueGSettings(const QString ¶mName, const QVariant ¶mValue, const QString &category = QStringLiteral("org.gnome.desktop.interface")); | 33 | void setGtk3ConfigValueGSettings(const QString ¶mName, const QVariant ¶mValue, const QString &category = QStringLiteral("org.gnome.desktop.interface")); | ||
34 | void setGtk3ConfigValueGSettingsAsEnum(const QString ¶mName, int paramValue, const QString &category = QStringLiteral("org.gnome.desktop.interface")); | 34 | void setGtk3ConfigValueGSettingsAsEnum(const QString ¶mName, int paramValue, const QString &category = QStringLiteral("org.gnome.desktop.interface")); | ||
35 | void setGtk3ConfigValueSettingsIni(const QString ¶mName, const QVariant ¶mValue); | 35 | void setGtk3ConfigValueSettingsIni(const QString ¶mName, const QVariant ¶mValue); | ||
36 | void setGtk3ConfigValueXSettingsd(const QString ¶mName, const QVariant ¶mValue); | 36 | void setGtk3ConfigValueXSettingsd(const QString ¶mName, const QVariant ¶mValue); | ||
37 | 37 | | |||
38 | void setClientSideDecorations(const QStringList &windowDecorationsButtonsImages); | ||||
38 | void setGtk3Colors(const QMap<QString, QColor> &colorsDefinitions); | 39 | void setGtk3Colors(const QMap<QString, QColor> &colorsDefinitions); | ||
39 | 40 | | |||
40 | QString gtk2ConfigValue(const QString& paramName); | 41 | QString gtk2ConfigValue(const QString& paramName); | ||
41 | QString gtk3ConfigValueSettingsIni(const QString& paramName); | 42 | QString gtk3ConfigValueSettingsIni(const QString& paramName); | ||
42 | 43 | | |||
43 | void removeLegacyGtk2Strings(); | 44 | void removeLegacyGtk2Strings(); | ||
44 | 45 | | |||
46 | | ||||
47 | void saveWindowDecorationsToAssets(const QStringList &windowDecorationsButtonsImages); | ||||
48 | void modifyWindowDecorationsCssFile(); | ||||
49 | | ||||
45 | void addGtkModule(const QString &moduleName); | 50 | void addGtkModule(const QString &moduleName); | ||
46 | 51 | | |||
47 | void addImportStatementToGtkCssUserFile(); | 52 | void addImportStatementsToGtkCssUserFile(); | ||
48 | void modifyColorsCssFile(const QMap<QString, QColor> &colorsDefinitions); | 53 | void modifyColorsCssFile(const QMap<QString, QColor> &colorsDefinitions); | ||
49 | 54 | | |||
50 | void replaceValueInGtkrcContents(QString >krcContents, const QString ¶mName, const QVariant ¶mValue); | 55 | void replaceValueInGtkrcContents(QString >krcContents, const QString ¶mName, const QVariant ¶mValue); | ||
51 | void replaceValueInXSettingsdContents(QString &xSettingsdContents, const QString ¶mName, const QVariant ¶mValue); | 56 | void replaceValueInXSettingsdContents(QString &xSettingsdContents, const QString ¶mName, const QVariant ¶mValue); | ||
52 | 57 | | |||
53 | QString readFileContents(QFile >krc); | 58 | QString readFileContents(QFile >krc); | ||
54 | 59 | | |||
55 | void reloadGtk2Apps(); | 60 | void reloadGtk2Apps(); | ||
56 | void reloadXSettingsd(); | 61 | void reloadXSettingsd(); | ||
57 | 62 | | |||
58 | pid_t pidOfXSettingsd(); | 63 | pid_t pidOfXSettingsd(); | ||
59 | }; | 64 | }; |