KImageIO::typeForMime()

Waldo Bastian bastian at kde.org
Wed Sep 4 02:03:31 BST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 03 September 2002 05:25 pm, Tim Jansen wrote:
> Hi...
>
> I would like to add a new method to KImageIO:
>
>   /**
>    *  Returns the type of a mime type.
>    */
> static QString typeForMime(const QString& mimeType);
>
> Right now I can not see any other clean way to get the type of a mime type.

Please go ahead. Can you somehow clarify in the comment a little bit better 
that we are talking here about the image type. After all a mime type is a 
type as well. You might need to make some docu changes for that throughout 
the file to keep it consistent.

Cheers,
Waldo
- -- 
bastian at kde.org  |   SuSE Labs KDE Developer  |  bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9dVvjN4pvrENfboIRAmCgAJ4koAC2WDqS9vi6hz2mxwLJsrulJgCeLnq3
OFKYAXFjpYsPXsuJjx0Uhto=
=11Dn
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list