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

List:       kde-core-devel
Subject:    BC question about derived private classes
From:       John Layt <johnlayt () googlemail ! com>
Date:       2011-05-24 12:46:59
Message-ID: 201105241347.00337.johnlayt () googlemail ! com
[Download RAW message or body]

Hi,

KCalendarSystem is a public class with many virtual methods which are 
reimplemented in derived classes such as KCalendarSystemGregorian.  The 
derived classes are not exported or part of the api, only KCalendarSystem is 
exposed, but the derived classes are created and returned in a static factory 
method.  Most of these method re-implementations simply pass the call through 
to the base class implementations.

I'm now marking a number of the base class virtual methods as deprecated, so 
I'm getting lots of warnings on the derived classes where they simply pass the 
call to the base class, so I'm thinking of simply deleting these 
reimplememented methods from the private derived classes.  Would I be right in 
thinking this will not affect BC or cause any problems?

Cheers!

John.
[prev in list] [next in list] [prev in thread] [next in thread] 

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