diff --git a/core/backends/lan/downloadjob.h b/core/backends/lan/downloadjob.h index 54ad86ab7..76b857759 100644 --- a/core/backends/lan/downloadjob.h +++ b/core/backends/lan/downloadjob.h @@ -29,8 +29,10 @@ #include #include #include +#include -class DownloadJob + +class KDECONNECTCORE_EXPORT DownloadJob : public KJob { Q_OBJECT diff --git a/core/backends/lan/landevicelink.h b/core/backends/lan/landevicelink.h index 1450aed97..8cc2a935f 100644 --- a/core/backends/lan/landevicelink.h +++ b/core/backends/lan/landevicelink.h @@ -26,12 +26,13 @@ #include #include +#include #include "../devicelink.h" #include "uploadjob.h" class SocketLineReader; -class LanDeviceLink +class KDECONNECTCORE_EXPORT LanDeviceLink : public DeviceLink { Q_OBJECT diff --git a/core/backends/lan/lanlinkprovider.h b/core/backends/lan/lanlinkprovider.h index 4105c3ca4..390f89336 100644 --- a/core/backends/lan/lanlinkprovider.h +++ b/core/backends/lan/lanlinkprovider.h @@ -27,12 +27,14 @@ #include #include + +#include #include "../linkprovider.h" #include "server.h" #include "landevicelink.h" class LanPairingHandler; -class LanLinkProvider +class KDECONNECTCORE_EXPORT LanLinkProvider : public LinkProvider { Q_OBJECT diff --git a/core/backends/lan/server.h b/core/backends/lan/server.h index 64516f15a..fba076c9b 100644 --- a/core/backends/lan/server.h +++ b/core/backends/lan/server.h @@ -24,9 +24,11 @@ #include #include #include +#include + // This class overrides QTcpServer to bind QSslSocket to native socket descriptor instead of QTcpSocket -class Server +class KDECONNECTCORE_EXPORT Server : public QTcpServer { diff --git a/core/backends/lan/socketlinereader.h b/core/backends/lan/socketlinereader.h index 62daef9c6..55c9bdedb 100644 --- a/core/backends/lan/socketlinereader.h +++ b/core/backends/lan/socketlinereader.h @@ -27,11 +27,13 @@ #include #include +#include + /* * Encapsulates a QTcpSocket and implements the same methods of its API that are * used by LanDeviceLink, but readyRead is emitted only when a newline is found. */ -class SocketLineReader +class KDECONNECTCORE_EXPORT SocketLineReader : public QObject { Q_OBJECT