summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2017-04-07 23:18:21 +0200
committerMontel Laurent <[email protected]>2017-04-07 23:18:21 +0200
commit1f3803acde366603ffebdeb694031a83f92a6d87 (patch)
treecadcb71fcd93fe5f4aea298976e6f223358b595f
parent7bbaefb817bc9353c21b7cb9bb2264bea9e23ed8 (diff)
Make it compile
-rw-r--r--src/CMakeLists.txt2
-rw-r--r--src/importmailpluginmanager.cpp7
-rw-r--r--src/importmailpluginmanager.h3
3 files changed, 12 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index b628601..dc9e4b0 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -7,7 +7,9 @@ add_subdirectory(kconf_update)
set(libimportwizard_SRCS
importwizard.cpp
importwizardkernel.cpp
+ importmailpluginmanager.cpp
)
+
set(libimportwizard_manual_SRCS
manual/manualimportmailpage.cpp
manual/importwizardfilterinfogui.cpp
diff --git a/src/importmailpluginmanager.cpp b/src/importmailpluginmanager.cpp
index 5fd1d10..ea3b37a 100644
--- a/src/importmailpluginmanager.cpp
+++ b/src/importmailpluginmanager.cpp
@@ -20,6 +20,8 @@
#include "importmailpluginmanager.h"
+Q_GLOBAL_STATIC(ImportMailPluginManager, s_pImportMailPluginManagerSelf)
+
ImportMailPluginManager::ImportMailPluginManager(QObject *parent)
: QObject(parent)
{
@@ -30,3 +32,8 @@ ImportMailPluginManager::~ImportMailPluginManager()
{
}
+
+ImportMailPluginManager *ImportMailPluginManager::self()
+{
+ return s_pImportMailPluginManagerSelf;
+}
diff --git a/src/importmailpluginmanager.h b/src/importmailpluginmanager.h
index 9855373..9818a86 100644
--- a/src/importmailpluginmanager.h
+++ b/src/importmailpluginmanager.h
@@ -27,6 +27,9 @@ class ImportMailPluginManager : public QObject
public:
explicit ImportMailPluginManager(QObject *parent = nullptr);
~ImportMailPluginManager();
+
+ static ImportMailPluginManager *self();
+
};
#endif // IMPORTMAILPLUGINMANAGER_H