From kde-devel Tue Jun 12 18:04:59 2012 From: Albert Astals Cid Date: Tue, 12 Jun 2012 18:04:59 +0000 To: kde-devel Subject: Re: kconfig path with $e? Message-Id: <5955983.4gMUQUif0e () xps> X-MARC-Message: https://marc.info/?l=kde-devel&m=133952451212153 El Dimarts, 12 de juny de 2012, a les 13:44:58, Luca Ferrari va escriure: > Hi all, > I'm curious to know why the following piece of code that writes a path > into the KDE configuration files: > > KConfigGroup cgWorkspace = slaveConfigPtr->group( "files" ); > cgWorkspace.writePathEntry( "xml-filename" "/tmp/roles.xml" ); > > produces a text file with: > > [files] > xml-filename[$e]=/tmp/roles.xml > > What is the [$e]? I suspect is something to say the key is actually > referred to a path value, but I'm not sure. $e means that if there are enviroment variables they will be expanded and is a result of using writePathEntry. Cheers, Albert P.S: This info comes from David Faure that nicely answered on irc :D > > Thanks. > > >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe > >> << >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<