From c670f4d0d4526dc716e4b0025413514274683593 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 3 May 2024 12:18:13 +0900 Subject: [PATCH] Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro --- tdenetworkmanager/src/main.cpp | 2 +- tdenetworkmanager/src/tdenetman-plugin.h | 2 +- tdenetworkmanager/src/tdenetman-vpnplugin.h | 6 +++--- tdenetworkmanager/src/tdenetman_dummy.cpp | 2 +- 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 #include -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 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); }