Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
PIM
KDE PIM Runtime
Commits
73c15dce
Commit
73c15dce
authored
Apr 22, 2014
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix includes/fix search module compile++
parent
b46d9afa
Changes
132
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
132 changed files
with
356 additions
and
305 deletions
+356
-305
resources/CMakeLists.txt
resources/CMakeLists.txt
+33
-5
resources/akonotes/CMakeLists.txt
resources/akonotes/CMakeLists.txt
+1
-1
resources/akonotes/main.cpp
resources/akonotes/main.cpp
+1
-1
resources/birthdays/CMakeLists.txt
resources/birthdays/CMakeLists.txt
+3
-1
resources/birthdays/birthdaysresource.cpp
resources/birthdays/birthdaysresource.cpp
+6
-6
resources/birthdays/birthdaysresource.h
resources/birthdays/birthdaysresource.h
+1
-1
resources/birthdays/configdialog.cpp
resources/birthdays/configdialog.cpp
+2
-0
resources/cmake/FindXsltproc.cmake
resources/cmake/FindXsltproc.cmake
+31
-0
resources/contacts/CMakeLists.txt
resources/contacts/CMakeLists.txt
+0
-7
resources/contacts/contactsresource.cpp
resources/contacts/contactsresource.cpp
+6
-6
resources/contacts/contactsresource.h
resources/contacts/contactsresource.h
+1
-1
resources/dav/common/davutils.cpp
resources/dav/common/davutils.cpp
+2
-2
resources/dav/common/etagcache.cpp
resources/dav/common/etagcache.cpp
+4
-4
resources/dav/resource/davgroupwareresource.cpp
resources/dav/resource/davgroupwareresource.cpp
+7
-7
resources/dav/resource/davgroupwareresource.h
resources/dav/resource/davgroupwareresource.h
+2
-2
resources/dav/resource/davprotocolattribute.h
resources/dav/resource/davprotocolattribute.h
+1
-1
resources/facebook/CMakeLists.txt
resources/facebook/CMakeLists.txt
+3
-3
resources/facebook/facebookresource.cpp
resources/facebook/facebookresource.cpp
+1
-1
resources/folderarchivesettings/CMakeLists.txt
resources/folderarchivesettings/CMakeLists.txt
+1
-1
resources/ical/CMakeLists.txt
resources/ical/CMakeLists.txt
+3
-2
resources/ical/icalresourceplugin.cpp
resources/ical/icalresourceplugin.cpp
+1
-1
resources/ical/notes/notesresource.cpp
resources/ical/notes/notesresource.cpp
+1
-1
resources/ical/shared/icalresourcebase.cpp
resources/ical/shared/icalresourcebase.cpp
+1
-1
resources/icaldir/CMakeLists.txt
resources/icaldir/CMakeLists.txt
+1
-1
resources/icaldir/icaldirresource.cpp
resources/icaldir/icaldirresource.cpp
+3
-3
resources/icaldir/icaldirresource.h
resources/icaldir/icaldirresource.h
+1
-1
resources/imap/CMakeLists.txt
resources/imap/CMakeLists.txt
+2
-2
resources/imap/addcollectiontask.cpp
resources/imap/addcollectiontask.cpp
+1
-1
resources/imap/imapidlemanager.h
resources/imap/imapidlemanager.h
+1
-1
resources/imap/imapresource.cpp
resources/imap/imapresource.cpp
+11
-11
resources/imap/imapresource.h
resources/imap/imapresource.h
+2
-2
resources/imap/noinferiorsattribute.cpp
resources/imap/noinferiorsattribute.cpp
+1
-1
resources/imap/noinferiorsattribute.h
resources/imap/noinferiorsattribute.h
+1
-1
resources/imap/noselectattribute.cpp
resources/imap/noselectattribute.cpp
+1
-1
resources/imap/noselectattribute.h
resources/imap/noselectattribute.h
+1
-1
resources/imap/removecollectionrecursivetask.cpp
resources/imap/removecollectionrecursivetask.cpp
+1
-1
resources/imap/resourcestate.cpp
resources/imap/resourcestate.cpp
+2
-2
resources/imap/resourcetask.cpp
resources/imap/resourcetask.cpp
+1
-1
resources/imap/retrievecollectionmetadatatask.cpp
resources/imap/retrievecollectionmetadatatask.cpp
+2
-2
resources/imap/retrievecollectionstask.cpp
resources/imap/retrievecollectionstask.cpp
+3
-3
resources/imap/retrievecollectionstask.h
resources/imap/retrievecollectionstask.h
+1
-1
resources/imap/retrieveitemstask.cpp
resources/imap/retrieveitemstask.cpp
+8
-8
resources/imap/retrieveitemtask.cpp
resources/imap/retrieveitemtask.cpp
+1
-1
resources/imap/setupserver.cpp
resources/imap/setupserver.cpp
+5
-5
resources/imap/setupserver.h
resources/imap/setupserver.h
+1
-1
resources/imap/tests/testretrievecollectionmetadatatask.cpp
resources/imap/tests/testretrievecollectionmetadatatask.cpp
+2
-2
resources/imap/tests/testretrievecollectionstask.cpp
resources/imap/tests/testretrievecollectionstask.cpp
+3
-3
resources/imap/tests/testretrieveitemstask.cpp
resources/imap/tests/testretrieveitemstask.cpp
+3
-3
resources/imap/timestampattribute.cpp
resources/imap/timestampattribute.cpp
+1
-1
resources/imap/timestampattribute.h
resources/imap/timestampattribute.h
+1
-1
resources/imap/uidnextattribute.cpp
resources/imap/uidnextattribute.cpp
+1
-1
resources/imap/uidnextattribute.h
resources/imap/uidnextattribute.h
+1
-1
resources/imap/uidvalidityattribute.cpp
resources/imap/uidvalidityattribute.cpp
+1
-1
resources/imap/uidvalidityattribute.h
resources/imap/uidvalidityattribute.h
+1
-1
resources/kalarm/kalarm/kalarmresource.cpp
resources/kalarm/kalarm/kalarmresource.cpp
+5
-5
resources/kalarm/kalarmdir/kalarmdirresource.cpp
resources/kalarm/kalarmdir/kalarmdirresource.cpp
+11
-11
resources/kalarm/kalarmdir/kalarmdirresource.h
resources/kalarm/kalarmdir/kalarmdirresource.h
+1
-1
resources/kalarm/shared/kalarmresourcecommon.cpp
resources/kalarm/shared/kalarmresourcecommon.cpp
+2
-2
resources/kdeaccounts/CMakeLists.txt
resources/kdeaccounts/CMakeLists.txt
+1
-1
resources/kdeaccounts/kdeaccountsresource.cpp
resources/kdeaccounts/kdeaccountsresource.cpp
+1
-1
resources/kolabproxy/CMakeLists.txt
resources/kolabproxy/CMakeLists.txt
+2
-2
resources/kolabproxy/kolabproxyresource.cpp
resources/kolabproxy/kolabproxyresource.cpp
+1
-1
resources/kolabproxy/notehandler.cpp
resources/kolabproxy/notehandler.cpp
+1
-1
resources/kolabproxy/tests/clientsidetest.cpp
resources/kolabproxy/tests/clientsidetest.cpp
+3
-3
resources/kolabproxy/tests/imapsignaltest.cpp
resources/kolabproxy/tests/imapsignaltest.cpp
+3
-3
resources/kolabproxy/tests/kolabconvertertest.cpp
resources/kolabproxy/tests/kolabconvertertest.cpp
+1
-1
resources/kolabproxy/tests/proxyintegrationtest.cpp
resources/kolabproxy/tests/proxyintegrationtest.cpp
+2
-2
resources/localbookmarks/CMakeLists.txt
resources/localbookmarks/CMakeLists.txt
+1
-7
resources/localbookmarks/localbookmarksresource.h
resources/localbookmarks/localbookmarksresource.h
+2
-2
resources/maildir/CMakeLists.txt
resources/maildir/CMakeLists.txt
+1
-1
resources/maildir/libmaildir/maildir.cpp
resources/maildir/libmaildir/maildir.cpp
+1
-1
resources/maildir/libmaildir/maildir.h
resources/maildir/libmaildir/maildir.h
+1
-1
resources/maildir/libmaildir/tests/testmaildir.cpp
resources/maildir/libmaildir/tests/testmaildir.cpp
+1
-1
resources/maildir/maildirresource.cpp
resources/maildir/maildirresource.cpp
+9
-9
resources/maildir/maildirresource.h
resources/maildir/maildirresource.h
+2
-2
resources/maildir/main.cpp
resources/maildir/main.cpp
+1
-1
resources/maildir/retrieveitemsjob.cpp
resources/maildir/retrieveitemsjob.cpp
+6
-6
resources/maildir/tests/synctest.cpp
resources/maildir/tests/synctest.cpp
+1
-1
resources/mailtransport_dummy/CMakeLists.txt
resources/mailtransport_dummy/CMakeLists.txt
+1
-1
resources/mbox/CMakeLists.txt
resources/mbox/CMakeLists.txt
+1
-1
resources/mbox/compactpage.cpp
resources/mbox/compactpage.cpp
+2
-2
resources/mbox/deleteditemsattribute.h
resources/mbox/deleteditemsattribute.h
+1
-1
resources/mbox/mboxresource.cpp
resources/mbox/mboxresource.cpp
+7
-7
resources/mixedmaildir/CMakeLists.txt
resources/mixedmaildir/CMakeLists.txt
+2
-2
resources/mixedmaildir/compactchangehelper.cpp
resources/mixedmaildir/compactchangehelper.cpp
+6
-6
resources/mixedmaildir/kmindexreader/kmindexreader.cpp
resources/mixedmaildir/kmindexreader/kmindexreader.cpp
+1
-1
resources/mixedmaildir/kmindexreader/kmindexreader.h
resources/mixedmaildir/kmindexreader/kmindexreader.h
+1
-1
resources/mixedmaildir/kmindexreader/tests/testidxreader.cpp
resources/mixedmaildir/kmindexreader/tests/testidxreader.cpp
+1
-1
resources/mixedmaildir/mixedmaildirresource.cpp
resources/mixedmaildir/mixedmaildirresource.cpp
+8
-8
resources/mixedmaildir/mixedmaildirresource.h
resources/mixedmaildir/mixedmaildirresource.h
+1
-1
resources/mixedmaildir/mixedmaildirstore.cpp
resources/mixedmaildir/mixedmaildirstore.cpp
+3
-3
resources/mixedmaildir/retrieveitemsjob.cpp
resources/mixedmaildir/retrieveitemsjob.cpp
+12
-12
resources/mixedmaildir/tests/itemfetchtest.cpp
resources/mixedmaildir/tests/itemfetchtest.cpp
+2
-2
resources/mixedmaildir/tests/itemmodifytest.cpp
resources/mixedmaildir/tests/itemmodifytest.cpp
+2
-2
resources/mixedmaildir/tests/templatemethodstest.cpp
resources/mixedmaildir/tests/templatemethodstest.cpp
+2
-2
resources/nntp/CMakeLists.txt
resources/nntp/CMakeLists.txt
+1
-1
resources/nntp/nntpcollectionattribute.h
resources/nntp/nntpcollectionattribute.h
+1
-1
resources/nntp/nntpresource.cpp
resources/nntp/nntpresource.cpp
+8
-8
resources/nntp/nntpresource.h
resources/nntp/nntpresource.h
+1
-1
resources/openxchange/CMakeLists.txt
resources/openxchange/CMakeLists.txt
+1
-1
resources/openxchange/openxchangeresource.cpp
resources/openxchange/openxchangeresource.cpp
+6
-6
resources/openxchange/openxchangeresource.h
resources/openxchange/openxchangeresource.h
+1
-1
resources/openxchange/oxa/contactutils.cpp
resources/openxchange/oxa/contactutils.cpp
+1
-1
resources/openxchange/oxa/users.cpp
resources/openxchange/oxa/users.cpp
+1
-1
resources/pop3/CMakeLists.txt
resources/pop3/CMakeLists.txt
+4
-4
resources/pop3/accountdialog.cpp
resources/pop3/accountdialog.cpp
+3
-3
resources/pop3/pop3resource.cpp
resources/pop3/pop3resource.cpp
+3
-3
resources/pop3/pop3resourceattribute.h
resources/pop3/pop3resourceattribute.h
+1
-1
resources/pop3/tests/pop3test.cpp
resources/pop3/tests/pop3test.cpp
+1
-1
resources/shared/collectionannotationsattribute.cpp
resources/shared/collectionannotationsattribute.cpp
+1
-1
resources/shared/collectionannotationsattribute.h
resources/shared/collectionannotationsattribute.h
+1
-1
resources/shared/collectionflagsattribute.cpp
resources/shared/collectionflagsattribute.cpp
+1
-1
resources/shared/collectionflagsattribute.h
resources/shared/collectionflagsattribute.h
+1
-1
resources/shared/createandsettagsjob.cpp
resources/shared/createandsettagsjob.cpp
+2
-2
resources/shared/createandsettagsjob.h
resources/shared/createandsettagsjob.h
+2
-2
resources/shared/filestore/abstractlocalstore.cpp
resources/shared/filestore/abstractlocalstore.cpp
+2
-2
resources/shared/filestore/collectionfetchjob.cpp
resources/shared/filestore/collectionfetchjob.cpp
+1
-1
resources/shared/filestore/collectionfetchjob.h
resources/shared/filestore/collectionfetchjob.h
+1
-1
resources/shared/filestore/itemfetchjob.cpp
resources/shared/filestore/itemfetchjob.cpp
+1
-1
resources/shared/filestore/itemfetchjob.h
resources/shared/filestore/itemfetchjob.h
+1
-1
resources/shared/filestore/itemmodifyjob.h
resources/shared/filestore/itemmodifyjob.h
+1
-1
resources/shared/filestore/session_p.h
resources/shared/filestore/session_p.h
+2
-2
resources/shared/imapaclattribute.h
resources/shared/imapaclattribute.h
+1
-1
resources/shared/imapquotaattribute.h
resources/shared/imapquotaattribute.h
+1
-1
resources/shared/singlefileresource.h
resources/shared/singlefileresource.h
+1
-1
resources/shared/singlefileresourcebase.cpp
resources/shared/singlefileresourcebase.cpp
+4
-4
resources/shared/singlefileresourcebase.h
resources/shared/singlefileresourcebase.h
+1
-1
resources/vcard/CMakeLists.txt
resources/vcard/CMakeLists.txt
+1
-1
resources/vcard/vcardresource.cpp
resources/vcard/vcardresource.cpp
+2
-2
resources/vcarddir/CMakeLists.txt
resources/vcarddir/CMakeLists.txt
+1
-1
resources/vcarddir/vcarddirresource.cpp
resources/vcarddir/vcarddirresource.cpp
+3
-3
resources/vcarddir/vcarddirresource.h
resources/vcarddir/vcarddirresource.h
+1
-1
No files found.
resources/CMakeLists.txt
View file @
73c15dce
project
(
resources
)
find_package
(
ECM 0.0.12 CONFIG REQUIRED
)
set
(
CMAKE_MODULE_PATH
${
resources_SOURCE_DIR
}
/cmake
${
ECM_MODULE_PATH
}
)
include
(
GenerateExportHeader
)
include
(
ECMGenerateHeaders
)
include
(
ECMGeneratePriFile
)
include
(
ECMPackageConfigHelpers
)
include
(
ECMSetupVersion
)
include
(
FeatureSummary
)
include
(
KDEInstallDirs
)
include
(
KDECMakeSettings
)
include
(
KDEFrameworkCompilerSettings
)
set
(
KF5_VERSION
"4.98.0"
)
set
(
QT_REQUIRED_VERSION
"5.2.0"
)
find_package
(
KF5Config
${
KF5_VERSION
}
CONFIG REQUIRED
)
find_package
(
KF5KDELibs4Support
${
KF5_VERSION
}
CONFIG REQUIRED
)
find_package
(
KF5Akonadi
${
KF5_VERSION
}
CONFIG REQUIRED
)
find_package
(
KF5CalendarCore
${
KF5_VERSION
}
CONFIG REQUIRED
)
find_package
(
KF5PimUtils
${
KF5_VERSION
}
CONFIG REQUIRED
)
find_package
(
KF5Abc
${
KF5_VERSION
}
CONFIG REQUIRED
)
# Xsltproc
find_package
(
Xsltproc
)
set_package_properties
(
Xsltproc PROPERTIES DESCRIPTION
"XSLT processor from libxslt"
TYPE REQUIRED PURPOSE
"Required to generate D-Bus interfaces for all Akonadi resources."
)
#add_definitions( -DQT_NO_CAST_FROM_ASCII )
#add_definitions( -DQT_NO_CAST_TO_ASCII )
...
...
@@ -38,19 +66,19 @@ set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES
#add_subdirectory( akonotes )
#add_subdirectory( kalarm )
#add_subdirectory( contacts )
#
macro_optional_
add_subdirectory( dav )
#add_subdirectory( dav )
#add_subdirectory( ical )
#add_subdirectory( imap )
#
macro_optional_
add_subdirectory( kdeaccounts )
#add_subdirectory( kdeaccounts )
#if (Libkolab_FOUND AND Libkolabxml_FOUND)
# macro_optional_add_subdirectory( kolabproxy )
#endif()
#macro_optional_
add_subdirectory( localbookmarks )
add_subdirectory
(
localbookmarks
)
#add_subdirectory( maildir )
#
macro_optional_
add_subdirectory( openxchange )
#add_subdirectory( openxchange )
#add_subdirectory( pop3 )
#if( LibKGAPI2_FOUND )
...
...
@@ -62,7 +90,7 @@ set( AKONADI_IMAPATTRIBUTES_SHARED_SOURCES
#endif()
#add_subdirectory( shared )
#
add_subdirectory( birthdays )
add_subdirectory
(
birthdays
)
#add_subdirectory( mixedmaildir )
#add_subdirectory( mailtransport_dummy )
#add_subdirectory( mbox )
...
...
resources/akonotes/CMakeLists.txt
View file @
73c15dce
...
...
@@ -36,7 +36,7 @@ install( FILES akonotesresource.desktop DESTINATION "${CMAKE_INSTALL_PREFIX}/sha
add_library
(
akonadi_akonotes_resource MODULE
${
akonotesresource_SRCS
}
)
target_link_libraries
(
akonadi_akonotes_resource KF5::AkonadiCore
${
KDEPIMLIBS_AKONADI_KMIME_LIBS
}
maildir
${
QT_QTDBUS_LIBRARY
}
KF5::KIOCore KF5::KMime folderarchivesettings
)
target_link_libraries
(
akonadi_akonotes_resource KF5::AkonadiCore
KF5::AkonadiKMime maildir
KF5::KIOCore KF5::KMime folderarchivesettings
)
install
(
TARGETS akonadi_akonotes_resource DESTINATION
${
PLUGIN_INSTALL_DIR
}
)
resources/akonotes/main.cpp
View file @
73c15dce
...
...
@@ -19,6 +19,6 @@
#include "akonotesresource.h"
#include <
akonadi/
agentfactory.h>
#include <agentfactory.h>
AKONADI_AGENT_FACTORY
(
AkonotesResource
,
akonadi_akonotes_resource
)
resources/birthdays/CMakeLists.txt
View file @
73c15dce
...
...
@@ -2,6 +2,7 @@ include_directories( ${Boost_INCLUDE_DIR} )
kde_enable_exceptions
()
set
(
birthdayresource_srcs
birthdaysresource.cpp
configdialog.cpp
...
...
@@ -26,9 +27,10 @@ endif ()
target_link_libraries
(
akonadi_birthdays_resource
KF5::KIOCore
KF5::AkonadiCore
${
KDEPIMLIBS_KABC_LIBS
}
KF5::CalendarCore
KF5::PimUtils
KF5::AkonadiAgentBase
KF5::Abc
)
install
(
TARGETS akonadi_birthdays_resource
${
INSTALL_TARGETS_DEFAULT_ARGS
}
)
...
...
resources/birthdays/birthdaysresource.cpp
View file @
73c15dce
...
...
@@ -23,12 +23,12 @@
#include "settingsadaptor.h"
#include "configdialog.h"
#include <
akonadi/
collectionfetchjob.h>
#include <
akonadi/
itemfetchjob.h>
#include <
akonadi/
itemfetchscope.h>
#include <
akonadi/
mimetypechecker.h>
#include <
akonadi/
monitor.h>
#include <
akonadi/
entitydisplayattribute.h>
#include <collectionfetchjob.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <mimetypechecker.h>
#include <monitor.h>
#include <entitydisplayattribute.h>
#include <kabc/addressee.h>
...
...
resources/birthdays/birthdaysresource.h
View file @
73c15dce
...
...
@@ -23,7 +23,7 @@
#include <kcalcore/event.h>
#include <
akonadi/
resourcebase.h>
#include <resourcebase.h>
#include <QHash>
...
...
resources/birthdays/configdialog.cpp
View file @
73c15dce
...
...
@@ -22,6 +22,8 @@
#include "settings.h"
#include <kconfigdialogmanager.h>
#include <KIcon>
#include <KLocalizedString>
ConfigDialog
::
ConfigDialog
(
QWidget
*
parent
)
:
KDialog
(
parent
)
...
...
resources/cmake/FindXsltproc.cmake
0 → 100644
View file @
73c15dce
# Find xsltproc executable and provide a macro to generate D-Bus interfaces.
#
# The following variables are defined :
# XSLTPROC_EXECUTABLE - path to the xsltproc executable
# Xsltproc_FOUND - true if the program was found
#
find_program
(
XSLTPROC_EXECUTABLE xsltproc DOC
"Path to the xsltproc executable"
)
mark_as_advanced
(
XSLTPROC_EXECUTABLE
)
if
(
XSLTPROC_EXECUTABLE
)
set
(
Xsltproc_FOUND TRUE
)
# We depend on kdepimlibs, make sure it's found
if
(
NOT DEFINED KDEPIMLIBS_DATA_DIR
)
find_package
(
KdepimLibs REQUIRED
)
endif
()
# Macro to generate a D-Bus interface description from a KConfigXT file
macro
(
kcfg_generate_dbus_interface _kcfg _name
)
add_custom_command
(
OUTPUT
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
_name
}
.xml
COMMAND
${
XSLTPROC_EXECUTABLE
}
--stringparam interfaceName
${
_name
}
${
KDEPIMLIBS_DATA_DIR
}
/akonadi-kde/kcfg2dbus.xsl
${
_kcfg
}
>
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
_name
}
.xml
DEPENDS
${
KDEPIMLIBS_DATA_DIR
}
/akonadi-kde/kcfg2dbus.xsl
${
_kcfg
}
)
endmacro
()
endif
()
resources/contacts/CMakeLists.txt
View file @
73c15dce
include_directories
(
${
kdepim-runtime_SOURCE_DIR
}
${
QT_QTDBUS_INCLUDE_DIR
}
)
kde_enable_exceptions
()
add_subdirectory
(
wizard
)
...
...
@@ -27,8 +22,6 @@ add_library(akonadi_contacts_resource MODULE ${contactsresource_SRCS})
target_link_libraries
(
akonadi_contacts_resource
KF5::AkonadiCore
${
QT_QTCORE_LIBRARY
}
${
KDE4_KDECORE_LIBS
}
${
KDEPIMLIBS_KABC_LIBS
}
KF5::KIOCore
)
...
...
resources/contacts/contactsresource.cpp
View file @
73c15dce
...
...
@@ -27,12 +27,12 @@
#include <QtCore/QDirIterator>
#include <QtCore/QFile>
#include <
akonadi/
changerecorder.h>
#include <
akonadi/
collectionfetchscope.h>
#include <
akonadi/
entitydisplayattribute.h>
#include <
akonadi/
itemfetchscope.h>
#include <
akonadi/
dbusconnectionpool.h>
#include <
akonadi/
agentfactory.h>
#include <changerecorder.h>
#include <collectionfetchscope.h>
#include <entitydisplayattribute.h>
#include <itemfetchscope.h>
#include <dbusconnectionpool.h>
#include <agentfactory.h>
using
namespace
Akonadi
;
using
namespace
Akonadi_Contacts_Resource
;
...
...
resources/contacts/contactsresource.h
View file @
73c15dce
...
...
@@ -20,7 +20,7 @@
#ifndef CONTACTSRESOURCE_H
#define CONTACTSRESOURCE_H
#include <
akonadi/
resourcebase.h>
#include <resourcebase.h>
#include <kabc/addressee.h>
#include <kabc/contactgroup.h>
...
...
resources/dav/common/davutils.cpp
View file @
73c15dce
...
...
@@ -22,8 +22,8 @@
#include "davprotocolattribute.h"
#include "davprotocolbase.h"
#include <
akonadi/
collection.h>
#include <
akonadi/
item.h>
#include <collection.h>
#include <item.h>
#include <kabc/addressee.h>
#include <kabc/vcardconverter.h>
#include <kcalcore/icalformat.h>
...
...
resources/dav/common/etagcache.cpp
View file @
73c15dce
...
...
@@ -18,10 +18,10 @@
#include "etagcache.h"
#include <
akonadi/
collection.h>
#include <
akonadi/
item.h>
#include <
akonadi/
itemfetchjob.h>
#include <
akonadi/
itemfetchscope.h>
#include <collection.h>
#include <item.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <kdebug.h>
#include <kjob.h>
...
...
resources/dav/resource/davgroupwareresource.cpp
View file @
73c15dce
...
...
@@ -43,13 +43,13 @@
#include <kdatetime.h>
#include <kjob.h>
#include <
akonadi/
attributefactory.h>
#include <
akonadi/
cachepolicy.h>
#include <
akonadi/
changerecorder.h>
#include <
akonadi/
collectionfetchscope.h>
#include <
akonadi/
entitydisplayattribute.h>
#include <
akonadi/
itemfetchjob.h>
#include <
akonadi/
itemfetchscope.h>
#include <attributefactory.h>
#include <cachepolicy.h>
#include <changerecorder.h>
#include <collectionfetchscope.h>
#include <entitydisplayattribute.h>
#include <itemfetchjob.h>
#include <itemfetchscope.h>
#include <kabc/addressee.h>
#include <kabc/vcardconverter.h>
...
...
resources/dav/resource/davgroupwareresource.h
View file @
73c15dce
...
...
@@ -21,8 +21,8 @@
#include "etagcache.h"
#include <
akonadi/
resourcebase.h>
#include <
akonadi/
calendar/freebusyproviderbase.h>
#include <resourcebase.h>
#include <calendar/freebusyproviderbase.h>
class
DavFreeBusyHandler
;
class
KDateTime
;
...
...
resources/dav/resource/davprotocolattribute.h
View file @
73c15dce
...
...
@@ -19,7 +19,7 @@
#ifndef DAVPROTOCOLATTRIBUTE_H
#define DAVPROTOCOLATTRIBUTE_H
#include <
akonadi/
attribute.h>
#include <attribute.h>
#include <QtCore/QString>
...
...
resources/facebook/CMakeLists.txt
View file @
73c15dce
...
...
@@ -62,9 +62,9 @@ target_link_libraries(akonadi_facebook_resource
KF5::AkonadiCore
${
KDEPIMLIBS_KABC_LIBS
}
KF5::CalendarCore
${
QT_QTCORE_LIBRARY
}
${
QT_QTGUI_LIBRARY
}
${
QT_QTDBUS_LIBRARY
}
${
QJSON_LIBRARIES
}
${
KDE4_KDECORE_LIBS
}
KF5::KMime
...
...
resources/facebook/facebookresource.cpp
View file @
73c15dce
...
...
@@ -48,7 +48,7 @@
#include <Akonadi/ItemFetchJob>
#include <Akonadi/ItemFetchScope>
#include <Akonadi/ChangeRecorder>
#include <
akonadi/
notes/noteutils.h> //krazy:exclude=camelcase wait for kdepimlibs 4.11
#include <notes/noteutils.h> //krazy:exclude=camelcase wait for kdepimlibs 4.11
#include <Akonadi/SocialUtils/SocialNetworkAttributes>
...
...
resources/folderarchivesettings/CMakeLists.txt
View file @
73c15dce
...
...
@@ -20,7 +20,7 @@ kde4_add_library(folderarchivesettings ${LIBRARY_TYPE} ${folderarchivesettings_S
target_link_libraries
(
folderarchivesettings
KF5::KMime
${
AKONADI_COMMON_LIBRARIES
}
${
QT_QTGUI_LIBRARY
}
KF5::AkonadiCore
)
...
...
resources/ical/CMakeLists.txt
View file @
73c15dce
...
...
@@ -10,7 +10,8 @@ kde_enable_exceptions()
add_subdirectory
(
wizard
)
add_subdirectory
(
notes
)
add_subdirectory
(
tests
)
#REACTIVATE IT
#add_subdirectory( tests )
########### next target ###############
add_definitions
(
-DSETTINGS_NAMESPACE=Akonadi_ICal_Resource
)
...
...
@@ -39,6 +40,6 @@ if (Q_WS_MAC)
set_target_properties
(
akonadi_ical_resource PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"KDE Akonadi ICal Resource"
)
endif
()
target_link_libraries
(
akonadi_ical_resource KF5::AkonadiCore
${
QT_QTDBUS_LIBRARY
}
KF5::KIOCore KF5::CalendarCore
)
target_link_libraries
(
akonadi_ical_resource KF5::AkonadiCore KF5::KIOCore KF5::CalendarCore
)
install
(
TARGETS akonadi_ical_resource DESTINATION
${
PLUGIN_INSTALL_DIR
}
)
resources/ical/icalresourceplugin.cpp
View file @
73c15dce
...
...
@@ -19,7 +19,7 @@
#include "icalresource.h"
#include <
akonadi/
agentfactory.h>
#include <agentfactory.h>
#include <QtCore/QtPlugin>
...
...
resources/ical/notes/notesresource.cpp
View file @
73c15dce
...
...
@@ -19,7 +19,7 @@
#include "notesresource.h"
#include <
akonadi/
agentfactory.h>
#include <agentfactory.h>
#include <kcalcore/incidence.h>
...
...
resources/ical/shared/icalresourcebase.cpp
View file @
73c15dce
...
...
@@ -22,7 +22,7 @@
#include "icalsettingsadaptor.h"
#include "singlefileresourceconfigdialog.h"
#include <
akonadi/
dbusconnectionpool.h>
#include <dbusconnectionpool.h>
#include <kcalcore/filestorage.h>
#include <kcalcore/memorycalendar.h>
...
...
resources/icaldir/CMakeLists.txt
View file @
73c15dce
...
...
@@ -33,7 +33,7 @@ endif ()
target_link_libraries
(
akonadi_icaldir_resource
KF5::AkonadiCore
${
QT_QTCORE_LIBRARY
}
${
KDE4_KDECORE_LIBS
}
KF5::CalendarCore
KF5::KIOCore
...
...
resources/icaldir/icaldirresource.cpp
View file @
73c15dce
...
...
@@ -24,9 +24,9 @@
#include "settingsadaptor.h"
#include "../shared/dirsettingsdialog.h"
#include <
akonadi/
changerecorder.h>
#include <
akonadi/
entitydisplayattribute.h>
#include <
akonadi/
itemfetchscope.h>
#include <changerecorder.h>
#include <entitydisplayattribute.h>
#include <itemfetchscope.h>
#include <KCalCore/MemoryCalendar>
#include <KCalCore/FileStorage>
...
...
resources/icaldir/icaldirresource.h
View file @
73c15dce
...
...
@@ -21,7 +21,7 @@
#ifndef ICALDIRRESOURCE_H
#define ICALDIRRESOURCE_H
#include <
akonadi/
resourcebase.h>
#include <resourcebase.h>
#include <KCalCore/Incidence>
...
...
resources/imap/CMakeLists.txt
View file @
73c15dce
...
...
@@ -47,7 +47,7 @@ set( imapresource_LIB_SRCS
kde4_add_library
(
imapresource STATIC
${
imapresource_LIB_SRCS
}
)
target_link_libraries
(
imapresource KF5::AkonadiCore
${
QT_QTDBUS_LIBRARY
}
${
QT_QTCORE_LIBRARY
}
${
QT_QTGUI_LIBRARY
}
${
QT_QTNETWORK_LIBRARY
}
${
KDEPIMLIBS_KIMAP_LIBS
}
KF5::MailTransport KF5::KIOCore KF5::KMime
${
KDEPIMLIBS_AKONADI_KMIME_LIBS
}
KF5::KF5PimIdentities
)
target_link_libraries
(
imapresource KF5::AkonadiCore
KF5::Imap
KF5::MailTransport KF5::KIOCore KF5::KMime
KF5::AkonadiKMime
KF5::KF5PimIdentities
)
if
(
NOT IMAPRESOURCE_NO_SOLID
)
target_link_libraries
(
imapresource
${
KDE4_SOLID_LIBS
}
)
...
...
@@ -97,7 +97,7 @@ if (Q_WS_MAC)
set_target_properties
(
akonadi_imap_resource PROPERTIES MACOSX_BUNDLE_BUNDLE_NAME
"KDE Akonadi IMAP Resource"
)
endif
()
target_link_libraries
(
akonadi_imap_resource KF5::AkonadiCore
${
QT_QTDBUS_LIBRARY
}
${
QT_QTCORE_LIBRARY
}
${
QT_QTGUI_LIBRARY
}
${
QT_QTNETWORK_LIBRARY
}
${
KDEPIMLIBS_KIMAP_LIBS
}
KF5::MailTransport KF5::KIOCore KF5::KMime
${
KDEPIMLIBS_AKONADI_KMIME_LIBS
}
KF5::KF5PimIdentities imapresource folderarchivesettings
)
target_link_libraries
(
akonadi_imap_resource KF5::AkonadiCore
KF5::Imap
KF5::MailTransport KF5::KIOCore KF5::KMime
KF5::AkonadiKMime
KF5::KF5PimIdentities imapresource folderarchivesettings
)
if
(
RUNTIME_PLUGINS_STATIC
)
target_link_libraries
(
akonadi_imap_resource akonadi_serializer_mail
)
...
...
resources/imap/addcollectiontask.cpp
View file @
73c15dce
...
...
@@ -31,7 +31,7 @@
#include <kimap/setmetadatajob.h>
#include <kimap/subscribejob.h>
#include <
akonadi/
collectiondeletejob.h>
#include <collectiondeletejob.h>
AddCollectionTask
::
AddCollectionTask
(
ResourceStateInterface
::
Ptr
resource
,
QObject
*
parent
)
:
ResourceTask
(
DeferIfNoSession
,
resource
,
parent
),
m_pendingJobs
(
0
),
m_session
(
0
)
...
...
resources/imap/imapidlemanager.h
View file @
73c15dce
...
...
@@ -28,7 +28,7 @@
#include "resourcestateinterface.h"
#include <
akonadi/
collection.h>
#include <collection.h>
#include <QObject>
#include <QPointer>
...
...
resources/imap/imapresource.cpp
View file @
73c15dce
...
...
@@ -33,16 +33,16 @@
#include <kstandarddirs.h>
#include <KWindowSystem>
#include <
akonadi/
agentmanager.h>
#include <
akonadi/
attributefactory.h>
#include <
akonadi/
collectionfetchjob.h>
#include <
akonadi/
collectionfetchscope.h>
#include <
akonadi/
changerecorder.h>
#include <
akonadi/
itemfetchscope.h>
#include <
akonadi/
itemfetchjob.h>
#include <
akonadi/
specialcollections.h>
#include <
akonadi/
session.h>
#include <
akonadi/
kmime/messageparts.h>
#include <agentmanager.h>
#include <attributefactory.h>
#include <collectionfetchjob.h>
#include <collectionfetchscope.h>
#include <changerecorder.h>
#include <itemfetchscope.h>
#include <itemfetchjob.h>
#include <specialcollections.h>
#include <session.h>
#include <kmime/messageparts.h>
#include "collectionannotationsattribute.h"
#include "collectionflagsattribute.h"
...
...
@@ -101,7 +101,7 @@ ImapResource::ImapResource( const QString &id )
{
if
(
name
()
==
identifier
()
)
{
const
QString
agentType
=
AgentManager
::
self
()
->
instance
(
identifier
()
).
type
().
identifier
();
const
QString
agentsrcFile
=
KGlobal
::
dirs
()
->
localxdgconfdir
()
+
QLatin1String
(
"
akonadi/
agentsrc"
);
const
QString
agentsrcFile
=
KGlobal
::
dirs
()
->
localxdgconfdir
()
+
QLatin1String
(
"agentsrc"
);
const
QSettings
agentsrc
(
agentsrcFile
,
QSettings
::
IniFormat
);
const
int
instanceCounter
=
agentsrc
.
value
(
...
...
resources/imap/imapresource.h
View file @
73c15dce
...
...
@@ -26,8 +26,8 @@
#ifndef RESOURCES_IMAP_IMAPRESOURCE_H
#define RESOURCES_IMAP_IMAPRESOURCE_H
#include <
akonadi/
resourcebase.h>
#include <
akonadi/
agentsearchinterface.h>
#include <resourcebase.h>
#include <agentsearchinterface.h>
#include <KDialog>
#include <QPointer>
...
...
resources/imap/noinferiorsattribute.cpp
View file @
73c15dce
...
...
@@ -21,7 +21,7 @@
#include <QByteArray>
#include <
akonadi/
attribute.h>
#include <attribute.h>
NoInferiorsAttribute
::
NoInferiorsAttribute
(
bool
noInferiors
)
:
mNoInferiors
(
noInferiors
)
...
...
resources/imap/noinferiorsattribute.h
View file @
73c15dce
...
...
@@ -20,7 +20,7 @@
#ifndef NOINFERIORSATTRIBUTE_H
#define NOINFERIORSATTRIBUTE_H
#include <
akonadi/
attribute.h>
#include <attribute.h>
class
NoInferiorsAttribute
:
public
Akonadi
::
Attribute
{
...
...
resources/imap/noselectattribute.cpp
View file @
73c15dce
...
...
@@ -21,7 +21,7 @@
#include <QByteArray>
#include <
akonadi/
attribute.h>
#include <attribute.h>
NoSelectAttribute
::
NoSelectAttribute
(
bool
noSelect
)
:
mNoSelect
(
noSelect
)
...
...
resources/imap/noselectattribute.h
View file @
73c15dce
...
...
@@ -20,7 +20,7 @@
#ifndef NOSELECTATTRIBUTE_H
#define NOSELECTATTRIBUTE_H
#include <
akonadi/
attribute.h>
#include <attribute.h>
class
NoSelectAttribute
:
public
Akonadi
::
Attribute
{
...
...
resources/imap/removecollectionrecursivetask.cpp
View file @
73c15dce
...
...
@@ -21,7 +21,7 @@
#include "removecollectionrecursivetask.h"
#include <
akonadi/
kmime/messageflags.h>
#include <kmime/messageflags.h>
#include <kimap/deletejob.h>
#include <kimap/expungejob.h>
#include <kimap/selectjob.h>
...
...
resources/imap/resourcestate.cpp
View file @
73c15dce
...
...
@@ -28,8 +28,8 @@
#include "noselectattribute.h"
#include "timestampattribute.h"
#include <
akonadi/
collectionmodifyjob.h>
#include <
akonadi/
agentsearchinterface.h>
#include <collectionmodifyjob.h>
#include <agentsearchinterface.h>
#include <kmessagebox.h>
ResourceStateInterface
::
Ptr
ResourceState
::
createRetrieveItemState
(
ImapResource
*
resource
,
...
...
resources/imap/resourcetask.cpp
View file @
73c15dce
...
...
@@ -21,7 +21,7 @@
#include "resourcetask.h"
#include <
akonadi/
kmime/messageflags.h>
#include <kmime/messageflags.h>
#include <KDE/KLocale>
...
...
resources/imap/retrievecollectionmetadatatask.cpp
View file @
73c15dce
...
...
@@ -31,8 +31,8 @@
#include <kimap/session.h>
#include <klocale.h>
#include <
akonadi/
collectionquotaattribute.h>
#include <
akonadi/
entitydisplayattribute.h>
#include <collectionquotaattribute.h>
#include <entitydisplayattribute.h>