Running queries via dbus
Alex Merry
kde at randomguy3.me.uk
Tue Mar 23 18:26:54 CET 2010
On Monday 22 March 2010 22:05:26 Jacopo De Simoi wrote:
> > Ah, well the issue is that we're trying to pass back a float, but only
> > doubles are registered as valid D-Bus types by default.
> >
> > In particular, Meta::Track has float as the return type of bpm().
> > Perhaps it would be sensible to make this a qreal? Also, score() should
> > probably also return qreal (rather than double) for consistency.
>
> Probably qreal would be the better choice; would it be possible to change
> it only when using dbus, to minimize interference with other parts of the
> code? As far as I can tell this issue makes the dbus query interface
> basically useless in most cases.
Well, yes, but it would be cleaner to just use qreal everywhere.
In fact, I have a commit sitting here that will do just that.
Should I commit it? Esp. Jeff: how much will that screw up your reorganisation
of meta/ stuff?
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/amarok-devel/attachments/20100323/5f0e550f/attachment.sig
More information about the Amarok-devel
mailing list