summaryrefslogtreecommitdiffstats
path: root/kexi/plugins
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-05-03 12:17:04 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-05-07 12:39:33 +0900
commit9fa1a9ed2f99b81348c5636b1bd4d82dba553e1e (patch)
treed958ac4c06c10c7444e2af3907cd0928152e02c8 /kexi/plugins
parentfa332d64d06a61d0b064c34757a78170bc69e6bd (diff)
downloadkoffice-9fa1a9ed.tar.gz
koffice-9fa1a9ed.zip
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8bc8b24757e1cdf11d60bbeea3c7eaac7e4b8dd0)
Diffstat (limited to 'kexi/plugins')
-rw-r--r--kexi/plugins/macros/lib/komacro_export.h8
-rw-r--r--kexi/plugins/scripting/kexiapp/kexiappmodule.cpp2
-rw-r--r--kexi/plugins/scripting/kexidb/kexidbmodule.cpp2
3 files changed, 6 insertions, 6 deletions
diff --git a/kexi/plugins/macros/lib/komacro_export.h b/kexi/plugins/macros/lib/komacro_export.h
index d3174235b..76e68f6d9 100644
--- a/kexi/plugins/macros/lib/komacro_export.h
+++ b/kexi/plugins/macros/lib/komacro_export.h
@@ -24,16 +24,16 @@
# include <tdeversion.h> /* this will also include <tdelibs_export.h>, 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 <kdemacros.h>
/* 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 9a1c73d7e..ffdfebb93 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 91472a1fa..f9dcf841c 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);
}