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

List:       kde-core-devel
Subject:    Proposal: virtualify KConfigBase::parseConfigFiles()
From:       Charles <charles () altair ! dhs ! org>
Date:       2000-07-06 20:34:34
[Download RAW message or body]


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 :)

-Charles

--

Charles - charles@kde.org
while(1) fork();

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

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