ECM dependency

David Faure faure at kde.org
Thu Jun 20 20:58:57 UTC 2013


Le jeudi 20 juin 2013 19:49:44 Benjamin Port a écrit :
> On Thursday, June 20, 2013 06:10:01 PM David Faure wrote:
> > Please update extra-cmake-modules, otherwise KF5 won't compile.
> > 
> > I changed QT_NO_KEYWORDS to QT_NO_SIGNALS_SLOTS_KEYWORDS
> > so that we can keep using emit and foreach in .cpp files, these don't
> > hurt.
> > 
> > But that means I cleaned stuff up, so you need an up-to-date ECM,
> > otherwise
> > things will break.
> 
> Ok, but what is the guidelines about it? Now we use emit and foreach or the
> Q_ version?

Q_SIGNALS and Q_SLOTS so that the headers are clean.

In .cpp files, foreach or Q_FOREACH, emit or Q_EMIT, doesn't really matter.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE, in particular KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list