diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 17:36:54 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-03 17:36:54 +0200 |
commit | fdc376a735e4e7da9a21aa053f65dff835985440 (patch) | |
tree | 045dfbb701ef62d88c081d0fa145092fa4fbbb24 /framework/src | |
parent | 6ad06bafded0b0a1c7fae45b4d1b90b00216f201 (diff) | |
download | kube-fdc376a735e4e7da9a21aa053f65dff835985440.tar.gz kube-fdc376a735e4e7da9a21aa053f65dff835985440.zip |
On windows the exports are mandatory
Diffstat (limited to 'framework/src')
24 files changed, 57 insertions, 35 deletions
diff --git a/framework/src/CMakeLists.txt b/framework/src/CMakeLists.txt index 44d58796..e975e61e 100644 --- a/framework/src/CMakeLists.txt +++ b/framework/src/CMakeLists.txt | |||
@@ -54,6 +54,11 @@ add_library(kubeframework SHARED | |||
54 | extensionmodel.cpp | 54 | extensionmodel.cpp |
55 | viewhighlighter.cpp | 55 | viewhighlighter.cpp |
56 | ) | 56 | ) |
57 | generate_export_header(kubeframework BASE_NAME Kube EXPORT_FILE_NAME kube_export.h) | ||
58 | set_target_properties(kubeframework PROPERTIES | ||
59 | ENABLE_EXPORTS 1 | ||
60 | WINDOWS_EXPORT_ALL_SYMBOLS 1 | ||
61 | ) | ||
57 | target_link_libraries(kubeframework | 62 | target_link_libraries(kubeframework |
58 | sink | 63 | sink |
59 | kube_otp | 64 | kube_otp |
diff --git a/framework/src/accounts/accountfactory.h b/framework/src/accounts/accountfactory.h index 429559a1..34293bb2 100644 --- a/framework/src/accounts/accountfactory.h +++ b/framework/src/accounts/accountfactory.h | |||
@@ -19,13 +19,14 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include "kube_export.h" | ||
22 | #include <QObject> | 23 | #include <QObject> |
23 | #include <QVariant> | 24 | #include <QVariant> |
24 | 25 | ||
25 | /** | 26 | /** |
26 | * A factory to instantiate account-plugins. | 27 | * A factory to instantiate account-plugins. |
27 | */ | 28 | */ |
28 | class AccountFactory : public QObject | 29 | class KUBE_EXPORT AccountFactory : public QObject |
29 | { | 30 | { |
30 | Q_OBJECT | 31 | Q_OBJECT |
31 | Q_PROPERTY(QString accountId MEMBER mAccountId WRITE setAccountId); | 32 | Q_PROPERTY(QString accountId MEMBER mAccountId WRITE setAccountId); |
diff --git a/framework/src/accounts/accountsmodel.h b/framework/src/accounts/accountsmodel.h index 4991f7e0..dd9a1c0c 100644 --- a/framework/src/accounts/accountsmodel.h +++ b/framework/src/accounts/accountsmodel.h | |||
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | #include "kube_export.h" | |
22 | #include <QObject> | 22 | #include <QObject> |
23 | #include <QIdentityProxyModel> | 23 | #include <QIdentityProxyModel> |
24 | #include <QSharedPointer> | 24 | #include <QSharedPointer> |
@@ -28,7 +28,7 @@ namespace Sink { | |||
28 | class Query; | 28 | class Query; |
29 | } | 29 | } |
30 | 30 | ||
31 | class AccountsModel : public QIdentityProxyModel | 31 | class KUBE_EXPORT AccountsModel : public QIdentityProxyModel |
32 | { | 32 | { |
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | 34 | ||
diff --git a/framework/src/clipboardproxy.h b/framework/src/clipboardproxy.h index 9a965004..549483b9 100644 --- a/framework/src/clipboardproxy.h +++ b/framework/src/clipboardproxy.h | |||
@@ -18,8 +18,10 @@ | |||
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | ||
21 | #include "kube_export.h" | ||
21 | #include <QObject> | 22 | #include <QObject> |
22 | class ClipboardProxy : public QObject | 23 | |
24 | class KUBE_EXPORT ClipboardProxy : public QObject | ||
23 | { | 25 | { |
24 | Q_OBJECT | 26 | Q_OBJECT |
25 | Q_PROPERTY(QString text READ dataText WRITE setDataText NOTIFY dataChanged) | 27 | Q_PROPERTY(QString text READ dataText WRITE setDataText NOTIFY dataChanged) |
diff --git a/framework/src/domain/composercontroller.h b/framework/src/domain/composercontroller.h index 17271dce..8a831ed5 100644 --- a/framework/src/domain/composercontroller.h +++ b/framework/src/domain/composercontroller.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #pragma once | 21 | #pragma once |
22 | 22 | #include "kube_export.h" | |
23 | #include <QObject> | 23 | #include <QObject> |
24 | #include <QString> | 24 | #include <QString> |
25 | #include <QVariant> | 25 | #include <QVariant> |
@@ -46,7 +46,7 @@ class Message; | |||
46 | 46 | ||
47 | class AddresseeModel; | 47 | class AddresseeModel; |
48 | 48 | ||
49 | class ComposerController : public Kube::Controller | 49 | class KUBE_EXPORT ComposerController : public Kube::Controller |
50 | { | 50 | { |
51 | Q_OBJECT | 51 | Q_OBJECT |
52 | 52 | ||
diff --git a/framework/src/domain/contactcontroller.h b/framework/src/domain/contactcontroller.h index e8d06229..5b49c77b 100644 --- a/framework/src/domain/contactcontroller.h +++ b/framework/src/domain/contactcontroller.h | |||
@@ -18,7 +18,7 @@ | |||
18 | 18 | ||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | #include "kube_export.h" | |
22 | #include <QObject> | 22 | #include <QObject> |
23 | #include <QString> | 23 | #include <QString> |
24 | #include <QStringList> | 24 | #include <QStringList> |
@@ -26,7 +26,7 @@ | |||
26 | 26 | ||
27 | #include "controller.h" | 27 | #include "controller.h" |
28 | 28 | ||
29 | class ContactController : public Kube::Controller | 29 | class KUBE_EXPORT ContactController : public Kube::Controller |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | 32 | ||
diff --git a/framework/src/domain/controller.h b/framework/src/domain/controller.h index 9166a63a..d3c1075f 100644 --- a/framework/src/domain/controller.h +++ b/framework/src/domain/controller.h | |||
@@ -17,7 +17,7 @@ | |||
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | #include "kube_export.h" | |
21 | #include <QObject> | 21 | #include <QObject> |
22 | #include <QVariant> | 22 | #include <QVariant> |
23 | #include <KAsync/Async> | 23 | #include <KAsync/Async> |
@@ -69,7 +69,7 @@ private: | |||
69 | bool mEnabled = false; | 69 | bool mEnabled = false; |
70 | }; | 70 | }; |
71 | 71 | ||
72 | class ControllerAction : public ControllerState { | 72 | class KUBE_EXPORT ControllerAction : public ControllerState { |
73 | Q_OBJECT | 73 | Q_OBJECT |
74 | public: | 74 | public: |
75 | ControllerAction(); | 75 | ControllerAction(); |
diff --git a/framework/src/domain/folderlistmodel.h b/framework/src/domain/folderlistmodel.h index d3bef397..d367ea5f 100644 --- a/framework/src/domain/folderlistmodel.h +++ b/framework/src/domain/folderlistmodel.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #pragma once | 21 | #pragma once |
22 | 22 | #include "kube_export.h" | |
23 | #include <krecursivefilterproxymodel.h> | 23 | #include <krecursivefilterproxymodel.h> |
24 | #include <QSharedPointer> | 24 | #include <QSharedPointer> |
25 | #include <QSet> | 25 | #include <QSet> |
@@ -29,7 +29,7 @@ namespace Sink { | |||
29 | class Query; | 29 | class Query; |
30 | } | 30 | } |
31 | 31 | ||
32 | class FolderListModel : public KRecursiveFilterProxyModel | 32 | class KUBE_EXPORT FolderListModel : public KRecursiveFilterProxyModel |
33 | { | 33 | { |
34 | Q_OBJECT | 34 | Q_OBJECT |
35 | 35 | ||
diff --git a/framework/src/domain/maillistmodel.h b/framework/src/domain/maillistmodel.h index a6965915..4af13dbd 100644 --- a/framework/src/domain/maillistmodel.h +++ b/framework/src/domain/maillistmodel.h | |||
@@ -19,14 +19,14 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #pragma once | 21 | #pragma once |
22 | 22 | #include "kube_export.h" | |
23 | #include <sink/store.h> | 23 | #include <sink/store.h> |
24 | 24 | ||
25 | #include <QSortFilterProxyModel> | 25 | #include <QSortFilterProxyModel> |
26 | #include <QSharedPointer> | 26 | #include <QSharedPointer> |
27 | #include <QStringList> | 27 | #include <QStringList> |
28 | 28 | ||
29 | class MailListModel : public QSortFilterProxyModel | 29 | class KUBE_EXPORT MailListModel : public QSortFilterProxyModel |
30 | { | 30 | { |
31 | Q_OBJECT | 31 | Q_OBJECT |
32 | Q_PROPERTY (QVariant parentFolder READ parentFolder WRITE setParentFolder) | 32 | Q_PROPERTY (QVariant parentFolder READ parentFolder WRITE setParentFolder) |
diff --git a/framework/src/domain/mime/messageparser.h b/framework/src/domain/mime/messageparser.h index 785b8f47..ba85973c 100644 --- a/framework/src/domain/mime/messageparser.h +++ b/framework/src/domain/mime/messageparser.h | |||
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | #include "kube_export.h" | |
22 | #include <QObject> | 22 | #include <QObject> |
23 | #include <QString> | 23 | #include <QString> |
24 | #include <QStringList> | 24 | #include <QStringList> |
@@ -36,7 +36,7 @@ namespace MimeTreeParser { | |||
36 | class ObjectTreeParser; | 36 | class ObjectTreeParser; |
37 | } | 37 | } |
38 | 38 | ||
39 | class MessageParser : public QObject | 39 | class KUBE_EXPORT MessageParser : public QObject |
40 | { | 40 | { |
41 | Q_OBJECT | 41 | Q_OBJECT |
42 | Q_PROPERTY (QVariant message READ message WRITE setMessage) | 42 | Q_PROPERTY (QVariant message READ message WRITE setMessage) |
diff --git a/framework/src/domain/mouseproxy.h b/framework/src/domain/mouseproxy.h index 67b25d06..456695a0 100644 --- a/framework/src/domain/mouseproxy.h +++ b/framework/src/domain/mouseproxy.h | |||
@@ -16,9 +16,10 @@ | |||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #include "kube_export.h" | ||
19 | #include <QQuickItem> | 20 | #include <QQuickItem> |
20 | 21 | ||
21 | class MouseProxy : public QQuickItem | 22 | class KUBE_EXPORT MouseProxy : public QQuickItem |
22 | { | 23 | { |
23 | Q_OBJECT | 24 | Q_OBJECT |
24 | 25 | ||
diff --git a/framework/src/domain/outboxmodel.h b/framework/src/domain/outboxmodel.h index 4be9c7f8..dc5a642a 100644 --- a/framework/src/domain/outboxmodel.h +++ b/framework/src/domain/outboxmodel.h | |||
@@ -19,7 +19,7 @@ | |||
19 | */ | 19 | */ |
20 | 20 | ||
21 | #pragma once | 21 | #pragma once |
22 | 22 | #include "kube_export.h" | |
23 | #include <sink/store.h> | 23 | #include <sink/store.h> |
24 | #include <sink/notifier.h> | 24 | #include <sink/notifier.h> |
25 | 25 | ||
@@ -27,7 +27,7 @@ | |||
27 | #include <QSharedPointer> | 27 | #include <QSharedPointer> |
28 | #include <QStringList> | 28 | #include <QStringList> |
29 | 29 | ||
30 | class OutboxModel : public QSortFilterProxyModel | 30 | class KUBE_EXPORT OutboxModel : public QSortFilterProxyModel |
31 | { | 31 | { |
32 | Q_OBJECT | 32 | Q_OBJECT |
33 | 33 | ||
diff --git a/framework/src/domain/peoplemodel.h b/framework/src/domain/peoplemodel.h index 69d07417..6c920252 100644 --- a/framework/src/domain/peoplemodel.h +++ b/framework/src/domain/peoplemodel.h | |||
@@ -20,6 +20,7 @@ | |||
20 | 20 | ||
21 | #pragma once | 21 | #pragma once |
22 | 22 | ||
23 | #include "kube_export.h" | ||
23 | #include <QSortFilterProxyModel> | 24 | #include <QSortFilterProxyModel> |
24 | #include <QSharedPointer> | 25 | #include <QSharedPointer> |
25 | 26 | ||
@@ -30,7 +31,7 @@ namespace Sink { | |||
30 | /** | 31 | /** |
31 | * A model that mixes addressbooks, contact groups and contacts | 32 | * A model that mixes addressbooks, contact groups and contacts |
32 | */ | 33 | */ |
33 | class PeopleModel : public QSortFilterProxyModel | 34 | class KUBE_EXPORT PeopleModel : public QSortFilterProxyModel |
34 | { | 35 | { |
35 | Q_OBJECT | 36 | Q_OBJECT |
36 | Q_PROPERTY (QVariant addressbook READ addressbook WRITE setAddressbook) | 37 | Q_PROPERTY (QVariant addressbook READ addressbook WRITE setAddressbook) |
diff --git a/framework/src/domain/perioddayeventmodel.h b/framework/src/domain/perioddayeventmodel.h index e116d9a2..ab04df50 100644 --- a/framework/src/domain/perioddayeventmodel.h +++ b/framework/src/domain/perioddayeventmodel.h | |||
@@ -20,7 +20,7 @@ | |||
20 | */ | 20 | */ |
21 | 21 | ||
22 | #pragma once | 22 | #pragma once |
23 | 23 | #include "kube_export.h" | |
24 | #include <sink/applicationdomaintype.h> | 24 | #include <sink/applicationdomaintype.h> |
25 | 25 | ||
26 | #include <QAbstractItemModel> | 26 | #include <QAbstractItemModel> |
@@ -76,7 +76,7 @@ | |||
76 | // | '--- List of event pointers for that day | 76 | // | '--- List of event pointers for that day |
77 | // '--- Partition / day | 77 | // '--- Partition / day |
78 | // | 78 | // |
79 | class PeriodDayEventModel : public QAbstractItemModel | 79 | class KUBE_EXPORT PeriodDayEventModel : public QAbstractItemModel |
80 | { | 80 | { |
81 | Q_OBJECT | 81 | Q_OBJECT |
82 | 82 | ||
diff --git a/framework/src/domain/retriever.h b/framework/src/domain/retriever.h index e454532d..0847fe67 100644 --- a/framework/src/domain/retriever.h +++ b/framework/src/domain/retriever.h | |||
@@ -18,7 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | #include "kube_export.h" | |
22 | #include <QObject> | 22 | #include <QObject> |
23 | #include <QAbstractItemModel> | 23 | #include <QAbstractItemModel> |
24 | #include <QVariant> | 24 | #include <QVariant> |
@@ -28,7 +28,7 @@ | |||
28 | * | 28 | * |
29 | * Assign a model that retrieves the index, set the property your interested in, and propery-bind "value". | 29 | * Assign a model that retrieves the index, set the property your interested in, and propery-bind "value". |
30 | */ | 30 | */ |
31 | class Retriever : public QObject | 31 | class KUBE_EXPORT Retriever : public QObject |
32 | { | 32 | { |
33 | Q_OBJECT | 33 | Q_OBJECT |
34 | Q_PROPERTY(QAbstractItemModel* model READ model WRITE setModel) | 34 | Q_PROPERTY(QAbstractItemModel* model READ model WRITE setModel) |
diff --git a/framework/src/domain/textdocumenthandler.h b/framework/src/domain/textdocumenthandler.h index 43781940..91cd8489 100644 --- a/framework/src/domain/textdocumenthandler.h +++ b/framework/src/domain/textdocumenthandler.h | |||
@@ -17,7 +17,7 @@ | |||
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | #include "kube_export.h" | |
21 | #include <QObject> | 21 | #include <QObject> |
22 | #include <QFont> | 22 | #include <QFont> |
23 | #include <QTextCursor> | 23 | #include <QTextCursor> |
@@ -25,7 +25,7 @@ | |||
25 | class QTextDocument; | 25 | class QTextDocument; |
26 | class QQuickTextDocument; | 26 | class QQuickTextDocument; |
27 | 27 | ||
28 | class TextDocumentHandler : public QObject | 28 | class KUBE_EXPORT TextDocumentHandler : public QObject |
29 | { | 29 | { |
30 | Q_OBJECT | 30 | Q_OBJECT |
31 | 31 | ||
diff --git a/framework/src/domainobjectcontroller.h b/framework/src/domainobjectcontroller.h index 5805c5a8..e0d62d48 100644 --- a/framework/src/domainobjectcontroller.h +++ b/framework/src/domainobjectcontroller.h | |||
@@ -18,6 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | ||
21 | #include "kube_export.h" | ||
21 | #include <QObject> | 22 | #include <QObject> |
22 | #include <QVariant> | 23 | #include <QVariant> |
23 | #include <QAbstractItemModel> | 24 | #include <QAbstractItemModel> |
@@ -25,7 +26,7 @@ | |||
25 | 26 | ||
26 | namespace Kube { | 27 | namespace Kube { |
27 | 28 | ||
28 | class DomainObjectController : public QObject | 29 | class KUBE_EXPORT DomainObjectController : public QObject |
29 | { | 30 | { |
30 | Q_OBJECT | 31 | Q_OBJECT |
31 | Q_PROPERTY(QVariant currentObject READ currentObject NOTIFY currentObjectChanged) | 32 | Q_PROPERTY(QVariant currentObject READ currentObject NOTIFY currentObjectChanged) |
diff --git a/framework/src/extensionmodel.h b/framework/src/extensionmodel.h index 07601e57..54cbb753 100644 --- a/framework/src/extensionmodel.h +++ b/framework/src/extensionmodel.h | |||
@@ -19,12 +19,13 @@ | |||
19 | 19 | ||
20 | #pragma once | 20 | #pragma once |
21 | 21 | ||
22 | #include "kube_export.h" | ||
22 | #include <QSortFilterProxyModel> | 23 | #include <QSortFilterProxyModel> |
23 | #include <QSharedPointer> | 24 | #include <QSharedPointer> |
24 | 25 | ||
25 | namespace Kube { | 26 | namespace Kube { |
26 | 27 | ||
27 | class ExtensionModel : public QSortFilterProxyModel | 28 | class KUBE_EXPORT ExtensionModel : public QSortFilterProxyModel |
28 | { | 29 | { |
29 | Q_OBJECT | 30 | Q_OBJECT |
30 | 31 | ||
diff --git a/framework/src/fabric.h b/framework/src/fabric.h index 764c42b1..9a060cb9 100644 --- a/framework/src/fabric.h +++ b/framework/src/fabric.h | |||
@@ -18,6 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | ||
21 | #include "kube_export.h" | ||
21 | #include <QObject> | 22 | #include <QObject> |
22 | #include <QVariant> | 23 | #include <QVariant> |
23 | #include <QVector> | 24 | #include <QVector> |
@@ -32,7 +33,7 @@ namespace Kube { | |||
32 | */ | 33 | */ |
33 | namespace Fabric { | 34 | namespace Fabric { |
34 | 35 | ||
35 | class Fabric : public QObject { | 36 | class KUBE_EXPORT Fabric : public QObject { |
36 | Q_OBJECT | 37 | Q_OBJECT |
37 | public: | 38 | public: |
38 | Q_INVOKABLE void postMessage(const QString &id, const QVariantMap &); | 39 | Q_INVOKABLE void postMessage(const QString &id, const QVariantMap &); |
@@ -48,7 +49,7 @@ public: | |||
48 | * } | 49 | * } |
49 | * } | 50 | * } |
50 | */ | 51 | */ |
51 | class Listener : public QObject | 52 | class KUBE_EXPORT Listener : public QObject |
52 | { | 53 | { |
53 | Q_OBJECT | 54 | Q_OBJECT |
54 | Q_PROPERTY(QString filter MEMBER mFilter) | 55 | Q_PROPERTY(QString filter MEMBER mFilter) |
diff --git a/framework/src/keyring.h b/framework/src/keyring.h index 5d2c7544..1d1ee105 100644 --- a/framework/src/keyring.h +++ b/framework/src/keyring.h | |||
@@ -16,13 +16,15 @@ | |||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #pragma once | ||
19 | 20 | ||
21 | #include "kube_export.h" | ||
20 | #include <QObject> | 22 | #include <QObject> |
21 | #include <QSet> | 23 | #include <QSet> |
22 | 24 | ||
23 | namespace Kube { | 25 | namespace Kube { |
24 | 26 | ||
25 | class Keyring : public QObject { | 27 | class KUBE_EXPORT Keyring : public QObject { |
26 | Q_OBJECT | 28 | Q_OBJECT |
27 | public: | 29 | public: |
28 | Keyring(); | 30 | Keyring(); |
diff --git a/framework/src/settings/settings.h b/framework/src/settings/settings.h index c5cff76b..e672913a 100644 --- a/framework/src/settings/settings.h +++ b/framework/src/settings/settings.h | |||
@@ -18,6 +18,7 @@ | |||
18 | */ | 18 | */ |
19 | #pragma once | 19 | #pragma once |
20 | 20 | ||
21 | #include "kube_export.h" | ||
21 | #include <QObject> | 22 | #include <QObject> |
22 | #include <QByteArray> | 23 | #include <QByteArray> |
23 | #include <QSettings> | 24 | #include <QSettings> |
@@ -25,7 +26,7 @@ | |||
25 | 26 | ||
26 | namespace Kube { | 27 | namespace Kube { |
27 | 28 | ||
28 | class Settings : public QObject { | 29 | class KUBE_EXPORT Settings : public QObject { |
29 | Q_OBJECT | 30 | Q_OBJECT |
30 | Q_PROPERTY(QByteArray identifier READ identifier WRITE setIdentifier) | 31 | Q_PROPERTY(QByteArray identifier READ identifier WRITE setIdentifier) |
31 | public: | 32 | public: |
diff --git a/framework/src/startupcheck.h b/framework/src/startupcheck.h index b8b2e3a0..6d7c8e1b 100644 --- a/framework/src/startupcheck.h +++ b/framework/src/startupcheck.h | |||
@@ -16,10 +16,12 @@ | |||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #pragma once | ||
19 | 20 | ||
21 | #include "kube_export.h" | ||
20 | #include <QObject> | 22 | #include <QObject> |
21 | 23 | ||
22 | class StartupCheck : public QObject { | 24 | class KUBE_EXPORT StartupCheck : public QObject { |
23 | Q_OBJECT | 25 | Q_OBJECT |
24 | Q_PROPERTY(bool noAccount READ noAccount CONSTANT); | 26 | Q_PROPERTY(bool noAccount READ noAccount CONSTANT); |
25 | public: | 27 | public: |
diff --git a/framework/src/viewhighlighter.h b/framework/src/viewhighlighter.h index 00b4d4b6..2238dc72 100644 --- a/framework/src/viewhighlighter.h +++ b/framework/src/viewhighlighter.h | |||
@@ -16,13 +16,15 @@ | |||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #pragma once | ||
19 | 20 | ||
21 | #include "kube_export.h" | ||
20 | #include <QObject> | 22 | #include <QObject> |
21 | #include <QSharedPointer> | 23 | #include <QSharedPointer> |
22 | 24 | ||
23 | class QQuickTextDocument; | 25 | class QQuickTextDocument; |
24 | 26 | ||
25 | class ViewHighlighter : public QObject { | 27 | class KUBE_EXPORT ViewHighlighter : public QObject { |
26 | Q_OBJECT | 28 | Q_OBJECT |
27 | 29 | ||
28 | Q_PROPERTY(QString searchString WRITE setSearchString) | 30 | Q_PROPERTY(QString searchString WRITE setSearchString) |
diff --git a/framework/src/webengineprofile.h b/framework/src/webengineprofile.h index 16cea88b..3a58e23c 100644 --- a/framework/src/webengineprofile.h +++ b/framework/src/webengineprofile.h | |||
@@ -16,10 +16,12 @@ | |||
16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA | 16 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA |
17 | 02110-1301, USA. | 17 | 02110-1301, USA. |
18 | */ | 18 | */ |
19 | #pragma once | ||
19 | 20 | ||
21 | #include "kube_export.h" | ||
20 | #include <QQuickWebEngineProfile> | 22 | #include <QQuickWebEngineProfile> |
21 | 23 | ||
22 | class WebEngineProfile : public QQuickWebEngineProfile | 24 | class KUBE_EXPORT WebEngineProfile : public QQuickWebEngineProfile |
23 | { | 25 | { |
24 | Q_OBJECT | 26 | Q_OBJECT |
25 | public: | 27 | public: |