From 79397b9d9d562b27d8ba713538d09b9027389386 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 3 May 2024 12:15:16 +0900 Subject: [PATCH] Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro --- amarok/src/konquisidebar/universalamarok.cpp | 9 ++------- amarok/src/plugin/plugin.h | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/amarok/src/konquisidebar/universalamarok.cpp b/amarok/src/konquisidebar/universalamarok.cpp index 87be7df0..9353471c 100644 --- a/amarok/src/konquisidebar/universalamarok.cpp +++ b/amarok/src/konquisidebar/universalamarok.cpp @@ -143,15 +143,10 @@ UniversalAmarok::~UniversalAmarok() #include "universalamarok.moc" -#if ! KDE_IS_VERSION(3,4,0) -#define KDE_EXPORT __attribute__ ((visibility("default"))) -#endif - // FIXME: is this referenced from anywhere ??! - extern "C" { - KDE_EXPORT void* create_konqsidebar_universalamarok(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) + TDE_EXPORT void* create_konqsidebar_universalamarok(TDEInstance *instance,TQObject *par,TQWidget *widp,TQString &desktopname,const char *name) { TDEGlobal::locale()->insertCatalogue( "amarok" ); return new UniversalAmarok(instance,par,widp,desktopname,name); @@ -161,7 +156,7 @@ extern "C" // FIXME: Is this referenced from anywhere ??! extern "C" { - KDE_EXPORT bool add_konqsidebar_universalamarok(TQString* fn, TQString* param, TQMap *map) + TDE_EXPORT bool add_konqsidebar_universalamarok(TQString* fn, TQString* param, TQMap *map) { Q_UNUSED(param); diff --git a/amarok/src/plugin/plugin.h b/amarok/src/plugin/plugin.h index b10948c7..17ca54d5 100644 --- a/amarok/src/plugin/plugin.h +++ b/amarok/src/plugin/plugin.h @@ -9,7 +9,7 @@ #define AMAROK_EXPORT_PLUGIN( classname ) \ extern "C" { \ - KDE_EXPORT Amarok::Plugin* create_plugin() { return new classname; } \ + TDE_EXPORT Amarok::Plugin* create_plugin() { return new classname; } \ } #include