summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt2
-rw-r--r--tdenetworkmanager/src/tdenetman-plugin.h3
-rw-r--r--tdenetworkmanager/src/tdenetman-vpnplugin.h7
3 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e7798a6..1d31a3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -48,7 +48,7 @@ endif( )
##### optional stuff ############################
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
-option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" OFF )
+option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )
option( WITH_OPENVPN "Enable openvpn support" ${WITH_ALL_OPTIONS} )
option( WITH_PPTP "Enable pptp support" ${WITH_ALL_OPTIONS} )
option( WITH_VPNC "Enable vpnc support" ${WITH_ALL_OPTIONS} )
diff --git a/tdenetworkmanager/src/tdenetman-plugin.h b/tdenetworkmanager/src/tdenetman-plugin.h
index 9ddde0f..ad6251d 100644
--- a/tdenetworkmanager/src/tdenetman-plugin.h
+++ b/tdenetworkmanager/src/tdenetman-plugin.h
@@ -26,8 +26,9 @@
#define TDENETWORKMANAGER_PLUGIN_H
#include <tqobject.h>
+#include <kdemacros.h>
-class Plugin : public TQObject
+class KDE_EXPORT Plugin : public TQObject
{
Q_OBJECT
diff --git a/tdenetworkmanager/src/tdenetman-vpnplugin.h b/tdenetworkmanager/src/tdenetman-vpnplugin.h
index b345136..1215c05 100644
--- a/tdenetworkmanager/src/tdenetman-vpnplugin.h
+++ b/tdenetworkmanager/src/tdenetman-vpnplugin.h
@@ -35,7 +35,7 @@
#define TDENETWORKMANAGER_VPNPLUGIN "TDENetworkManager/VPNPlugin"
-class VPNConfigWidget : public TQWidget
+class KDE_EXPORT VPNConfigWidget : public TQWidget
{
Q_OBJECT
@@ -51,7 +51,7 @@ class VPNConfigWidget : public TQWidget
virtual bool isValid(TQStringList&);
};
-class VPNAuthenticationWidget : public TQWidget
+class KDE_EXPORT VPNAuthenticationWidget : public TQWidget
{
Q_OBJECT
@@ -65,7 +65,7 @@ class VPNAuthenticationWidget : public TQWidget
virtual bool needsUserInteraction();
};
-class VPNPlugin : public Plugin
+class KDE_EXPORT VPNPlugin : public Plugin
{
Q_OBJECT
@@ -79,4 +79,3 @@ class VPNPlugin : public Plugin
#endif /* TDENETWORKMANAGER_VPNPLUGIN_H */
-