Re: Forcing Q_SLOTS on non frameworks code

2013-12-14 Thread Aleix Pol
On Sat, Dec 14, 2013 at 3:58 PM, Albert Astals Cid wrote: > El Dissabte, 14 de desembre de 2013, a les 14:30:14, Kevin Ottens va > escriure: > > On Saturday 14 December 2013 13:55:50 Albert Astals Cid wrote: > > > Hi there, so here I am at the KF5 porting sprint at Barcelona trying to > > > port

Re: Forcing Q_SLOTS on non frameworks code

2013-12-14 Thread Alex Merry
On 14/12/13 15:04, Albert Astals Cid wrote: > Easy peasy. > > extra-cmake-modules/kde-modules/KDECompilerSettings.cmake does > > add_definitions(-DQT_NO_CAST_TO_ASCII > -DQT_NO_CAST_FROM_ASCII > -DQT_STRICT_ITERATORS > -DQT_NO_URL_CAST_FROM_STRING >

Re: Forcing Q_SLOTS on non frameworks code

2013-12-14 Thread Albert Astals Cid
El Dissabte, 14 de desembre de 2013, a les 15:58:49, Albert Astals Cid va escriure: > El Dissabte, 14 de desembre de 2013, a les 14:30:14, Kevin Ottens va escriure: > > On Saturday 14 December 2013 13:55:50 Albert Astals Cid wrote: > > > Hi there, so here I am at the KF5 porting sprint at Barcelo

Re: Forcing Q_SLOTS on non frameworks code

2013-12-14 Thread Albert Astals Cid
El Dissabte, 14 de desembre de 2013, a les 14:30:14, Kevin Ottens va escriure: > On Saturday 14 December 2013 13:55:50 Albert Astals Cid wrote: > > Hi there, so here I am at the KF5 porting sprint at Barcelona trying to > > port libkdegames and I am realizing that I can not use code like > > > >

Re: Forcing Q_SLOTS on non frameworks code

2013-12-14 Thread Kevin Ottens
On Saturday 14 December 2013 13:55:50 Albert Astals Cid wrote: > Hi there, so here I am at the KF5 porting sprint at Barcelona trying to port > libkdegames and I am realizing that I can not use code like > > private slots: > > anymore. > > I understand that for frameworks libraries it is inter

Forcing Q_SLOTS on non frameworks code

2013-12-14 Thread Albert Astals Cid
Hi there, so here I am at the KF5 porting sprint at Barcelona trying to port libkdegames and I am realizing that I can not use code like private slots: anymore. I understand that for frameworks libraries it is interesting to have -DQT_NO_SIGNALS_SLOTS_KEYWORDS defined so we end up with code t