From 08c9c52087972a7e9b64405db76785a66c420043 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 3 May 2024 12:19:21 +0900 Subject: [PATCH] Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro --- src/libtdebluez/adapterImpl.h | 2 +- src/libtdebluez/deviceImpl.h | 2 +- src/libtdebluez/devicemimeconverter.h | 2 +- src/libtdebluez/objectmanagerImpl.h | 2 +- src/libtdeobex/obexobjectmanagerImpl.h | 2 +- src/tdebluez/main.cpp | 2 +- src/tdebluezioslave/bluetooth/tdeiobluetooth.cpp | 2 +- src/tdebluezioslave/obex/tdeio_obex.cpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/libtdebluez/adapterImpl.h b/src/libtdebluez/adapterImpl.h index f0cbdab..c9b27ef 100644 --- a/src/libtdebluez/adapterImpl.h +++ b/src/libtdebluez/adapterImpl.h @@ -35,7 +35,7 @@ using namespace org::bluez; namespace TDEBluetooth { -class KDE_EXPORT AdapterImpl: public Adapter1Proxy +class TDE_EXPORT AdapterImpl: public Adapter1Proxy { TQ_OBJECT diff --git a/src/libtdebluez/deviceImpl.h b/src/libtdebluez/deviceImpl.h index 2a8d0b3..59af663 100644 --- a/src/libtdebluez/deviceImpl.h +++ b/src/libtdebluez/deviceImpl.h @@ -38,7 +38,7 @@ namespace TDEBluetooth { -class KDE_EXPORT DeviceImpl: public org::bluez::Device1Proxy +class TDE_EXPORT DeviceImpl: public org::bluez::Device1Proxy { TQ_OBJECT diff --git a/src/libtdebluez/devicemimeconverter.h b/src/libtdebluez/devicemimeconverter.h index c35878f..a955709 100644 --- a/src/libtdebluez/devicemimeconverter.h +++ b/src/libtdebluez/devicemimeconverter.h @@ -34,7 +34,7 @@ namespace TDEBluetooth /** @author Fred Schaettgen */ -class KDE_EXPORT DeviceMimeConverter +class TDE_EXPORT DeviceMimeConverter { public: static TQString classToMimeType(int deviceClass); diff --git a/src/libtdebluez/objectmanagerImpl.h b/src/libtdebluez/objectmanagerImpl.h index 24b670c..3b649d5 100644 --- a/src/libtdebluez/objectmanagerImpl.h +++ b/src/libtdebluez/objectmanagerImpl.h @@ -48,7 +48,7 @@ namespace TDEBluetooth { -class KDE_EXPORT ObjectManagerImpl : public org::freedesktop::DBus::ObjectManagerProxy +class TDE_EXPORT ObjectManagerImpl : public org::freedesktop::DBus::ObjectManagerProxy { TQ_OBJECT diff --git a/src/libtdeobex/obexobjectmanagerImpl.h b/src/libtdeobex/obexobjectmanagerImpl.h index ba98273..90a7d64 100644 --- a/src/libtdeobex/obexobjectmanagerImpl.h +++ b/src/libtdeobex/obexobjectmanagerImpl.h @@ -41,7 +41,7 @@ namespace TDEObex #define DBUS_CONN_NAME "TDEBluezObex" -class KDE_EXPORT ObexObjectManagerImpl: public org::freedesktop::DBus::ObjectManagerProxy +class TDE_EXPORT ObexObjectManagerImpl: public org::freedesktop::DBus::ObjectManagerProxy { TQ_OBJECT diff --git a/src/tdebluez/main.cpp b/src/tdebluez/main.cpp index ad0c130..437d9d5 100644 --- a/src/tdebluez/main.cpp +++ b/src/tdebluez/main.cpp @@ -39,7 +39,7 @@ static TDECmdLineOptions options[] = { 0, 0, 0 } }; -extern "C" KDE_EXPORT int kdemain(int argc, char **argv) +extern "C" TDE_EXPORT int kdemain(int argc, char **argv) { TDELocale::setMainCatalogue("tdebluez"); TDEAboutData aboutData( "tdebluez", diff --git a/src/tdebluezioslave/bluetooth/tdeiobluetooth.cpp b/src/tdebluezioslave/bluetooth/tdeiobluetooth.cpp index d6d6b84..bbdf905 100644 --- a/src/tdebluezioslave/bluetooth/tdeiobluetooth.cpp +++ b/src/tdebluezioslave/bluetooth/tdeiobluetooth.cpp @@ -33,7 +33,7 @@ static const TDECmdLineOptions options[] = extern "C" { - KDE_EXPORT int kdemain(int argc, char **argv) { + TDE_EXPORT int kdemain(int argc, char **argv) { TDEInstance instance( "tdeio_bluetooth" ); kdDebug() << "*** Starting tdeio_bluetooth " << endl; if (argc != 4) { diff --git a/src/tdebluezioslave/obex/tdeio_obex.cpp b/src/tdebluezioslave/obex/tdeio_obex.cpp index cc461e1..49cfb8f 100644 --- a/src/tdebluezioslave/obex/tdeio_obex.cpp +++ b/src/tdebluezioslave/obex/tdeio_obex.cpp @@ -42,7 +42,7 @@ static const TDECmdLineOptions options[] = { { "+protocol", I18N_NOOP( "+app", I18N_NOOP("Socket name"), 0 }, TDECmdLineLastOption }; extern "C" { - int KDE_EXPORT kdemain( int argc, char **argv ) + int TDE_EXPORT kdemain( int argc, char **argv ) { // TDEApplication is necessary to use other ioslaves putenv(strdup("SESSION_MANAGER="));