From c2446367dbf7826bdd45ff8a943b408c1b7097d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 3 Jan 2019 03:40:09 +0100 Subject: [PATCH] Fix export of symbols to work properly with hidden visibility. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- lib/actionQueue.h | 2 +- lib/actions.h | 8 ++++---- lib/pilot.h | 2 +- lib/pilotAddress.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/actionQueue.h b/lib/actionQueue.h index 3954b3f..850b33a 100644 --- a/lib/actionQueue.h +++ b/lib/actionQueue.h @@ -54,7 +54,7 @@ * actions in the queue in sequence. * */ -KDE_EXPORT class ActionQueue : public SyncAction +class KDE_EXPORT ActionQueue : public SyncAction { Q_OBJECT diff --git a/lib/actions.h b/lib/actions.h index 35496d0..a57a6e9 100644 --- a/lib/actions.h +++ b/lib/actions.h @@ -42,7 +42,7 @@ * It is added automatically to a ActionQueue by queueInit() in order * to inform the user of the sync. */ -KDE_EXPORT class WelcomeAction : public SyncAction +class KDE_EXPORT WelcomeAction : public SyncAction { public: /** Constructor. */ @@ -58,7 +58,7 @@ protected: * in cases when the hotsync starts while KPilot is busy configuring * something and can't be interrupted. */ -KDE_EXPORT class SorryAction : public SyncAction +class KDE_EXPORT SorryAction : public SyncAction { public: /** @@ -84,7 +84,7 @@ protected: * device that the HotSync is over, it should be the last * action executed. */ -KDE_EXPORT class CleanupAction : public SyncAction +class KDE_EXPORT CleanupAction : public SyncAction { public: /** Constructor. */ @@ -100,7 +100,7 @@ protected: * and not do anything spectacular. It lists all the databases * on the handheld in the sync log. */ -KDE_EXPORT class TestLink : public SyncAction +class KDE_EXPORT TestLink : public SyncAction { public: /** Constructor. */ diff --git a/lib/pilot.h b/lib/pilot.h index 5638b70..165875c 100644 --- a/lib/pilot.h +++ b/lib/pilot.h @@ -60,7 +60,7 @@ class PilotCategoryInfo; // ... and category information * as mapping user-visible strings from UTF8 (KDE side) to * the encoding used on the handheld. */ -namespace Pilot +namespace KDE_EXPORT Pilot { /** Maximum size of an AppInfo block, taken roughly from the pilot-link source. */ static const int MAX_APPINFO_SIZE=8192; diff --git a/lib/pilotAddress.h b/lib/pilotAddress.h index db0f18c..1ef1077 100644 --- a/lib/pilotAddress.h +++ b/lib/pilotAddress.h @@ -59,7 +59,7 @@ typedef PilotAppInfo< * A phone slot value may be invalid. If so, operations on it will * fail (yielding invalid again) and isValid() will return @c false. */ -class PhoneSlot +class KDE_EXPORT PhoneSlot { friend class PilotAddress; protected: @@ -125,7 +125,7 @@ private: } ; -class PilotAddressInfo : public PilotAddressInfo_ +class KDE_EXPORT PilotAddressInfo : public PilotAddressInfo_ { public: PilotAddressInfo(PilotDatabase *d) : PilotAddressInfo_(d)