Add missing TDE_EXPORT required for hidden visibility support

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 16dfc46f06)
r14.1.x
Michele Calgaro 3 months ago
parent 3d1fba0b93
commit 775bbec9d3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -1157,7 +1157,7 @@ TQObject* KMFRuleOptionEditMACFactory::createObject( TQObject* parent, const cha
}
extern "C" {
void* init_libkmfruleoptionedit_mac() {
TDE_EXPORT void* init_libkmfruleoptionedit_mac() {
return new KMFRuleOptionEditMACFactory;
}
}

@ -246,7 +246,7 @@ TQObject* KMFIPTablesCompilerFactory::createObject( TQObject* parent, const char
// }
extern "C" {
void* init_libkmfcompiler_ipt() {
TDE_EXPORT void* init_libkmfcompiler_ipt() {
return new KMFIPTablesCompilerFactory;
}
}

@ -454,7 +454,7 @@ TQObject* KMFPFCompilerFactory::createObject( TQObject* parent, const char* name
// }
extern "C" {
void* init_libkmfcompiler_pf() {
TDE_EXPORT void* init_libkmfcompiler_pf() {
return new KMFPFCompilerFactory;
}
}

@ -26,7 +26,7 @@ class KMFProtocolCategory;
/**
@author Christian Hubinger <chubinger@irrsinnig.org>
*/
class KMFProtocolLibrary : public TQObject {
class TDE_EXPORT KMFProtocolLibrary : public TQObject {
TQ_OBJECT
/** Static Stuff **/

@ -33,7 +33,7 @@ namespace KMF {
@author Christian Hubinger <chubinger@irrsinnig.org>
*/
class KMFProtocolUsage : public NetfilterObject {
class TDE_EXPORT KMFProtocolUsage : public NetfilterObject {
friend class KMFProtocol;
TQ_OBJECT

@ -34,7 +34,7 @@ class KMFNetwork;
@author Christian Hubinger <chubinger@irrsinnig.org>
*/
class KMFUndoEngine : public TQObject {
class TDE_EXPORT KMFUndoEngine : public TQObject {
TQ_OBJECT

@ -16,6 +16,7 @@
// TQt Includes
#include <tqobject.h>
#include <tqstring.h>
#include <tdemacros.h>
// KDE includes
@ -29,7 +30,7 @@ class KMFTarget;
/**
@author Christian Hubinger <chubinger@irrsinnig.org>
*/
class TDEProcessWrapper : public TQObject {
class TDE_EXPORT TDEProcessWrapper : public TQObject {
TQ_OBJECT

@ -13,13 +13,14 @@ Author: Christian Hubinger <chubinger@irrsinnig.org>, (C) 2001-2008
#define XMLNAMES_H
#include <tqstring.h>
#include <tdemacros.h>
/**
@author Christian Hubinger <chubinger@irrsinnig.org>
*/
namespace KMF {
class XML {
class TDE_EXPORT XML {
private:
XML();
@ -129,7 +130,7 @@ class XML {
class Constants {
class TDE_EXPORT Constants {
private:
Constants();
public:

@ -248,7 +248,7 @@ TDEInstance* KMFGenericInterfacePartFactory::instance() {
}
extern "C" {
void* init_libkmfgenericinterfacepart() {
TDE_EXPORT void* init_libkmfgenericinterfacepart() {
return new KMFGenericInterfacePartFactory;
}
}

@ -444,7 +444,7 @@ TQObject* KMFInstallerPluginFactory::createObject( TQObject* parent, const char*
extern "C" {
void* init_libkmfinstallerplugin() {
TDE_EXPORT void* init_libkmfinstallerplugin() {
return new KMFInstallerPluginFactory;
}
}

@ -1161,7 +1161,7 @@ TQObject* KMFIPTInstallerFactory::createObject( TQObject* parent, const char* na
// }
extern "C" {
void* init_libkmfinstaller_linux() {
TDE_EXPORT void* init_libkmfinstaller_linux() {
return new KMFIPTInstallerFactory;
}
}

@ -1121,7 +1121,7 @@ TQObject* KMFPFInstallerFactory::createObject( TQObject* parent, const char* nam
// }
extern "C" {
void* init_libkmfinstaller_openbsd() {
TDE_EXPORT void* init_libkmfinstaller_openbsd() {
return new KMFPFInstallerFactory;
}
}

@ -298,7 +298,7 @@ TDEInstance* KMFIPTEditorPartFactory::instance() {
}
extern "C" {
void* init_libkmfipteditorpart() {
TDE_EXPORT void* init_libkmfipteditorpart() {
return new KMFIPTEditorPartFactory;
}
}

@ -29,6 +29,7 @@
#include <tqstring.h>
#include <tqguardedptr.h>
#include <tqpixmap.h>
#include <tdemacros.h>
/**
@author Christian Hubinger
@ -44,7 +45,7 @@ class KMFProtocol;
class KMFListViewItem;
class KMFProtocolCategory;
class KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditProtocolWidget {
class TDE_EXPORT KMFGenericInterfaceEditProtocol : public KMyFirewallGenericInterfaceEditProtocolWidget {
TQ_OBJECT
public:

@ -24,6 +24,7 @@
#include <tqpixmap.h>
#include <tqguardedptr.h>
#include <tquuid.h>
class TDEPopupMenu;
class TQTextEdit;
@ -39,7 +40,7 @@ class KMFTarget;
class KMFListViewItem;
class NetfilterObject;
class KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget
class TDE_EXPORT KMFMyNetworkWidget : public KMyFirewallMyNetworkWidget
{
TQ_OBJECT

@ -17,12 +17,13 @@
// TQt include
#include <tqguardedptr.h>
#include <tdemacros.h>
namespace KMF {
class KMFNetHost;
class KMFIPv4AddressWidget;
class KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties {
class TDE_EXPORT KMFNetHostPropertiesWidget : public KMyFirewallNetHostProperties {
TQ_OBJECT

@ -20,6 +20,7 @@
#include <tqguardedptr.h>
#include <tqpixmap.h>
#include <tquuid.h>
#include <tdemacros.h>
@ -31,7 +32,7 @@ class KMFProtocolCategory;
class KMFNetZone;
class KMFNetHost;
class KMFProtocolListView : public KMyFirewallProtocolListView {
class TDE_EXPORT KMFProtocolListView : public KMyFirewallProtocolListView {
TQ_OBJECT

@ -21,13 +21,14 @@
#include <tqguardedptr.h>
#include <tqpixmap.h>
#include <tquuid.h>
#include <tdemacros.h>
namespace KMF {
class KMFProtocol;
class KMFProtocolUsage;
class KMFProtocolCategory;
class KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget {
class TDE_EXPORT KMFProtocolPropertiesWidget : public KMyFirewallProtocolPropertiesWidget {
TQ_OBJECT

@ -19,13 +19,15 @@
#include <tqstring.h>
#include <tqguardedptr.h>
#include <tqpoint.h>
#include <tdemacros.h>
class TQListViewItem;
namespace KMF {
class KMFNetwork;
class KMFTarget;
class KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget
class TDE_EXPORT KMFSelectActiveTarget : public KMyFirewallSelectActiveTarget
{
TQ_OBJECT

@ -14,6 +14,7 @@
#define KMFTRANSACTIONLOG_H
#include <tqlistview.h>
#include <tdemacros.h>
#include "kmyfirewalltransactionlog.h"
@ -27,7 +28,7 @@ namespace KMF {
class KMFTransaction;
class KMFTransactionLog : public KMyFirewallTransactionLog
class TDE_EXPORT KMFTransactionLog : public KMyFirewallTransactionLog
{
TQ_OBJECT

@ -119,7 +119,7 @@ TQObject* KMFRuleOptionEditCustomFactory::createObject( TQObject* parent, const
// // }
extern "C" {
void* init_libkmfruleoptionedit_custom() {
TDE_EXPORT void* init_libkmfruleoptionedit_custom() {
return new KMFRuleOptionEditCustomFactory;
}
}

@ -109,7 +109,7 @@ TQObject* KMFRuleOptionEditorInterfaceFactory::createObject( TQObject* parent, c
// }
extern "C" {
void* init_libkmfruleoptionedit_interface() {
TDE_EXPORT void* init_libkmfruleoptionedit_interface() {
return new KMFRuleOptionEditorInterfaceFactory;
}
}

@ -117,7 +117,7 @@ TQObject* KMFRuleOptionEditIPFactory::createObject( TQObject* parent, const char
// }
extern "C" {
void* init_libkmfruleoptionedit_ip() {
TDE_EXPORT void* init_libkmfruleoptionedit_ip() {
return new KMFRuleOptionEditIPFactory;
}
}

@ -119,7 +119,7 @@ TQObject* KMFRuleOptionEditLimitFactory::createObject( TQObject* parent, const c
// }
extern "C" {
void* init_libkmfruleoptionedit_limit() {
TDE_EXPORT void* init_libkmfruleoptionedit_limit() {
return new KMFRuleOptionEditLimitFactory;
}
}

@ -115,7 +115,7 @@ TQObject* KMFRuleTargetOptionEditLogFactory::createObject( TQObject* parent, con
// }
extern "C" {
void* init_libkmfruletargetoptionedit_log() {
TDE_EXPORT void* init_libkmfruletargetoptionedit_log() {
return new KMFRuleTargetOptionEditLogFactory;
}
}

@ -100,7 +100,7 @@ TQObject* KMFRuleOptionEditMACFactory::createObject( TQObject* parent, const cha
extern "C" {
void* init_libkmfruleoptionedit_mac() {
TDE_EXPORT void* init_libkmfruleoptionedit_mac() {
return new KMFRuleOptionEditMACFactory;
}
}

@ -120,7 +120,7 @@ TQObject* KMFRuleTargetOptionEditMarkFactory::createObject( TQObject* parent, co
// }
extern "C" {
void* init_libkmfruletargetoptionedit_mark() {
TDE_EXPORT void* init_libkmfruletargetoptionedit_mark() {
return new KMFRuleTargetOptionEditMarkFactory;
}
}

@ -132,7 +132,7 @@ TQObject* KMFRuleTargetOptionEditNatFactory::createObject( TQObject* parent, con
// }
extern "C" {
void* init_libkmfruletargetoptionedit_nat() {
TDE_EXPORT void* init_libkmfruletargetoptionedit_nat() {
return new KMFRuleTargetOptionEditNatFactory;
}
}

@ -122,7 +122,7 @@ TQObject* KMFRuleOptionEditProtocolFactory::createObject( TQObject* parent, cons
// }
extern "C" {
void* init_libkmfruleoptionedit_protocol() {
TDE_EXPORT void* init_libkmfruleoptionedit_protocol() {
return new KMFRuleOptionEditProtocolFactory;
}
}

@ -115,7 +115,7 @@ TQObject* KMFRuleOptionEditStateFactory::createObject( TQObject* parent, const c
// }
extern "C" {
void* init_libkmfruleoptionedit_state() {
TDE_EXPORT void* init_libkmfruleoptionedit_state() {
return new KMFRuleOptionEditStateFactory;
}
}

@ -120,7 +120,7 @@ TQObject* KMFRuleOptionEditTosFactory::createObject( TQObject* parent, const cha
// }
extern "C" {
void* init_libkmfruleoptionedit_tos() {
TDE_EXPORT void* init_libkmfruleoptionedit_tos() {
return new KMFRuleOptionEditTosFactory;
}
}

@ -119,7 +119,7 @@ TQObject* KMFRuleTargetOptionEditTosFactory::createObject( TQObject* parent, con
// }
extern "C" {
void* init_libkmfruletargetoptionedit_tos() {
TDE_EXPORT void* init_libkmfruletargetoptionedit_tos() {
return new KMFRuleTargetOptionEditTosFactory;
}
}

Loading…
Cancel
Save