summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <[email protected]>2015-05-10 13:55:34 +0200
committerMontel Laurent <[email protected]>2015-05-10 13:55:34 +0200
commit728aa97c06b312e80a6f48fa96213cdcaf8b869a (patch)
tree33cc5f806af5d90632a05a3716fd6a00d6ab388e
parent518cdc6f1f74268bdfd34b4711629da85e37b919 (diff)
Export symbole
-rw-r--r--pimsettingexporter/CMakeLists.txt6
-rw-r--r--pimsettingexporter/abstractimportexportjob.h3
-rw-r--r--pimsettingexporter/addressbook/exportaddressbookjob.h2
-rw-r--r--pimsettingexporter/addressbook/importaddressbookjob.h2
-rw-r--r--pimsettingexporter/akregator/exportakregatorjob.h2
-rw-r--r--pimsettingexporter/akregator/importakregatorjob.h2
-rw-r--r--pimsettingexporter/alarm/exportalarmjob.h2
-rw-r--r--pimsettingexporter/alarm/importalarmjob.h2
-rw-r--r--pimsettingexporter/archivestorage.h3
-rw-r--r--pimsettingexporter/blogilo/exportblogilojob.h2
-rw-r--r--pimsettingexporter/blogilo/importblogilojob.h2
-rw-r--r--pimsettingexporter/calendar/exportcalendarjob.h2
-rw-r--r--pimsettingexporter/calendar/importcalendarjob.h2
-rw-r--r--pimsettingexporter/dialog/backupfilestructureinfodialog.h3
-rw-r--r--pimsettingexporter/dialog/selectiontypedialog.h4
-rw-r--r--pimsettingexporter/dialog/showarchivestructuredialog.h4
-rw-r--r--pimsettingexporter/importexportprogressindicatorbase.h4
-rw-r--r--pimsettingexporter/jot/exportjotjob.h2
-rw-r--r--pimsettingexporter/jot/importjotjob.h2
-rw-r--r--pimsettingexporter/knode/exportknodejob.h2
-rw-r--r--pimsettingexporter/knode/importknodejob.h4
-rw-r--r--pimsettingexporter/mail/exportmailjob.h3
-rw-r--r--pimsettingexporter/mail/importmailjob.h3
-rw-r--r--pimsettingexporter/notes/exportnotesjob.h4
-rw-r--r--pimsettingexporter/notes/importnotesjob.h4
-rw-r--r--pimsettingexporter/pimsettingexporterkernel.h4
-rw-r--r--pimsettingexporter/pimsettingsbackuprestore.h2
-rw-r--r--pimsettingexporter/utils.h7
-rw-r--r--pimsettingexporter/widgets/logwidget.h4
29 files changed, 47 insertions, 41 deletions
diff --git a/pimsettingexporter/CMakeLists.txt b/pimsettingexporter/CMakeLists.txt
index d34cd75..abab9e4 100644
--- a/pimsettingexporter/CMakeLists.txt
+++ b/pimsettingexporter/CMakeLists.txt
@@ -88,15 +88,12 @@ set(pimsettingexporter_LIB_SRCS
${pimsettingexporter_akregator_SRCS}
${pimsettingexporter_blogilo_SRCS}
abstractimportexportjob.cpp
- pimsettingexporterwindow.cpp
pimsettingexporterkernel.cpp
utils.cpp
akonadidatabase.cpp
archivestorage.cpp
synchronizeresourcejob.cpp
pimsettingsbackuprestore.cpp
- pimsettingsbackuprestoreui.cpp
- importexportprogressindicatorgui.cpp
importexportprogressindicatorbase.cpp
)
@@ -130,6 +127,9 @@ install(TARGETS pimsettingexporterprivate ${INSTALL_TARGETS_DEFAULT_ARGS} LIBRAR
set(pimsettingexporter_SRCS
+ pimsettingsbackuprestoreui.cpp
+ importexportprogressindicatorgui.cpp
+ pimsettingexporterwindow.cpp
gui/main.cpp)
kde4_add_executable(pimsettingexporter ${pimsettingexporter_SRCS})
diff --git a/pimsettingexporter/abstractimportexportjob.h b/pimsettingexporter/abstractimportexportjob.h
index 60e3724..acb77d8 100644
--- a/pimsettingexporter/abstractimportexportjob.h
+++ b/pimsettingexporter/abstractimportexportjob.h
@@ -20,6 +20,7 @@
#include <QObject>
#include "utils.h"
+#include "pimsettingexporter_export.h"
#include <Akonadi/Collection>
#include <QStringList>
@@ -39,7 +40,7 @@ namespace PimCommon {
class CreateResource;
}
class ImportExportProgressIndicatorBase;
-class AbstractImportExportJob : public QObject
+class PIMSETTINGEXPORT_EXPORT AbstractImportExportJob : public QObject
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/addressbook/exportaddressbookjob.h b/pimsettingexporter/addressbook/exportaddressbookjob.h
index 5477a9f..56109dd 100644
--- a/pimsettingexporter/addressbook/exportaddressbookjob.h
+++ b/pimsettingexporter/addressbook/exportaddressbookjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportAddressbookJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportAddressbookJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/addressbook/importaddressbookjob.h b/pimsettingexporter/addressbook/importaddressbookjob.h
index 86c57ae..d7cf853 100644
--- a/pimsettingexporter/addressbook/importaddressbookjob.h
+++ b/pimsettingexporter/addressbook/importaddressbookjob.h
@@ -23,7 +23,7 @@
class ArchiveStorage;
class KArchiveFile;
-class ImportAddressbookJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportAddressbookJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/akregator/exportakregatorjob.h b/pimsettingexporter/akregator/exportakregatorjob.h
index ae6fe5c..1cf26e9 100644
--- a/pimsettingexporter/akregator/exportakregatorjob.h
+++ b/pimsettingexporter/akregator/exportakregatorjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportAkregatorJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportAkregatorJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/akregator/importakregatorjob.h b/pimsettingexporter/akregator/importakregatorjob.h
index c91c2f9..4c5e596 100644
--- a/pimsettingexporter/akregator/importakregatorjob.h
+++ b/pimsettingexporter/akregator/importakregatorjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ImportAkregatorJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportAkregatorJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/alarm/exportalarmjob.h b/pimsettingexporter/alarm/exportalarmjob.h
index b8309d6..419ad9c 100644
--- a/pimsettingexporter/alarm/exportalarmjob.h
+++ b/pimsettingexporter/alarm/exportalarmjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportAlarmJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportAlarmJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/alarm/importalarmjob.h b/pimsettingexporter/alarm/importalarmjob.h
index 8ebc4ed..92a610a 100644
--- a/pimsettingexporter/alarm/importalarmjob.h
+++ b/pimsettingexporter/alarm/importalarmjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ImportAlarmJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportAlarmJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/archivestorage.h b/pimsettingexporter/archivestorage.h
index 1ad4516..cbed3e8 100644
--- a/pimsettingexporter/archivestorage.h
+++ b/pimsettingexporter/archivestorage.h
@@ -18,9 +18,10 @@
#ifndef ARCHIVESTORAGE_H
#define ARCHIVESTORAGE_H
#include <QObject>
+#include "pimsettingexporter_export.h"
class KZip;
-class ArchiveStorage : public QObject
+class PIMSETTINGEXPORT_EXPORT ArchiveStorage : public QObject
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/blogilo/exportblogilojob.h b/pimsettingexporter/blogilo/exportblogilojob.h
index ee54aca..942f2ef 100644
--- a/pimsettingexporter/blogilo/exportblogilojob.h
+++ b/pimsettingexporter/blogilo/exportblogilojob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportBlogiloJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportBlogiloJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/blogilo/importblogilojob.h b/pimsettingexporter/blogilo/importblogilojob.h
index 5cfc28d..4495c8e 100644
--- a/pimsettingexporter/blogilo/importblogilojob.h
+++ b/pimsettingexporter/blogilo/importblogilojob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ImportBlogiloJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportBlogiloJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/calendar/exportcalendarjob.h b/pimsettingexporter/calendar/exportcalendarjob.h
index 63128fd..b51b328 100644
--- a/pimsettingexporter/calendar/exportcalendarjob.h
+++ b/pimsettingexporter/calendar/exportcalendarjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportCalendarJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportCalendarJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/calendar/importcalendarjob.h b/pimsettingexporter/calendar/importcalendarjob.h
index cfca36a..a47e851 100644
--- a/pimsettingexporter/calendar/importcalendarjob.h
+++ b/pimsettingexporter/calendar/importcalendarjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ImportCalendarJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportCalendarJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/dialog/backupfilestructureinfodialog.h b/pimsettingexporter/dialog/backupfilestructureinfodialog.h
index 0930e63..d18f597 100644
--- a/pimsettingexporter/dialog/backupfilestructureinfodialog.h
+++ b/pimsettingexporter/dialog/backupfilestructureinfodialog.h
@@ -19,10 +19,11 @@
#define BACKUPFILESTRUCTUREINFODIALOG_H
#include <KDialog>
+#include "pimsettingexporter_export.h"
namespace PimCommon {
class PlainTextEditorWidget;
}
-class BackupFileStructureInfoDialog : public KDialog
+class PIMSETTINGEXPORT_EXPORT BackupFileStructureInfoDialog : public KDialog
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/dialog/selectiontypedialog.h b/pimsettingexporter/dialog/selectiontypedialog.h
index 67c4562..b7db363 100644
--- a/pimsettingexporter/dialog/selectiontypedialog.h
+++ b/pimsettingexporter/dialog/selectiontypedialog.h
@@ -20,10 +20,10 @@
#include <KDialog>
#include "utils.h"
-
+#include "pimsettingexporter_export.h"
class SelectionTypeTreeWidget;
-class SelectionTypeDialog : public KDialog
+class PIMSETTINGEXPORT_EXPORT SelectionTypeDialog : public KDialog
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/dialog/showarchivestructuredialog.h b/pimsettingexporter/dialog/showarchivestructuredialog.h
index 5cafc1e..93eb639 100644
--- a/pimsettingexporter/dialog/showarchivestructuredialog.h
+++ b/pimsettingexporter/dialog/showarchivestructuredialog.h
@@ -19,13 +19,13 @@
#define SHOWARCHIVESTRUCTUREDIALOG_H
#include <KDialog>
-
+#include "pimsettingexporter_export.h"
class QTreeWidget;
class QTreeWidgetItem;
class KArchiveEntry;
class KArchiveDirectory;
-class ShowArchiveStructureDialog : public KDialog
+class PIMSETTINGEXPORT_EXPORT ShowArchiveStructureDialog : public KDialog
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/importexportprogressindicatorbase.h b/pimsettingexporter/importexportprogressindicatorbase.h
index 2cb9c88..825f50d 100644
--- a/pimsettingexporter/importexportprogressindicatorbase.h
+++ b/pimsettingexporter/importexportprogressindicatorbase.h
@@ -19,8 +19,8 @@
#define IMPORTEXPORTPROGRESSINDICATORBASE_H
#include <QObject>
-
-class ImportExportProgressIndicatorBase : public QObject
+#include "pimsettingexporter_export.h"
+class PIMSETTINGEXPORT_EXPORT ImportExportProgressIndicatorBase : public QObject
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/jot/exportjotjob.h b/pimsettingexporter/jot/exportjotjob.h
index 9776f50..83e20e3 100644
--- a/pimsettingexporter/jot/exportjotjob.h
+++ b/pimsettingexporter/jot/exportjotjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportJotJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportJotJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/jot/importjotjob.h b/pimsettingexporter/jot/importjotjob.h
index 29b8c14..c92d311 100644
--- a/pimsettingexporter/jot/importjotjob.h
+++ b/pimsettingexporter/jot/importjotjob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ImportJotJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportJotJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/knode/exportknodejob.h b/pimsettingexporter/knode/exportknodejob.h
index a00c2ae..a703201 100644
--- a/pimsettingexporter/knode/exportknodejob.h
+++ b/pimsettingexporter/knode/exportknodejob.h
@@ -22,7 +22,7 @@
class ArchiveStorage;
-class ExportKnodeJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportKnodeJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/knode/importknodejob.h b/pimsettingexporter/knode/importknodejob.h
index b49ffab..1f58abe 100644
--- a/pimsettingexporter/knode/importknodejob.h
+++ b/pimsettingexporter/knode/importknodejob.h
@@ -19,10 +19,10 @@
#define IMPORTKNODEJOB_H
#include "abstractimportexportjob.h"
-
+#include "pimsettingexporter_export.h"
class ArchiveStorage;
-class ImportKnodeJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportKnodeJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/mail/exportmailjob.h b/pimsettingexporter/mail/exportmailjob.h
index 36c004c..8bb2979 100644
--- a/pimsettingexporter/mail/exportmailjob.h
+++ b/pimsettingexporter/mail/exportmailjob.h
@@ -19,6 +19,7 @@
#define ExportMailJob_H
#include "abstractimportexportjob.h"
+#include "pimsettingexporter_export.h"
#include <KSharedConfig>
#include <time.h>
@@ -26,7 +27,7 @@
class KUrl;
class ArchiveStorage;
-class ExportMailJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportMailJob : public AbstractImportExportJob
{
public:
explicit ExportMailJob(QObject *parent, Utils::StoredTypes typeSelected, ArchiveStorage *archiveStorage, int numberOfStep);
diff --git a/pimsettingexporter/mail/importmailjob.h b/pimsettingexporter/mail/importmailjob.h
index 564cc88..705eb34 100644
--- a/pimsettingexporter/mail/importmailjob.h
+++ b/pimsettingexporter/mail/importmailjob.h
@@ -19,6 +19,7 @@
#define ImportMailJob_H
#include "abstractimportexportjob.h"
+#include "pimsettingexporter_export.h"
#include <Akonadi/Collection>
#include <QStringList>
#include <QHash>
@@ -27,7 +28,7 @@ class KArchiveDirectory;
class KArchiveFile;
class ArchiveStorage;
-class ImportMailJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportMailJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/notes/exportnotesjob.h b/pimsettingexporter/notes/exportnotesjob.h
index b8ca0e3..a65be8c 100644
--- a/pimsettingexporter/notes/exportnotesjob.h
+++ b/pimsettingexporter/notes/exportnotesjob.h
@@ -19,10 +19,10 @@
#define EXPORTNOTESJOB_H
#include "abstractimportexportjob.h"
-
+#include "pimsettingexporter_export.h"
class ArchiveStorage;
-class ExportNotesJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ExportNotesJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/notes/importnotesjob.h b/pimsettingexporter/notes/importnotesjob.h
index 1eb5186..14ee3a7 100644
--- a/pimsettingexporter/notes/importnotesjob.h
+++ b/pimsettingexporter/notes/importnotesjob.h
@@ -19,10 +19,10 @@
#define IMPORTNOTESJOB_H
#include "abstractimportexportjob.h"
-
+#include "pimsettingexporter_export.h"
class ArchiveStorage;
-class ImportNotesJob : public AbstractImportExportJob
+class PIMSETTINGEXPORT_EXPORT ImportNotesJob : public AbstractImportExportJob
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/pimsettingexporterkernel.h b/pimsettingexporter/pimsettingexporterkernel.h
index f8757db..acd6102 100644
--- a/pimsettingexporter/pimsettingexporterkernel.h
+++ b/pimsettingexporter/pimsettingexporterkernel.h
@@ -18,7 +18,7 @@
#define PIMSETTINGEXPORTERKERNEL_H
#include <mailcommon/interfaces/mailinterfaces.h>
-
+#include "pimsettingexporter_export.h"
namespace Akonadi {
class EntityTreeModel;
class EntityMimeTypeFilterModel;
@@ -28,7 +28,7 @@ namespace MailCommon {
class FolderCollectionMonitor;
}
-class PimSettingExporterKernel : public QObject, public MailCommon::IKernel, public MailCommon::ISettings
+class PIMSETTINGEXPORT_EXPORT PimSettingExporterKernel : public QObject, public MailCommon::IKernel, public MailCommon::ISettings
{
public:
explicit PimSettingExporterKernel( QObject *parent = 0 );
diff --git a/pimsettingexporter/pimsettingsbackuprestore.h b/pimsettingexporter/pimsettingsbackuprestore.h
index 3f3465d..b975273 100644
--- a/pimsettingexporter/pimsettingsbackuprestore.h
+++ b/pimsettingexporter/pimsettingsbackuprestore.h
@@ -24,7 +24,7 @@
class AbstractImportExportJob;
class ArchiveStorage;
-class PimSettingsBackupRestore : public QObject
+class PIMSETTINGEXPORT_EXPORT PimSettingsBackupRestore : public QObject
{
Q_OBJECT
public:
diff --git a/pimsettingexporter/utils.h b/pimsettingexporter/utils.h
index 6fe2df0..176c691 100644
--- a/pimsettingexporter/utils.h
+++ b/pimsettingexporter/utils.h
@@ -17,6 +17,7 @@
#ifndef UTILS_H
#define UTILS_H
+#include "pimsettingexporter_export.h"
#include <QString>
#include <KUrl>
#include <KSharedConfig>
@@ -108,10 +109,10 @@ QString storeResources(KZip *archive, const QString &identifier, const QString &
KUrl akonadiAgentConfigPath(const QString &identifier);
KZip *openZip(const QString &filename, QString &errorMsg);
-void addVersion(KZip *archive);
-int archiveVersion(KZip *archive);
+PIMSETTINGEXPORT_EXPORT void addVersion(KZip *archive);
+PIMSETTINGEXPORT_EXPORT int archiveVersion(KZip *archive);
-int currentArchiveVersion();
+PIMSETTINGEXPORT_EXPORT int currentArchiveVersion();
QString appTypeToI18n(AppsType type);
QString storedTypeToI18n(StoredType type);
}
diff --git a/pimsettingexporter/widgets/logwidget.h b/pimsettingexporter/widgets/logwidget.h
index f663576..1324b4f 100644
--- a/pimsettingexporter/widgets/logwidget.h
+++ b/pimsettingexporter/widgets/logwidget.h
@@ -19,12 +19,12 @@
#define LOGWIDGET_H
#include <QWidget>
-
+#include "pimsettingexporter_export.h"
namespace KPIM {
class CustomLogWidget;
}
-class LogWidget : public QWidget
+class PIMSETTINGEXPORT_EXPORT LogWidget : public QWidget
{
public:
explicit LogWidget(QWidget *parent);