Revision 813498

Go back to digest for 1st June 2008

Other in KDE-PIM

David Faure committed changes in /trunk/KDE/kdepim:

Ported Kontact::UniqueAppHandler to DBUS.
Since it's not possible to have multiple objects with the same path in the same process, the solution has changed a bit: all pim apps which are kuniqueapplications and which have a kontact plugin, now use KPIM::PimApplication from libkdepim, which registers an object with a component-specific name.

This fixes all the tests listed in uniqueapphandler.cpp, for the various interactions between kontact and the standalone applications (except for one bug in KUniqueApplication itself, which was wrongly ported to activeWindow()).

Note: you need to update kdelibs trunk or make KCmdLineArgs::saveAppArgs public in your kcmdlineargs.h installed header.

File Changes

Added 2 files
  • /trunk/KDE/kdepim/libkdepim
  •   /pimapplication.cpp
  •   /pimapplication.h
Modified 17 files
  • /trunk/KDE/kdepim
  •   /kaddressbook/main.cpp
  •   /kjots/CMakeLists.txt
  •   /kjots/main.cpp
  •   /kmail/main.cpp
  •   /knode/knapplication.h
  •   /knotes/application.cpp
  •   /knotes/application.h
  •   /knotes/main.cpp
  •   /kontactinterfaces/uniqueapphandler.cpp
  •   /kontactinterfaces/uniqueapphandler.h
  •   /korganizer/koapp.cpp
  •   /korganizer/koapp.h
  •   /ktimetracker/main.cpp
  •   /libkdepim/CMakeLists.txt
  •   /libkdepim/kaddrbookexternal.cpp
  •   /akregator/src/main.cpp
  •   /kontact/src/main.cpp
19 files changed in total