[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: getting home-folder
From: Thiago Macieira <thiago () kde ! org>
Date: 2007-01-19 18:39:26
Message-ID: 200701191939.34396.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Bischof Philipp wrote:
>I want to save a config file to ~/.qt.
>So I do this:
>
>KSimpleConfig *config = new KSimpleConfig(
>"~/.qt/configfile" );
>...
>config->sync()
~ is expanded by the shell. Anywhere else it's just a tilde and,
therefore, nothing special.
Why don't you use KConfig?
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
[Attachment #5 (application/pgp-signature)]
>> 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