I returned some feature that are needed not to break QtCreator functionality.

This includes: 
- "QMimeTypeBuilder" (instead of QMutableMimeType) (as Creator allows to edit 
mime types)
- "QList<QMimeType> userMimeTypes" getter and setters in QMimeTypeDatabase (API 
differs from QtCreator, but i don't see any problem here)
- "userMimeTypeFile" getter and setter in QMimeTypeDatabase (to locate where 
are stored user mime types)
- "QList<QMimeMagicRuleMatcher> magicMatchers" getter in QMimeType (as Creator 
displays list of magics)
- Code for saving and loading user mime types. I'm not sure, but we can drop 
this point as it can be implemented in QtCreator using public API

I've dropped support for 'weighted' glob patterns in public API (Builder) as 
David suggested earlier.

Also i removed "clear" method from QMimeType - i don't see need for it if we 
suppose QMimeType to be immutable.

I believe all code except reading/writing user mime types to xml should be 
included in master and this code can be moved to example or unit test.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to