[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: kconfig path with $e?
From: Albert Astals Cid <aacid () kde ! org>
Date: 2012-06-12 18:04:59
Message-ID: 5955983.4gMUQUif0e () xps
[Download RAW message or body]
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 <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic