From kde-commits Tue Feb 28 22:44:42 2006 From: Alexander Neundorf Date: Tue, 28 Feb 2006 22:44:42 +0000 To: kde-commits Subject: Re: KDE/kdelibs Message-Id: <200602282344.43519.neundorf () kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=114119260709375 On Tuesday 28 February 2006 22:47, you wrote: > Alexander Neundorf schrieb: > > SVN commit 514629 by neundorf: > > > > compile fixes (gcc 3.3.6) > > > > Alex > > > > --- trunk/KDE/kdelibs/kio/kfile/kurlbar.h #514628:514629 > > @@ -243,9 +243,9 @@ > > * Constructs a KUrlBar. Set @p useGlobalItems to true if you want > > to * allow global/local item separation. > > */ > > - KDE_DEPRECATED > > + > > KUrlBar( bool useGlobalItems, > > - QWidget *parent, const char *name, Qt::WFlags f = 0 ); > > + QWidget *parent, const char *name, Qt::WFlags f = 0 ) > > KDE_DEPRECATED; /** > > * Destroys the KUrlBar. > > */ > > Does gcc really needs KDE_DEPRECATED behind the function? It's just > because msvc can't handle this and in Qt it's in front too... Well, I got a syntax error as it was before. >From kdemacros.h: * For non-inline functions, the macro gets inserted at the very end of the * function declaration, right before the semicolon: * * \code * DeprecatedConstructor() KDE_DEPRECATED; * void deprecatedFunctionA() KDE_DEPRECATED; * int deprecatedFunctionB() const KDE_DEPRECATED; Bye Alex -- Work: alexander.neundorf AT jenoptik.com - http://www.jenoptik-los.de Home: neundorf AT kde.org - http://www.kde.org alex AT neundorf.net - http://www.neundorf.net