summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2019-02-17 04:36:03 +0100
committerSlávek Banko <[email protected]>2019-02-17 12:51:35 +0100
commitf96846e3254ec2ddc4b8236c87da2c1e8a00b1c2 (patch)
tree438e9b91e74fd857187b587f6710e28792597c7e
parentbd9a17692ba57fbc98f34853f9f2259a417ad08f (diff)
downloadkatapult-f96846e3254ec2ddc4b8236c87da2c1e8a00b1c2.tar.gz
katapult-f96846e3254ec2ddc4b8236c87da2c1e8a00b1c2.zip
Add KDE_EXPORT to public library symbols.
This allows build with gcc hidden visibility. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 9dfe8647a49260942c36c10e28bdaa4f463fc818)
-rw-r--r--katapult/common/actionregistry.h7
-rw-r--r--katapult/common/cachedcatalog.h2
-rw-r--r--katapult/common/imagedisplay.h2
-rw-r--r--katapult/common/katapultaction.h7
-rw-r--r--katapult/common/katapultcatalog.h2
-rw-r--r--katapult/common/katapultdisplay.h2
-rw-r--r--katapult/common/katapultitem.h2
-rw-r--r--katapult/common/match.h8
8 files changed, 24 insertions, 8 deletions
diff --git a/katapult/common/actionregistry.h b/katapult/common/actionregistry.h
index 6cf1fa3..db9e6e6 100644
--- a/katapult/common/actionregistry.h
+++ b/katapult/common/actionregistry.h
@@ -20,7 +20,12 @@
#ifndef ACTIONREGISTRY_H
#define ACTIONREGISTRY_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqptrlist.h>
+#include <kdemacros.h>
class KatapultItem;
class KatapultAction;
@@ -28,7 +33,7 @@ class KatapultAction;
/**
@author Joe Ferris
*/
-class ActionRegistry{
+class KDE_EXPORT ActionRegistry{
public:
~ActionRegistry();
diff --git a/katapult/common/cachedcatalog.h b/katapult/common/cachedcatalog.h
index e02e578..291b0d3 100644
--- a/katapult/common/cachedcatalog.h
+++ b/katapult/common/cachedcatalog.h
@@ -30,7 +30,7 @@ class KatapultItem;
/**
@author Joe Ferris
*/
-class CachedCatalog : public KatapultCatalog
+class KDE_EXPORT CachedCatalog : public KatapultCatalog
{
Q_OBJECT
diff --git a/katapult/common/imagedisplay.h b/katapult/common/imagedisplay.h
index a9de837..aa99895 100644
--- a/katapult/common/imagedisplay.h
+++ b/katapult/common/imagedisplay.h
@@ -33,7 +33,7 @@ class TQFont;
/**
@author Joe Ferris, Bastian Holst
*/
-class ImageDisplay : public KatapultDisplay
+class KDE_EXPORT ImageDisplay : public KatapultDisplay
{
Q_OBJECT
diff --git a/katapult/common/katapultaction.h b/katapult/common/katapultaction.h
index 7949a77..fd198a8 100644
--- a/katapult/common/katapultaction.h
+++ b/katapult/common/katapultaction.h
@@ -20,8 +20,13 @@
#ifndef KATAPULTACTION_H
#define KATAPULTACTION_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
#include <tqstring.h>
#include <tqptrlist.h>
+#include <kdemacros.h>
class TQPixmap;
class KatapultItem;
@@ -29,7 +34,7 @@ class KatapultItem;
/**
@author Joe Ferris
*/
-class KatapultAction {
+class KDE_EXPORT KatapultAction {
public:
virtual ~KatapultAction();
diff --git a/katapult/common/katapultcatalog.h b/katapult/common/katapultcatalog.h
index 3ffef8d..2f717d3 100644
--- a/katapult/common/katapultcatalog.h
+++ b/katapult/common/katapultcatalog.h
@@ -32,7 +32,7 @@ class TDEConfigBase;
/**
@author Joe Ferris
*/
-class KatapultCatalog : public TQObject {
+class KDE_EXPORT KatapultCatalog : public TQObject {
Q_OBJECT
diff --git a/katapult/common/katapultdisplay.h b/katapult/common/katapultdisplay.h
index 4757d3e..320f393 100644
--- a/katapult/common/katapultdisplay.h
+++ b/katapult/common/katapultdisplay.h
@@ -33,7 +33,7 @@ class TDEConfigBase;
/**
@author Joe Ferris
*/
-class KatapultDisplay : public TQWidget
+class KDE_EXPORT KatapultDisplay : public TQWidget
{
Q_OBJECT
diff --git a/katapult/common/katapultitem.h b/katapult/common/katapultitem.h
index aab98f8..1720d6c 100644
--- a/katapult/common/katapultitem.h
+++ b/katapult/common/katapultitem.h
@@ -30,7 +30,7 @@ class TQString;
/**
@author Joe Ferris
*/
-class KatapultItem : public TQObject {
+class KDE_EXPORT KatapultItem : public TQObject {
Q_OBJECT
public:
diff --git a/katapult/common/match.h b/katapult/common/match.h
index 818158b..fa0eccb 100644
--- a/katapult/common/match.h
+++ b/katapult/common/match.h
@@ -20,12 +20,18 @@
#ifndef MATCH_H
#define MATCH_H
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <kdemacros.h>
+
class KatapultItem;
/**
@author Joe Ferris
*/
-class Match {
+class KDE_EXPORT Match {
public:
Match();
Match(const KatapultItem *, int, unsigned int);