Some changes on kio/kio/jobuidelegate

David Faure faure at kde.org
Thu Dec 28 20:10:27 GMT 2006


On Thursday 28 December 2006 21:02, Rafael Fernández López wrote:
> easier doing:
> 
> int theJob = Observer::self()->newJob();
> Observer::self()->setInfoMessage(theJob, "Performing reading operation...");
> 
> than handling DBus calls directly to the UI server.

I'm talking about using the generated dbus interface (uiserveriface.h), so the code would simply look like
  org::kde::KIO::UIServer uiserver("org.kde.kio_uiserver", "/UIServer", QDBusConnection::sessionBus());
  int theJob = uiserver.newJob();
  uiserver.setInfoMessage(theJob, i18n("Performing reading operation..."));

Not so different, is it? ;)

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list