Qt - Usage of the QDBusPendingCallWatcher
boguslaw.lotko at chello.at
Tue Jul 5 23:58:02 PDT 2011
Autodelete class? Is it somehow documented? I couldn't find it in the
I'd like to use one watcher for all calls made from the client, in this
case I think I have to disconnect the signal and destroy the watcher
before the next usage. Is it correct?
On 7/6/2011 00:17, Valentin Rusu wrote:
> Bogdan Lotko<boguslaw.lotko at chello.at> a écrit :
>> Is it allowed to:
>> - disconnect the QDBusPendingCallWatcher instance and its signal from
>> the slot method in the slot method itself, when triggered by the
>> QDBusPendingCallWatcher instance?
>> - delete the QDBusPendingCallWatcher instance in the according slot
>> method itself, when triggered by the QDBusPendingCallWatcher instance?
>> If not - how to do the above operations?
> this is not the intended use case of this class. why would you need to delete it inside the slot, as it's an autodelete class?
>> with best regards,
>> dbus mailing list
>> dbus at lists.freedesktop.org
More information about the dbus