Age | Commit message (Collapse) | Author |
|
The default group if "--group" is not specified is "KDE".
Trying to specify a null group name causes an assert in KConfigGroup::groupImpl().
Explicitly detect and give an error message for a null group name.
Mention in the help text that "<default>" can be used to specify the root group -
this string comes from KConfigGroupPrivate::name().
Add the missing parser.addHelpOption() for kreadconfig.
Update the help strings.
Apply clang-format changes.
I18N:
|
|
clang-tidy checks:
readability-isolate-declaration and readability-braces-around-statements
KF task: https://phabricator.kde.org/T14729
GIT_SILENT
|
|
- Use QString::arg(Args...) instead of .arg().arg()
- Use QLatin1String for string comparisons, should be faster
- Use QLatin1String::arg() for better readability
- Add the comment dfaure suggested in the MR, to explain why it's '2%'
then '%1' in a QString().arg().arg()
NO_CHANGELOG
|
|
NO_CHANGELOG
|
|
NO_CHANGELOG
|
|
Fix some clazy warnings, and some other minor code optimisations.
NO_CHANGELOG
|
|
Summary:
Convert license headers to SPDX statements and add
license files as required by REUSE specification.
Reviewers: cgiboudeaux
Reviewed By: cgiboudeaux
Subscribers: ognarb, cgiboudeaux, kde-frameworks-devel
Tags: #frameworks
Maniphest Tasks: T11550
Differential Revision: https://phabricator.kde.org/D27601
|
|
Summary: Add a simple delete option to kwriteconfig. A possible usecase of this option is to delete unused shortcut bindings.
Reviewers: #frameworks, davidre, dfaure, meven, cfeck, davidedmundson
Reviewed By: davidedmundson
Subscribers: davidedmundson, ngraham, kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D25307
|
|
Summary: compile without foreach
Test Plan: Unittest Ok as previously
Reviewers: dfaure
Reviewed By: dfaure
Subscribers: kde-frameworks-devel
Tags: #frameworks
Differential Revision: https://phabricator.kde.org/D19326
|
|
|
|
Drop KCoreAddons and KI18n dependency.
Add a bunch of QStringLiteral()
|
|
|
|
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=1121163
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=1067076
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=822957
|
|
KConfigBase:
- remove separator argument from list entry reading/writing functions
- introduce {read,write}XdgListEntry()
- kill readPathListEntry(), add readPathEntry() overload
instead. the default value is not optional any more, as it defines the
return type. this is consistent with the readEntry() functions.
- rename clean() => markAsClean(), remove rollback()
- rename ConfigState => AccessMode, getConfigState() => accessMode()
- rename {entry,group}IsImmutable() => is{Entry,Group}Immutable()
- remove NLS alias to Localized
KConfig:
- remove setGroup() & group()
- reshuffle OpenFlag enum, introduce NoCascade for symmetry
- remove setExtraConfigFiles() alias to addConfigSources()
KConfigGroup:
- inherit KConfigBase::deleteGroup() overloads
- make convertToQVariant() private, it will probably change somehow
- KConfig & KConfigGroup: deprecate entryMap()
- remove bogus declarations: KConfigGroup::setReadDefaults(),
KConfig::readEntryUntranslated()
- apidox
- reshuffle the declarations in the headers
svn path=/trunk/KDE/kdebase/runtime/; revision=728852
|
|
needed now because friday is the last BC day. The rest of the modules will follow as fast as my laptop allows.
svn path=/trunk/KDE/kdebase/runtime/; revision=721704
|
|
SIC. Most of the depending code has been auto-converted to new API.
svn path=/trunk/KDE/kdebase/runtime/; revision=682259
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=656776
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=635573
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=635490
|
|
svn path=/trunk/KDE/kdebase/khelpcenter/; revision=628276
|
|
svn path=/trunk/KDE/kdebase/khelpcenter/; revision=485906
|
|
svn path=/trunk/KDE/kdebase/src/kreadconfig/; revision=470530
|
|
svn path=/trunk/KDE/kdebase/src/kreadconfig/; revision=456190
|
|
svn+ssh://coolo@svn.kde.org/home/kde/branches/work/kde4/kdebase .
I couldn't resolve one kicker conflict that results from different
development directions, so I rely on Aaron to sort it out - the file
is commited with conflicts
svn path=/trunk/KDE/kdebase/kioslave/; revision=439627
|
|
svn path=/trunk/kdebase/src/kreadconfig/; revision=361006
|
|
svn path=/trunk/kdebase/src/kreadconfig/; revision=268828
|
|
for kreadconfig.
svn path=/trunk/kdebase/src/kreadconfig/; revision=208341
|