Expose getter to KConfigWatcher's config
ClosedPublic

Authored by davidedmundson on Dec 10 2019, 9:26 AM.

Details

Summary

It can help save users having to member variables for the config and the
watcher.

Diff Detail

Repository
R237 KConfig
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.Dec 10 2019, 9:26 AM
Restricted Application added a project: Frameworks. · View Herald TranscriptDec 10 2019, 9:26 AM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
davidedmundson requested review of this revision.Dec 10 2019, 9:26 AM
broulik accepted this revision.Dec 10 2019, 10:58 AM
broulik added a subscriber: broulik.
broulik added inline comments.
src/core/kconfigwatcher.h
56

5.66 - tagging for 5.65 was last Sunday

This revision is now accepted and ready to land.Dec 10 2019, 10:58 AM
This revision was automatically updated to reflect the committed changes.
arojas added a subscriber: arojas.Sat, Jan 4, 6:53 PM

This breaks compilation of python bindings:

sip: /build/kconfig/src/build/src/core/sip/PyKF5/KConfigCore/kconfigwatcher.sip:17: ::KConfigWatcher::config() unsupported function return type - provide %MethodCode and a C++ signature