From kde-core-devel Thu Jul 06 23:39:47 2000 From: Date: Thu, 06 Jul 2000 23:39:47 +0000 To: kde-core-devel Subject: Re: Proposal: virtualify KConfigBase::parseConfigFiles() X-MARC-Message: https://marc.info/?l=kde-core-devel&m=96292677524385 On Thu, 6 Jul 2000, Charles wrote: > > I'm using KSimpleConfig to create a stupid rediculous file format, and I want > it to support KIO-files. Well, rather than breaking modularity, I just derive > from KSimpleConfig, and override the destructor and parseConfigFiles so that it > will save and open via the NetAccess class. > > Problem: it won't work, parseConfigFiles is non-virtual, and there would be no > other way to read the file off the network. > > So, I propose that we make that method virtual to allow this. (Since it's > already protected, it seems illogical for it to not be virtual in the first > place :) > Why don't you simply implement a KConfigBackEnd? -- Preston Brown pbrown@redhat.com Red Hat, Inc.