[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: KConfig: what am I doing wrong?
From: Paul Dwerryhouse <paul () xenu ! ee ! mu ! oz ! au>
Date: 2000-03-20 10:43:05
[Download RAW message or body]
Hi all,
I have the following code (KDE2):
KConfig *kticker_config = kapp->config();
kticker_config->setGroup("General");
QString newsfeed= kticker_config->readEntry("newsfeed");
...which should be reading from a user's ktickerrc file, which contains:
[General]
newsfeed=bbc
Unfortunately, it keeps coming up with newsfeed being NULL.
I'm not entirely sure that it's even reading the rc file, for that matter.
What am I doing wrong?
Ta...
Paul.
--
"The growing use of e-mail, not to mention Web-page | Paul Dwerryhouse
publishing, threatens to reverse the trend towards | paul@xenu.ee.mu.oz.au
illiteracy among the supposedly educated without at the | Melbourne
same time improving their spelling" -Michael Swaine,DDJ | Australia
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic