Michael, take a look at https://gitorious.org/qmime it almost finished. Can' 
look at what progress you have, but if you want to start from scratch i don't 
think it is a good idea.

14.09.2011, в 19:41, <[email protected]> 
<[email protected]> написал(а):

Hi,

I'd like to work with you on MIME type support for Qt5. To avoid discussing in 
thin air you can find an initial proposal 
underssh://[email protected]:29418/qt-labs/qtaddonmimetype.git. 
The purpose of the typedefs in the code is to make later refactoring easier. 
During cleanup for a final version, these can all go away if that is the 
general consensus.

Alongside with the API, the code includes a pseudo platform implementation, 
some documentation and unit tests for both C++ and QML which both fail in areas 
that require a proper backend implementation.

The proposal consists of the classes QMimeType, QServiceAction and 
QMimeTypeRegistry.

QMimeType is a value class that contains the actual MIME type e.g. image/png

QServiceAction is a way to specify a user action on a file e.g. open.

QMimeTypeRegistry finally allows MIME types, actions and applications to 
register, and to perform queries on the registry. While the queries are 
straightforward, I am beginning to wonder if the registration part isn't 
actually to system specific to be part of this API.

I am looking forward to your feedback and suggestions.

Michael

PS: Sorry about the previous attempts without subject. I had a fight with 
Outlook Web App under Linux.

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to