Add KDE_EXPORT to public library symbols.

This allows build with gcc hidden visibility.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/1/head
Slávek Banko 6 years ago
parent ecbfff06c3
commit 9dfe8647a4
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -20,7 +20,12 @@
#ifndef ACTIONREGISTRY_H #ifndef ACTIONREGISTRY_H
#define ACTIONREGISTRY_H #define ACTIONREGISTRY_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <tqptrlist.h> #include <tqptrlist.h>
#include <kdemacros.h>
class KatapultItem; class KatapultItem;
class KatapultAction; class KatapultAction;
@ -28,7 +33,7 @@ class KatapultAction;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class ActionRegistry{ class KDE_EXPORT ActionRegistry{
public: public:
~ActionRegistry(); ~ActionRegistry();

@ -30,7 +30,7 @@ class KatapultItem;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class CachedCatalog : public KatapultCatalog class KDE_EXPORT CachedCatalog : public KatapultCatalog
{ {
Q_OBJECT Q_OBJECT

@ -33,7 +33,7 @@ class TQFont;
/** /**
@author Joe Ferris, Bastian Holst @author Joe Ferris, Bastian Holst
*/ */
class ImageDisplay : public KatapultDisplay class KDE_EXPORT ImageDisplay : public KatapultDisplay
{ {
Q_OBJECT Q_OBJECT

@ -20,8 +20,13 @@
#ifndef KATAPULTACTION_H #ifndef KATAPULTACTION_H
#define KATAPULTACTION_H #define KATAPULTACTION_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <tqstring.h> #include <tqstring.h>
#include <tqptrlist.h> #include <tqptrlist.h>
#include <kdemacros.h>
class TQPixmap; class TQPixmap;
class KatapultItem; class KatapultItem;
@ -29,7 +34,7 @@ class KatapultItem;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class KatapultAction { class KDE_EXPORT KatapultAction {
public: public:
virtual ~KatapultAction(); virtual ~KatapultAction();

@ -32,7 +32,7 @@ class TDEConfigBase;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class KatapultCatalog : public TQObject { class KDE_EXPORT KatapultCatalog : public TQObject {
Q_OBJECT Q_OBJECT

@ -33,7 +33,7 @@ class TDEConfigBase;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class KatapultDisplay : public TQWidget class KDE_EXPORT KatapultDisplay : public TQWidget
{ {
Q_OBJECT Q_OBJECT

@ -30,7 +30,7 @@ class TQString;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class KatapultItem : public TQObject { class KDE_EXPORT KatapultItem : public TQObject {
Q_OBJECT Q_OBJECT
public: public:

@ -20,12 +20,18 @@
#ifndef MATCH_H #ifndef MATCH_H
#define MATCH_H #define MATCH_H
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include <kdemacros.h>
class KatapultItem; class KatapultItem;
/** /**
@author Joe Ferris @author Joe Ferris
*/ */
class Match { class KDE_EXPORT Match {
public: public:
Match(); Match();
Match(const KatapultItem *, int, unsigned int); Match(const KatapultItem *, int, unsigned int);

Loading…
Cancel
Save