Review Request: DBus spec compliant service names

Chani chanika at gmail.com
Sat Jun 5 21:24:33 BST 2010


On Wed, Jun 2, 2010 at 11:48 PM, Thiago Macieira <thiago at kde.org> wrote:
> Em Quinta-feira 3. Junho 2010, às 07.27.19, Chani escreveu:
>> > 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.
>>
>> so the application name itself remains unchanged? that makes me happy
>>
>> :) I have a couple of nasty hacks in 4.5 where behaviour depends on
>>
>> whether it's running in plasma-desktop or plasma-netbook (this is a
>> Bad Thing and I'm only doing it because I don't have time for a real
>> solution atm and it absolutely will *not* stick around for 4.6)
>
> No.
>
> The application name needs to be sanitised and it's added to the name of any
> classes without a D-Bus interface name.
>
> QtDBus doesn't know if the class comes from a library or from the application.
> If you need a fixed name, add the Q_CLASSINFO that declares the D-Bus interface
> name.
>

huh?

.. I meant I'm using qApp->applicationName() - not dbus. is that
function going to change?


-- 
This message brought to you by evyl bananas and the number 3.
www.chani3.com




More information about the kde-core-devel mailing list