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

List:       kde-devel
Subject:    Re: Config files
From:       David Sweet <dsweet () Glue ! umd ! edu>
Date:       1998-04-06 17:12:39
[Download RAW message or body]

On Mon, 6 Apr 1998, David Faure wrote:

> On Sun, Apr 05, 1998 at 11:35:42PM -0400, David Sweet wrote:
> > 
> > If I want to make a KConfig file called ~/.kde/config/share/kspellrc, but
> > kspell is not my application's name, can I/should I do it? 
> 
> Simply by telling KApplication the name of config file you want:
> 
> KApplication a (argc, argv, "kspell"); // we want to read kspellrc 
> 
> I did it for ktalkdlg which reads ktalkdrc. No problem.
> 

The problem is kspell is a widget which does not create an instance of
KApplication.  Rather, kspell is instantiated _by_ a KApplication.

David

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

Configure | About | News | Add a list | Sponsored by KoreLogic