summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-10-12 06:00:31 (GMT)
committerMontel Laurent <montel@kde.org>2016-10-12 06:00:31 (GMT)
commit062d29ad37ca2da8775f4e86f81c68054382fc15 (patch)
tree57ff3d34c775c269347bcc4e308bfd8d3a26760d
parent6e963afc8674f346c061204b151f89f77ee9daa8 (diff)
Add method to import url
-rw-r--r--CMakeLists.txt2
-rw-r--r--kaddressbookimportexport/src/kaddressbookimportexportplugininterface.cpp5
-rw-r--r--kaddressbookimportexport/src/kaddressbookimportexportplugininterface.h1
3 files changed, 7 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f715026..59d5930 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,7 +17,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
include(ECMAddTests)
-set(PIM_VERSION "5.3.53")
+set(PIM_VERSION "5.3.54")
set(KDEPIM_APPS_LIB_VERSION ${PIM_VERSION})
set(QT_REQUIRED_VERSION "5.6.0")
diff --git a/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.cpp b/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.cpp
index 1aa69c4..3c2bcf2 100644
--- a/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.cpp
+++ b/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.cpp
@@ -89,3 +89,8 @@ bool KAddressBookImportExportPluginInterface::canImportFileType(const QUrl &url)
Q_UNUSED(url);
return false;
}
+
+void KAddressBookImportExportPluginInterface::importFile(const QUrl &url)
+{
+ Q_UNUSED(url);
+}
diff --git a/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.h b/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.h
index 0458031..db4fc63 100644
--- a/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.h
+++ b/kaddressbookimportexport/src/kaddressbookimportexportplugininterface.h
@@ -57,6 +57,7 @@ public:
void setItemSelectionModel(QItemSelectionModel *itemSelectionModel);
virtual bool canImportFileType(const QUrl &url);
+ virtual void importFile(const QUrl &url);
protected:
QList<QAction *> mImportActions;