Re: Porting to KF5 - kimageio question

2015-05-10 Thread Alex Merry
On Saturday 09 May 2015 22:54:49 Martin Koller wrote: > I'm working on porting kolourpaint to kf5. > Now I find the following: > KDELIBS4SUPPORT_DEPRECATED_EXPORT QStringList typeForMime(const QString > &mimeType); > > The comment says: Use QMimeType::name() instead(). > > However this seems inco

Re: Alternative to QDateTime::isDateOnly ?

2015-05-10 Thread Kevin Kofler
Christian Mollekopf wrote: > 4. Would be pretty good IMO, but unfortunately leads to an unexpressive > interface (because QVariant can't be parametrized with valid values). You would just document in the API documentation what types the returned QVariant can take. Kevin Kofler