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

List:       kde-devel
Subject:    Re: config files
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2002-11-07 21:57:39
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Donnerstag, 7. November 2002 22:22, Dominik Seichter wrote:
> Hi,
>
> > How can I use a config file in my program?
> > Is there a KDE class to take care of that?
> > I'm thinking of saving data such as: the last opened
> > file, user selected colors, ...
> > I noticed in ~/.kde/... some *rc files, I guess this
> > is what I need.
> > What is the standard for that?
>
> Take a look at the KConfig class, it handles all config file stuff for
> you. The header ist kconfig.h.

Also take a look at KRecentFilesAction

Cheers,
Kevin

- -- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Krammer <kevin.krammer@gmx.at>
Developer at the Kmud Project http://www.kmud.de/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (GNU/Linux)

iD8DBQE9yuHYnKMhG6pzZJIRApJjAJ49rry76r8ILDZuvojtVnIrFZxq9QCfZhav
p1DEjGJfH94P2CYwxDrBX+w=
=71N4
-----END 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