summaryrefslogtreecommitdiffstats
path: root/kate
diff options
context:
space:
mode:
authorSlávek Banko <[email protected]>2021-12-31 12:15:57 +0100
committerSlávek Banko <[email protected]>2021-12-31 12:21:45 +0100
commit5363fd55b8fed6a22d63017ff110ddd7dc619c1a (patch)
tree800c4cdcf14dc062f6a0d70746d04fcf508bc16e /kate
parentaf0617f88ea621a3cd8de1c9814f53da4afbefaa (diff)
downloadtdeaddons-5363fd55b8fed6a22d63017ff110ddd7dc619c1a.tar.gz
tdeaddons-5363fd55b8fed6a22d63017ff110ddd7dc619c1a.zip
Add option WITH_GCC_VISIBILITY.
Fix building with hidden visibility. Add missing definitions to config.h.cmake. Signed-off-by: Slávek Banko <[email protected]> (cherry picked from commit 762bfec2c849854fc0247acf8d2f107c27b17940)
Diffstat (limited to 'kate')
-rw-r--r--kate/filetemplates/plugin/filetemplates.cpp10
-rw-r--r--kate/katesort/plugin_sort.cpp10
-rw-r--r--kate/tabbarextension/plugin_katetabbarextension.cpp10
3 files changed, 15 insertions, 15 deletions
diff --git a/kate/filetemplates/plugin/filetemplates.cpp b/kate/filetemplates/plugin/filetemplates.cpp
index 952ee07..6604461 100644
--- a/kate/filetemplates/plugin/filetemplates.cpp
+++ b/kate/filetemplates/plugin/filetemplates.cpp
@@ -81,11 +81,11 @@ class PluginView : public KXMLGUIClient
extern "C"
{
- void* init_katefiletemplates()
- {
- TDEGlobal::locale()->insertCatalogue("katefiletemplates");
- return new KatePluginFactory;
- }
+ KDE_EXPORT void* init_katefiletemplates()
+ {
+ TDEGlobal::locale()->insertCatalogue("katefiletemplates");
+ return new KatePluginFactory;
+ }
}
KatePluginFactory::KatePluginFactory()
diff --git a/kate/katesort/plugin_sort.cpp b/kate/katesort/plugin_sort.cpp
index 904d62e..fa55734 100644
--- a/kate/katesort/plugin_sort.cpp
+++ b/kate/katesort/plugin_sort.cpp
@@ -38,11 +38,11 @@ class PluginView : public KXMLGUIClient
extern "C"
{
- void* init_katesortplugin()
- {
- TDEGlobal::locale()->insertCatalogue("katesort");
- return new KatePluginFactory;
- }
+ KDE_EXPORT void* init_katesortplugin()
+ {
+ TDEGlobal::locale()->insertCatalogue("katesort");
+ return new KatePluginFactory;
+ }
}
KatePluginFactory::KatePluginFactory()
diff --git a/kate/tabbarextension/plugin_katetabbarextension.cpp b/kate/tabbarextension/plugin_katetabbarextension.cpp
index 462161b..4f0682c 100644
--- a/kate/tabbarextension/plugin_katetabbarextension.cpp
+++ b/kate/tabbarextension/plugin_katetabbarextension.cpp
@@ -55,11 +55,11 @@ class PluginView : public KXMLGUIClient
extern "C"
{
- void* init_libkatetabbarextensionplugin()
- {
- TDEGlobal::locale()->insertCatalogue("katetabbarextension");
- return new KatePluginFactory;
- }
+ KDE_EXPORT void* init_libkatetabbarextensionplugin()
+ {
+ TDEGlobal::locale()->insertCatalogue("katetabbarextension");
+ return new KatePluginFactory;
+ }
}
TQObject* KatePluginFactory::createObject(TQObject *parent,