On Wednesday 21 September 2011 11:13:31 ext Иван Комиссаров wrote:

> > > I took a look at QMimeDatabase, and the first thing that I stumbled over
> > > is the addMimeTypes() method. It creates a dependency on
> > > freedesktop.org.xml or some edited version of it. In my opinion, this
> > > will not work on every platform out there (particulary the smaller
> > > ones). The test cases then seem to use the findByName(), findByData()
> > > and findByFile() methods. They look straightforward to me. The code
> > > about user-modified MIME types I don't find really necessary in the API.
> > > Also, can we leave all mutable methods out of the interface, and let the
> > > individual platform deal with the question on how the data gets into
> > > that database? That would match the discussion we had about my proposal,
> > > too.
> > 
> > I completely agree.
> 
> Why should individual platforms handle adding mime types, if there are only
> 3 ways to add them - from xml (1 or many), from text files, from binary
> database?

I don't like the idea of imposing a database seperate from the one the 
individual platform already has. Also, I don't believe that on mobile 
platforms such as Symbian it is such a good idea to use up valueable flash 
memory.
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to