aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2014-04-26Use KF5_INCLUDE_INSTALL_DIR and KF5_INSTALL_TARGETS_DEFAULT_ARGSAlex Merry
This is instead of INCLUDE_INSTALL_DIR and INSTALL_TARGETS_DEFAULT_ARGS, which will lose the "KF5" suffix from the include path.
2014-04-11Rewrite kiosk documentationAlex Merry
A lot of kiosk stuff is actually in other frameworks, from the point of view of applications, but KConfig provides the core functionality. Make the docs here describe KConfig's role, rather than KIO's or KXMLGui's. REVIEW: 117486
2014-04-02The "trailing semicolon" requirement was relaxed yesterday.David Faure
http://standards.freedesktop.org/desktop-entry-spec/1.1/ar01s03.html
2014-04-01fixed mingw buildPatrick von Reth
2014-03-28guard gcc-specific things with Q_CC_GNU to avoid problems elsewhereDavid Faure
2014-03-28Fix repeated typo in 'override'David Faure
2014-03-28Stop re-loading values inside KCoreConfigSkeleton::save().Matthew Dawson
The extra load of values in KCoreConfigSkeleton is not documented anywhere that it happens, and in normal circumstances re-loading new values isn't expecterd during a save operation. Update various mentions of readConfig/writeConfig to read/save. Update documentation to match the new names of functions. Rename writeConfig() to save() and usrWriteConfig() to usrSave() Rename functions to match the new naming conventions. Also create old deprecated instances of both functions to ensure that old code continues to operate correctly. Also make save() non-virtual, for the same reasons read() is now non-virtual. Rename usrReadConfig to usrRead, to be consistent with the new name for readConfig. Rename usrReadConfig to usrRead, and mark the former as deprecated. To maintain compatibility, usrRead still calls usrReadConfig in its default implementation. usrReadConfig remains empty. REVIEW: 117010
2014-03-25Use the full path for kconf_update when running itAlex Merry
It is not on $PATH, so we cannot just expect QProcess to find it. REVIEW: 117023
2014-03-25Export the location of kconf_update in CMakeAlex Merry
This is for the benefit of kded, which needs to run this binary. REVIEW: 117023
2014-03-25Remove kde3 compatibility code for "DocPath" in desktop filesAlex Merry
LXR suggests nothing still sets that (everything is X-DocPath now). REVIEW: 117003
2014-03-24Rename the kconfig_compiler_kf5 target to kconfig_compilerAlex Merry
Just because the executable has the "_kf5" suffix, that does not mean the target should have it. This is ugly API, and will be unnecessary porting effort for KF6. REVIEW: 116995
2014-03-24Update docs for KDesktopFile::isAuthorizedDesktopFile()Alex Merry
The fact that it changed in KDE 4.3 is not so relevant any more. REVIEW: 116962
2014-03-24Remove unhelpful commentsAlex Merry
These lines of code do not really require any justification. REVIEW: 116962
2014-03-24Better comment for why KDesktopFile::readPath uses readEntryAlex Merry
REVIEW: 116962
2014-03-24Remove old kdelibs4 codeAlex Merry
All this ifdef'd-out code just makes it hard to see what's going on. REVIEW: 116962
2014-03-23Rename readConfig() to load(), to make it clear it's loading from disk.David Faure
As discussed with Matthew Dawson in review 116461.
2014-03-23Revert addition of DelayedParsing, not needed after all.David Faure
2014-03-23Make readConfig() non-virtual anymore, it's not useful.David Faure
Apps can reimplement usrReadConfig() or the readConfig() in every item instead.
2014-03-23Remove unnecessary debug outputDavid Faure
2014-03-23Add KCoreConfigSkeleton::read() which doesn't call reparseConfiguration.David Faure
Call it from generated singletons, since the constructor creates a KConfig from a filename, which already loads from disk. This removes the need for using DelayedParsing. REVIEW: 116845
2014-03-23KStandardDirs -> QStandardPaths in apidoxAlex Merry
2014-03-13KCoreConfigSkeleton: delay parsing until the call to readConfig()David Faure
2014-03-13Normalize vars to avoid odd bugs: QT_REQUIRED_VERSION => REQUIRED_QT_VERSIONAurélien Gâteau
2014-03-01make comment less confusingDavid Faure
2014-03-01we use Qt5 now, so re-enable -DQT_NO_CAST_FROM_BYTEARRAYDavid Faure
2014-02-27Fix interference from kdeplatformtheme into unittestsDavid Faure
kdeplatformtheme would load kdeglobals and the app config file, in order to load settings, before the unittests get a chance to call QStandardPaths::setTestModeEnabled(true). As a result, the test would keep getting references to "wrong" shared config objects, pointing to the real user's locations rather than the test directories. This fixes e.g. kconfigdialog_unittest from kconfigwidgets for me (it only passes on build.kde.org because it doesn't install frameworkintegration for testing this framework) REVIEW: 115963
2014-02-27Add sharedConfig() accessor, to avoid manipulating a raw KConfig * as ↵David Faure
returned by config(). This is useful when using kconfigxt and some other code to read from the same config file (e.g. KColorScheme::contrastF(config)) - no need to call KSharedConfig::openConfig twice, just grab the KSharedConfig from the generated class. REVIEW: 115960
2014-02-20Make kconfig_compiler signals actually useful + add unit testAlex Richardson
Previously the classes generated by kconfig_compiler would only emit the defined signals when using the setters provided by that class. However, when using e.g. KConfigDialog which uses KConfigSkeletonItem::setProperty() to change the items no signal was generated. This patch fixes this by using a wrapper KConfigSkeletonItem subclass that calls a private itemChanged() method in the generated class which updates the set of changed properties. As soon as the item is saved (usrWriteConfig() in the generated class is called) the signal will be emitted REVIEW: 115635 REVIEW: 115634
2014-02-16Use the new syntax for ecm_generate_headers()David Faure
2014-02-10kconfig_compiler: fix typo that prevented using default QDateTime valuesAlex Richardson
2014-01-26SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-25SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-25Generate and install .pri fileDavid Faure
2014-01-25SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-24SVN_SILENT made messages (.desktop file)l10n daemon script
2014-01-15Improve dependency specifications.Michael Palimaka
QtTest and QtConcurrent are only required for autotests, so no need to find them unconditionally. QtWidgets is not actually used - QtGui is instead. REVIEW: 114962
2014-01-11Port kconfig_compiler_kf5 to use QCommandLineParserBhushan Shah
REVIEW: 114937
2014-01-09more rename to kconfig_compiler_kf5Jonathan Riddell
2014-01-09Further renaming to kconfig_compiler_kf5Jonathan Riddell
2014-01-09rename kconfig_compiler to kconfig_compiler_kf5Jonathan Riddell
2014-01-09Use kde5rc instead of kde4rc naming convention, REVIEW: 114917Siddharth Sharma
2014-01-03Install all headers into camelcase FrameworkName.v4.95.0David Faure
2014-01-03Install all headers into camelcase FrameworkName.David Faure
2014-01-01Generate forward headers.David Faure
Install them in the proper directory. Let cmake find them. Had to rename conversion_check.h to conversioncheck.h Had to improve the scripts to support multiple libs in one framework :)
2013-12-30Revert "Workaround corrupted lock files"David Faure
This reverts commit c15e319455b7e93439eb445e2e2670ec3122e697. The real fix is in Qt, let's go back to using lock() here, as intended by QLockFile.
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