dcop incompatibility?

Michael Reiher michael.reiher at gmx.de
Sun Feb 27 12:36:17 GMT 2005


Hi!

The old Kwintv uses:

  QByteArray data;
  m_bHaveKDESaver = kapp->dcopClient()->findObject("kdesktop",
                                                   "KScreensaverIface",
                                                   "enable(bool)",
                                                   data,
                                                   m_screenSaverApp,
                                                   m_screenSaverObj);

to detect whether there is a KDE screensaver available. This used to work 
fine. But recently I noticed, that it obviously doesn't anymore(and thus the 
screensaver, isn't disabled anymore). findObject() apparently doesn't return 
true anymore, even though the dcop object exists. So, has dcop/dcopclient 
changed in an incompatible way?

Greets 

Michael




More information about the kde-core-devel mailing list