Re: [Development] Ideas for adding an argument with default value to a virtual method

2012-01-24 Thread Stephen Kelly
On Tuesday, January 24, 2012 20:36:53 Thiago Macieira wrote: > On Tuesday, 24 de January de 2012 22.45.54, Stephen Kelly wrote: > > I think it makes sense, but that is an often used and overridden virtual > > method, and changing it would not make the compiler notify about the > > porting need (Ca

Re: [Development] Ideas for adding an argument with default value to a virtual method

2012-01-24 Thread Thiago Macieira
On Tuesday, 24 de January de 2012 22.45.54, Stephen Kelly wrote: > I think it makes sense, but that is an often used and overridden virtual > method, and changing it would not make the compiler notify about the > porting need (Can't expect downstream to be using Q_DECL_OVERRIDE > already). Change

[Development] Ideas for adding an argument with default value to a virtual method

2012-01-24 Thread Stephen Kelly
Hi, https://bugreports.qt.nokia.com/browse/QTBUG-1072 This bug is essentially a request to change the QAIM API: virtual void fetchMore(const QModelIndex &parent); virtual bool canFetchMore(const QModelIndex &parent) const; into: virtual void fetchMore(const QModelIndex &parent,