[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: How can I use an object of Class KConfig in a KModule program?
From: Carsten Pfeiffer <carpdjih () cetus ! zrz ! tu-berlin ! de>
Date: 2001-06-23 14:55:03
[Download RAW message or body]
On Dienstag, 19. Juni 2001 09:35 qiliang@legend.com wrote:
> I am programming a KModule program, and I want to use an object of
> Class KConfig to save the configuration of my program very much. But I
> searched some source codes of KDE program, in those programs, they used
> KConfig with an object of KApp, How can I use an object of Class KConfig in
> a KModule program?
you mean KCModule? A module for the KDE Control Center? There you simply
create a KConfig object yourself, i.e.
m_config = new KConfig( "yourconfigfile" );
HTH,
Carsten Pfeiffer
>> Visit http://master.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