[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: porting kstars to QtDBus
From: Thiago Macieira <thiago () kde ! org>
Date: 2006-06-18 21:33:40
Message-ID: 200606182333.41080.thiago () kde ! org
[Download RAW message or body]
[Attachment #2 (multipart/signed)]
Jason Harris wrote:
>One question doesn't seem to be addressed there: what is the replacement
> for kapp->dcopClient()->suspend() and kapp->dcopClient()->resume() ?
> We use these functions to allow for "Pause" statements in kstars
> scripts, for example.
There isn't any and I don't plan on coding anything like that.
>My totally naive guess is that I can simply use
>QDBus::sessionBus()->unRegisterObject() in place of suspend(), and then
> call registerObject() again when I want to resume. Will that work?
Yes, it will. Callers will start to receive error replies, though.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech ASA
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
[Attachment #5 (application/pgp-signature)]
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic