Review Request: DBus spec compliant service names

Thiago Macieira thiago at kde.org
Wed Jun 2 19:54:54 BST 2010


Em Quarta-feira 2. Junho 2010, às 19.39.27, Aaron J. Seigo escreveu:
> can you point me to anything more specific, e.g. which source files i
> should  be looking at in specific? (time is limited here, i don't have
> enough to exploe QtDBus unfortnately)

Function qDBusInterfaceFromMetaObject in src/dbus/qdbusmisc.cpp.

The application name can contain any characters, so I'd recommend just 
replacing any non-LDU character with _. There's no need for 1:1 relationship.

Domain names can only be registered with Letters, Digits and Hyphens, so you 
can probably just replace - with _. Or just apply the same algorithm.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20100602/3fc9a570/attachment.sig>


More information about the kde-core-devel mailing list