[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: getting home-folder
From:       Matthias Lechner <matthias () lmme ! de>
Date:       2007-01-20 12:37:22
Message-ID: 200701201337.22771.matthias () lmme ! de
[Download RAW message or body]

Hi,

the Qt way is to use QDir::homePath().

Best regards
Matthias

Am Freitag, 19. Januar 2007 18:27 schrieb Bischof Philipp:
> I want to save a config file to ~/.qt.
> So I do this:
>
> KSimpleConfig *config = new KSimpleConfig(
> "~/.qt/configfile" );
> ...
> config->sync()
>
> But no file will be saved in ~/.qt. How can I find out
> what the home-path of the user is?
>
>
>
> ___________________________________________________________
> Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
>
> >> 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