[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: KDE/kdelibs
From: Alexander Neundorf <neundorf () kde ! org>
Date: 2006-02-28 22:44:42
Message-ID: 200602282344.43519.neundorf () kde ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic