summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-01-03 03:40:09 +0100
committerSlávek Banko <[email protected]>2019-01-03 04:28:05 +0100
commit6d8083e2a680f398426332649fa58ef6062d5d82 (patch)
tree37b6870cbd804bc356145c91d535f56b7c66de59
parent2d2db589f29cc5d9875f6c1c73b0f01e69b35411 (diff)
downloadkpilot-6d8083e2a680f398426332649fa58ef6062d5d82.tar.gz
kpilot-6d8083e2a680f398426332649fa58ef6062d5d82.zip
Fix export of symbols to work properly with hidden visibility.
Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit c2446367dbf7826bdd45ff8a943b408c1b7097d8)
-rw-r--r--lib/actionQueue.h2
-rw-r--r--lib/actions.h8
-rw-r--r--lib/pilot.h2
-rw-r--r--lib/pilotAddress.h4
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)