Invalid properties names

David Zeuthen david at
Thu Sep 3 16:10:48 PDT 2009

On Thu, 2009-09-03 at 18:36 -0400, Matthias Clasen wrote:
> On Thu, Sep 3, 2009 at 9:27 AM, Davide Bettio<davide.bettio at> wrote:
> > Hi,
> >
> > On May 14th, I've sent a mail (
> > devel/2009-May/000179.html) about properties names in devicekit-disks. As of
> > today, September 3rd, I'm still not able to use it with Qt. Until devicekit-
> > disks is fixed, KDE can't use it. If you won't fix it, I think I will send you
> > a patch for that issue.
> >
> Out of interest, where in the spec did you see anything about property
> names ? I didn't find that. It does forbid dashes in interface names,
> signal names and method names, but property names are just strings as
> far as  the protocol is concerned.
> Unless  I'm missing something...

The D-Bus spec does say something like

  Interface, signal, method, and property names are
  "WindowsStyleCaps", note that the first letter is
  capitalized, unlike Java. 

but AFAICT it is not enforced anywhere except for the fact that it
causes hiccups in at least the Qt code generator. That could probably
easily be fixed in Qt. Either way, we probably want to change this
anyway in DeviceKit-disks as noted in my reply to Davide.


More information about the devkit-devel mailing list