Re: KDE Frameworks 5.10.0 released

2015-05-09 Thread Jan Kundrát

Hi David,
could you please clarify the release procedure, in particular what 
determines whether commits pushed after the -rc1 tag are included or not?


I pushed a Qt 5.5 build fix to kitemmodels yesterday, but it apparently 
didn't make it through. Not a big deal, of course, but it got me curious. 
Should I send a mail to the release team next time, maybe?


Cheers,
Jan

--
Trojitá, a fast Qt IMAP e-mail client -- http://trojita.flaska.net/


Porting to KF5 - kimageio question

2015-05-09 Thread Martin Koller
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 incorrect.
typeForMime() returned a format string usable for QImage::save(), e.g.
"image/png" returns "PNG"
QMimeType::name() returns the name of the mime type, which is again "image/png",
which I can not pass to QImage::save()
(typeForMime() gives the X-KDE-ImageFormat field from the desktop file, and the 
mime type
is in the X-KDE-MimeType field)

So, is there a REAL alternative for this method ?
-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\- against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at