Commit a1e94cdf authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Allow to set KAddressBookImportExportContactList

parent cbc69bfe
......@@ -17,7 +17,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
set(PIM_VERSION "5.3.50")
set(PIM_VERSION "5.3.51")
set(KDEPIM_APPS_LIB_VERSION ${PIM_VERSION})
set(QT_REQUIRED_VERSION "5.6.0")
......
......@@ -72,3 +72,13 @@ void KAddressBookImportExportPluginInterface::setDefaultCollection(const Akonadi
{
mDefaultCollection = defaultCollection;
}
KAddressBookImportExport::KAddressBookImportExportContactList KAddressBookImportExportPluginInterface::addressBookImportExportList() const
{
return mAddressBookImportExportList;
}
void KAddressBookImportExportPluginInterface::setAddressBookImportExportList(const KAddressBookImportExport::KAddressBookImportExportContactList &addressBookImportExportList)
{
mAddressBookImportExportList = addressBookImportExportList;
}
......@@ -24,6 +24,7 @@
#include <PimCommon/AbstractGenericPluginInterface>
#include <QList>
#include <AkonadiCore/Collection>
#include <KAddressBookImportExport/KAddressBookImportExportContactList>
namespace KAddressBookImportExport
{
......@@ -51,7 +52,11 @@ public:
Akonadi::Collection defaultCollection() const;
void setDefaultCollection(const Akonadi::Collection &defaultCollection);
KAddressBookImportExport::KAddressBookImportExportContactList addressBookImportExportList() const;
void setAddressBookImportExportList(const KAddressBookImportExport::KAddressBookImportExportContactList &addressBookImportExportList);
protected:
KAddressBookImportExport::KAddressBookImportExportContactList mAddressBookImportExportList;
QList<QAction *> mImportActions;
QList<QAction *> mExportActions;
ImportExportAction mImportExportAction;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment