Qt - Usage of the QDBusPendingCallWatcher
Bogdan Lotko
boguslaw.lotko at chello.at
Tue Jul 5 23:58:02 PDT 2011
Hello,
Autodelete class? Is it somehow documented? I couldn't find it in the
documentation.
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?
regards,
bogdan
On 7/6/2011 00:17, Valentin Rusu wrote:
> hello,
>
>
> Bogdan Lotko<boguslaw.lotko at chello.at> a écrit :
>
>> Hello,
>>
>> 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,
>>
>> Bogdan
>> _______________________________________________
>> dbus mailing list
>> dbus at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/dbus
>
>
More information about the dbus
mailing list