[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How to read a config file that is not in user home dir
From: Winfried Dobbe <winfried_koeun () zonnet ! nl>
Date: 2004-04-19 20:26:07
Message-ID: 200404192226.07500.winfried_koeun () zonnet ! nl
[Download RAW message or body]
>My application should use a config file that is not in the home dir of the
>logged in user. I try to to do that like this:
For those who might encounter the same: it can be done if you use a name for
the settings file that is different than "myappnamerc". However than you have
to replace the call to KMainWindow::setAutoSaveSettings() by
KMainWindow::applyMainWindowSettings(KConfig*) and
KMainWindow::saveMainWindowSettings(KConfig*).
regards Winfried
>> 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