[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    porting kstars to QtDBus
From:       Jason Harris <kstars () 30doradus ! org>
Date:       2006-06-18 20:38:02
Message-ID: 200606181338.02221.kstars () 30doradus ! org
[Download RAW message or body]

Hello,

I'm following this page: 
http://wiki.kde.org/tiki-index.php?page=Porting%20KDELibs%20to%20D-Bus
to convert KStars to DBus.  

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.

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?

thanks,
Jason
-- 
-------------------------------
KStars: http://edu.kde.org/kstars
Forums: http://kstars.30doradus.org
 
>> 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