[PATCH] more fine-grained iDevice support in media-player-info
cfergeau at gmail.com
Tue Jun 14 11:21:43 PDT 2011
2011/6/14 Rajeesh K Nambiar <rajeeshknambiar at gmail.com>:
> On Tue, Jun 14, 2011 at 2:40 PM, Christophe Fergeau <cfergeau at gmail.com> wrote:
>> Don't you have a .ini file/.desktop file parser that could be reused?
> Yes, QSettings can parse INI files fine, but the trouble here is that
> AccessProtocol is of the format "AccessProtocol=storage;ipod", where
> as per INI format, anything after a semicolon ";" is a comment. So, we
> get only "storage" as the access protocol. This is why we had to use
> the QFile implementation.
Maybe KDE has a .desktop file parser that could be reused? .desktop
files have entries like:
More information about the devkit-devel