aboutsummaryrefslogtreecommitdiff
path: root/src/core/ksharedconfig.h
AgeCommit message (Collapse)Author
2020-01-05Add KSharedConfig::openStateConfig for storing state informationNicolas Fella
Summary: A common complaint is that our apps store 'state' information such as recent files or window sizes in their configuration files, making it ugly to store them in version control systems. Therefore we should not store such information in XDG_CONFIG_DIR but instead use XDG_DATA_DIR for this. This patch adds a utility method that creates a KSharedConfig backed by a file in such a suitable location. For e.g. dolphin the file .local/share/dolphin/dolphinstaterc would be created. See T12246 for some context Reviewers: #frameworks, dfaure Reviewed By: dfaure Subscribers: kde-frameworks-devel Tags: #frameworks Differential Revision: https://phabricator.kde.org/D26440
2018-05-04Use overrideLaurent Montel
2018-04-19Warning--Laurent Montel
2017-01-16Fix a few -Wdocumentation warningsKevin Funk
2015-02-25not necessary to have virtual + Q_DECL_OVERRIDEMontel Laurent
2015-02-12Use Q_DECL_OVERRIDE where possibleKevin Funk
With -Winconsistent-missing-override (Clang), headers from KConfig are throwing a lot of warnings. REVIEW: 122539
2014-06-22Make KSharedConfig thread-safeDavid Faure
... by having a different list of shareable objects per thread. REVIEW: 118739
2014-03-23KStandardDirs -> QStandardPaths in apidoxAlex Merry
2013-12-18Code reformatted using kde-dev-scripts/astyle-kdelibs.David Faure
Use git blame -w 867e7a5 to show authorship as it was before this commit.
2013-12-18Move kconfig code to the root directory.Jenkins CI