summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-05-03 12:18:13 +0900
committerMichele Calgaro <[email protected]>2024-05-07 13:24:50 +0900
commitec406aaccafeb551f1fbfc24c88a7f08a91afa16 (patch)
tree1557c468d4ddc8e087a5be550ba2dadcb0040d27
parent26ea7034544b235637f969f1759d6c37ed16c49f (diff)
downloadtdenetworkmanager-ec406aaccafeb551f1fbfc24c88a7f08a91afa16.tar.gz
tdenetworkmanager-ec406aaccafeb551f1fbfc24c88a7f08a91afa16.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit c670f4d0d4526dc716e4b0025413514274683593)
-rw-r--r--tdenetworkmanager/src/main.cpp2
-rw-r--r--tdenetworkmanager/src/tdenetman-plugin.h2
-rw-r--r--tdenetworkmanager/src/tdenetman-vpnplugin.h6
-rw-r--r--tdenetworkmanager/src/tdenetman_dummy.cpp2
4 files changed, 6 insertions, 6 deletions
diff --git a/tdenetworkmanager/src/main.cpp b/tdenetworkmanager/src/main.cpp
index 588747f..f6f5c23 100644
--- a/tdenetworkmanager/src/main.cpp
+++ b/tdenetworkmanager/src/main.cpp
@@ -41,7 +41,7 @@ static const char* tdenm_descr = I18N_NOOP("A NetworkManager front-end for TDE
static const char* tdenm_copy = I18N_NOOP("Copyright (C) 2012 Trinity Desktop Project");
static const char* tdenm_webpage = I18N_NOOP("http://www.trinitydesktop.org");
-extern "C" KDE_EXPORT int
+extern "C" TDE_EXPORT int
kdemain (int argc, char* argv[])
{
TDEAboutData aboutData ("tdenetworkmanager", I18N_NOOP("TDENetworkManager"),
diff --git a/tdenetworkmanager/src/tdenetman-plugin.h b/tdenetworkmanager/src/tdenetman-plugin.h
index 6c2cd67..9d8b701 100644
--- a/tdenetworkmanager/src/tdenetman-plugin.h
+++ b/tdenetworkmanager/src/tdenetman-plugin.h
@@ -28,7 +28,7 @@
#include <tqobject.h>
#include <kdemacros.h>
-class KDE_EXPORT Plugin : public TQObject
+class TDE_EXPORT Plugin : public TQObject
{
TQ_OBJECT
diff --git a/tdenetworkmanager/src/tdenetman-vpnplugin.h b/tdenetworkmanager/src/tdenetman-vpnplugin.h
index 20abb0d..1274f33 100644
--- a/tdenetworkmanager/src/tdenetman-vpnplugin.h
+++ b/tdenetworkmanager/src/tdenetman-vpnplugin.h
@@ -35,7 +35,7 @@
#define TDENETWORKMANAGER_VPNPLUGIN "TDENetworkManager/VPNPlugin"
-class KDE_EXPORT VPNConfigWidget : public TQWidget
+class TDE_EXPORT VPNConfigWidget : public TQWidget
{
TQ_OBJECT
@@ -51,7 +51,7 @@ class KDE_EXPORT VPNConfigWidget : public TQWidget
virtual bool isValid(TQStringList&);
};
-class KDE_EXPORT VPNAuthenticationWidget : public TQWidget
+class TDE_EXPORT VPNAuthenticationWidget : public TQWidget
{
TQ_OBJECT
@@ -65,7 +65,7 @@ class KDE_EXPORT VPNAuthenticationWidget : public TQWidget
virtual bool needsUserInteraction();
};
-class KDE_EXPORT VPNPlugin : public Plugin
+class TDE_EXPORT VPNPlugin : public Plugin
{
TQ_OBJECT
diff --git a/tdenetworkmanager/src/tdenetman_dummy.cpp b/tdenetworkmanager/src/tdenetman_dummy.cpp
index efd89d8..717ba3c 100644
--- a/tdenetworkmanager/src/tdenetman_dummy.cpp
+++ b/tdenetworkmanager/src/tdenetman_dummy.cpp
@@ -1,3 +1,3 @@
#include <kdemacros.h>
extern "C" int kdemain(int argc, char* argv[]);
-extern "C" KDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }
+extern "C" TDE_EXPORT int tdeinitmain(int argc, char* argv[]) { return kdemain(argc,argv); }