From 8bc8b24757e1cdf11d60bbeea3c7eaac7e4b8dd0 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 3 May 2024 12:17:04 +0900 Subject: Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT Signed-off-by: Michele Calgaro --- kexi/plugins/macros/lib/komacro_export.h | 8 ++++---- kexi/plugins/scripting/kexiapp/kexiappmodule.cpp | 2 +- kexi/plugins/scripting/kexidb/kexidbmodule.cpp | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'kexi/plugins') diff --git a/kexi/plugins/macros/lib/komacro_export.h b/kexi/plugins/macros/lib/komacro_export.h index d3174235..76e68f6d 100644 --- a/kexi/plugins/macros/lib/komacro_export.h +++ b/kexi/plugins/macros/lib/komacro_export.h @@ -24,16 +24,16 @@ # include /* this will also include , if available */ #endif -/* KDE_EXPORT will be defined multiple times without this on tdelibs 3.3 (tested on 3.3.1) */ +/* TDE_EXPORT will be defined multiple times without this on tdelibs 3.3 (tested on 3.3.1) */ #include /* workaround for KDElibs < 3.2 on !win32 */ -#ifndef KDE_EXPORT -# define KDE_EXPORT +#ifndef TDE_EXPORT +# define TDE_EXPORT #endif #ifndef KOMACRO_EXPORT -# define KOMACRO_EXPORT KDE_EXPORT +# define KOMACRO_EXPORT TDE_EXPORT #endif #endif diff --git a/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp b/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp index 9a1c73d7..ffdfebb9 100644 --- a/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp +++ b/kexi/plugins/scripting/kexiapp/kexiappmodule.cpp @@ -37,7 +37,7 @@ extern "C" * Exported an loadable function as entry point to use * the \a KexiAppModule. */ - Kross::Api::Object* KDE_EXPORT init_module(Kross::Api::Manager* manager) + Kross::Api::Object* TDE_EXPORT init_module(Kross::Api::Manager* manager) { return new Kross::KexiApp::KexiAppModule(manager); } diff --git a/kexi/plugins/scripting/kexidb/kexidbmodule.cpp b/kexi/plugins/scripting/kexidb/kexidbmodule.cpp index 91472a1f..f9dcf841 100644 --- a/kexi/plugins/scripting/kexidb/kexidbmodule.cpp +++ b/kexi/plugins/scripting/kexidb/kexidbmodule.cpp @@ -36,7 +36,7 @@ extern "C" * Exported an loadable function as entry point to use * the \a KexiDBModule. */ - Kross::Api::Object* KDE_EXPORT init_module(Kross::Api::Manager* manager) + Kross::Api::Object* TDE_EXPORT init_module(Kross::Api::Manager* manager) { return new Kross::KexiDB::KexiDBModule(manager); } -- cgit v1.2.1