current state of KDE_DEPRECATED ?

Peter Kümmel syntheticpp at gmx.net
Wed Mar 15 19:54:13 GMT 2006


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 ?
> 
> Bye
> Alex
Does it help to include qglobal.h in kdemacros.h?

I don't know what happens when there is such a
definition order:

#define B A
#define A C

Is B then defined to C?

Peter





More information about the kde-core-devel mailing list