Fix export of symbols to work properly with hidden visibility.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit c2446367db)
r14.0.x
Slávek Banko 6 years ago
parent 2d2db589f2
commit 6d8083e2a6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -54,7 +54,7 @@
* actions in the queue in sequence. * actions in the queue in sequence.
* *
*/ */
KDE_EXPORT class ActionQueue : public SyncAction class KDE_EXPORT ActionQueue : public SyncAction
{ {
Q_OBJECT Q_OBJECT

@ -42,7 +42,7 @@
* It is added automatically to a ActionQueue by queueInit() in order * It is added automatically to a ActionQueue by queueInit() in order
* to inform the user of the sync. * to inform the user of the sync.
*/ */
KDE_EXPORT class WelcomeAction : public SyncAction class KDE_EXPORT WelcomeAction : public SyncAction
{ {
public: public:
/** Constructor. */ /** Constructor. */
@ -58,7 +58,7 @@ protected:
* in cases when the hotsync starts while KPilot is busy configuring * in cases when the hotsync starts while KPilot is busy configuring
* something and can't be interrupted. * something and can't be interrupted.
*/ */
KDE_EXPORT class SorryAction : public SyncAction class KDE_EXPORT SorryAction : public SyncAction
{ {
public: public:
/** /**
@ -84,7 +84,7 @@ protected:
* device that the HotSync is over, it should be the last * device that the HotSync is over, it should be the last
* action executed. * action executed.
*/ */
KDE_EXPORT class CleanupAction : public SyncAction class KDE_EXPORT CleanupAction : public SyncAction
{ {
public: public:
/** Constructor. */ /** Constructor. */
@ -100,7 +100,7 @@ protected:
* and not do anything spectacular. It lists all the databases * and not do anything spectacular. It lists all the databases
* on the handheld in the sync log. * on the handheld in the sync log.
*/ */
KDE_EXPORT class TestLink : public SyncAction class KDE_EXPORT TestLink : public SyncAction
{ {
public: public:
/** Constructor. */ /** Constructor. */

@ -60,7 +60,7 @@ class PilotCategoryInfo; // ... and category information
* as mapping user-visible strings from UTF8 (KDE side) to * as mapping user-visible strings from UTF8 (KDE side) to
* the encoding used on the handheld. * 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. */ /** Maximum size of an AppInfo block, taken roughly from the pilot-link source. */
static const int MAX_APPINFO_SIZE=8192; static const int MAX_APPINFO_SIZE=8192;

@ -59,7 +59,7 @@ typedef PilotAppInfo<
* A phone slot value may be invalid. If so, operations on it will * A phone slot value may be invalid. If so, operations on it will
* fail (yielding invalid again) and isValid() will return @c false. * fail (yielding invalid again) and isValid() will return @c false.
*/ */
class PhoneSlot class KDE_EXPORT PhoneSlot
{ {
friend class PilotAddress; friend class PilotAddress;
protected: protected:
@ -125,7 +125,7 @@ private:
} ; } ;
class PilotAddressInfo : public PilotAddressInfo_ class KDE_EXPORT PilotAddressInfo : public PilotAddressInfo_
{ {
public: public:
PilotAddressInfo(PilotDatabase *d) : PilotAddressInfo_(d) PilotAddressInfo(PilotDatabase *d) : PilotAddressInfo_(d)

Loading…
Cancel
Save