KConfigGroup parent() and isValid()

Aaron J. Seigo aseigo at kde.org
Sun Sep 21 19:09:02 BST 2014


On Friday, September 19, 2014 17.28:04 Thomas L├╝bking wrote:
> On Freitag, 19. September 2014 13:06:41 CEST, Aaron J. Seigo wrote:
> > KConfigGroup group = <some valid group>;
> > while (group.isValid()) {
> > 
> > 	group = group.parent();
> > 
> > }
> 
> I'm checking for existance rather than validity in kconfig (great tool, far

That's a nice work around; I still wonder about the existing API though.

-- 
Aaron J. Seigo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20140921/8951d22b/attachment.sig>


More information about the kde-core-devel mailing list