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
|
|
|
|
|
|
kreadconfig only needs to print help when a key is not given or when extra
text is on the end of the command line.
BUG: 335806
|
|
REVIEW:117842
|
|
REVIEW: 117792
|
|
Drop KCoreAddons and KI18n dependency.
Add a bunch of QStringLiteral()
|
|
Required stopping to use some kde4support headers that were magically
injected.
|
|
It's deprecated now
|
|
|
|
|
|
|
|
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=1121163
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=1067076
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=822957
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=813305
|
|
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
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=685984
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=683437
|
|
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=682056
|
|
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/runtime/; revision=603871
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=603865
|
|
with enable-final now) As discussed with Alex it's not necessary to have program name into automoc macro
svn path=/trunk/KDE/kdebase/workspace/kcontrol/locale/; revision=598290
|
|
(there was not a dependancy between <name>_final.cpp file and
moc generated files => moc files were never created)
Not necessary to rebuild all kdelibs just cp kdelibs/cmake/modules/KDE4Macros.cmake <path_kde4>/share/apps/cmake/modules
I ported and tested all kde module (without enable-final argument, it compiles fines (test and program))
Don't try to use enable-final argument for the moment it doesn't compile (but dependancy works)
Regards
svn path=/trunk/KDE/kdebase/workspace/kcontrol/locale/; revision=595039
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=578143
|
|
svn path=/trunk/KDE/kdebase/runtime/; revision=570224
|
|
svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=564549
|
|
svn path=/trunk/KDE/kdebase/coreapps/; revision=544526
|
|
svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=540215
|
|
CMakeLists.txt a bit -remove include_directories( CMAKE_CURRENT_SOURCE_DIR CMAKE_CURRENT_BINARY_DIR) in the subdirs, since this is done now automatically by cmake (the CMAKE_INCLUDE_CURRENT_DIR option -include_directories(KDE4_INCLUDES) in the toplevel CMakeLists.txt, so it doesn't have to be done in every subdir
Alex
svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=539914
|
|
when you install scripts with install(PROGRAMS ...) they're installed executable.
svn path=/trunk/KDE/kdebase/kdebugdialog/; revision=538074
|
|
svn path=/trunk/KDE/kdebase/knetattach/; revision=536279
|
|
Alex
svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=522728
|
|
don't need to include ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} in each and every file anymore [only when subdirs might depend on that].
Also ran a script which makes sure that ${KDE4_INCLUDE_DIR} and ${QT_INCLUDES} are added -last-,
so that installed headers are not preferred over (possibly more uptodate) local headers.
svn path=/trunk/KDE/kdebase/workspace/kcontrol/krdb/; revision=521887
|
|
svn path=/trunk/KDE/kdebase/kdebugdialog/; revision=521468
|