Add KoGroupwareIntegration to activate no hassle integration with the

Groupware class and the incidence editor in apps. Use it in KOrganizer
and KMail.

For some reason it was sitting on my disks uncommitted, sorry about
that...

CCMAIL: vkrause@kde.org

svn path=/branches/work/akonadi-ports/kdepim/; revision=1075748
wilder-work
Kevin Ottens 16 years ago
parent 4ee4af06a1
commit 79633533e2
  1. 4
      CMakeLists.txt
  2. 6
      kmkernel.cpp

@ -53,7 +53,8 @@ include_directories(
${CMAKE_SOURCE_DIR}/libksieve
${CMAKE_SOURCE_DIR}/libkleo
${CMAKE_SOURCE_DIR}/messagelist
${CMAKE_SOURCE_DIR}/messageviewer/
${CMAKE_SOURCE_DIR}/messageviewer
${CMAKE_SOURCE_DIR}/korganizer
${GPGME_INCLUDES}
${Boost_INCLUDE_DIR}
${CMAKE_SOURCE_DIR}/akonadi/
@ -296,6 +297,7 @@ target_link_libraries(kmailprivate
${QT_QTWEBKIT_LIBRARY}
${NEPOMUK_LIBRARIES}
${NEPOMUK_QUERY_LIBRARIES}
korg_incidenceeditor
)
add_dependencies(kmail_xml akonadi_imap_resource) # generate imapresource.kcfg first

@ -99,6 +99,8 @@ using KMail::TemplateParser;
#include "imapsettings.h"
#include "util.h"
#include "incidenceeditor/kogroupwareintegration.h"
static KMKernel * mySelf = 0;
static bool s_askingToGoOnline = false;
@ -1486,6 +1488,10 @@ void KMKernel::init()
#else
mBackgroundTasksTimer->start( 5 * 60000 ); // 5 minutes, singleshot
#endif
if ( !KOGroupwareIntegration::isActive() ) {
KOGroupwareIntegration::activate();
}
}
void KMKernel::readConfig()

Loading…
Cancel
Save