current state of KDE_DEPRECATED ?

Nicolas Goutte nicolasg at snafu.de
Wed Mar 15 19:01:03 GMT 2006


On Wednesday 15 March 2006 19:50, Alexander Neundorf wrote:
> On Wednesday 15 March 2006 19:46, Nicolas Goutte wrote:
> > On Wednesday 15 March 2006 19:38, Alexander Neundorf wrote:
> > > Hi,
> > >
> > > I get a lot of compiler errors due to KDE_DEPRECATED used in front of a
> > > ctor with gcc 3.3.6 .
> >
> > It should be
> > static KDE_DEPRECATED
> > virtual KDE_DEPRECATED
> >
> > (I have just fixed 2 files in kio/kio.)
>
> gcc complained here about the KDE_DEPRECATED:
>
> KDE_DEPRECATED KAction( const QString& text, const KShortcut& cut,
>              const QObject* receiver, const char* slot,
>              KActionCollection* parent, const char* name );
>
> according to KDE4Porting.html it should be ok. Or do I understand something
> wrong ?

Then perhaps we have to do really something for constructors: 
KDE_DEPRECATED_CONSTRUCTOR
:-(

>
> Bye
> Alex

Have a nice day!





More information about the kde-core-devel mailing list