Use of const arg in KConfigGroup constructors doesn't work with language bindings
coolo at kde.org
Thu Mar 6 07:58:28 GMT 2008
Am Mittwoch, 5. März 2008 schrieb Richard Dale:
> * This variant of the constructor is useful for non-c++ languages
> * without const argument overloading.
> * ### KDE 5 make isConst default to true
> KConfigGroup(KConfigBase *master, const QString &group, bool isConst);
> KConfigGroup(KConfigBase *master, const char *group, bool isConst);
> Is it ok to commit this to the trunk?
I understand your problem, but this basically defeats all purpose of cleaning
up our C++ API ;(
Is there really no better way than adding a "weired" constructor with a bool?
Like maybe a KConstConfigGroup class that is only overwriting the
More information about the kde-core-devel