diff options
author | Michele Calgaro <[email protected]> | 2024-05-03 12:16:15 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-05-07 11:47:05 +0900 |
commit | 7bfdcc0b8d382c142a59160bc87033c211da385d (patch) | |
tree | ff301853b04ac5d252681dd6f259534c274b85f1 /src/include/plugins.h | |
parent | 124924edaf305e348ab27567e78f81f033f4952c (diff) | |
download | tderadio-7bfdcc0b8d382c142a59160bc87033c211da385d.tar.gz tderadio-7bfdcc0b8d382c142a59160bc87033c211da385d.zip |
Replace KDE_[NO_]EXPORT with TDE_[NO_]EXPORT
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/include/plugins.h')
-rw-r--r-- | src/include/plugins.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/include/plugins.h b/src/include/plugins.h index cb79d14..d27575c 100644 --- a/src/include/plugins.h +++ b/src/include/plugins.h @@ -80,7 +80,7 @@ struct ConfigPageInfo typedef ConfigPageInfo AboutPageInfo; -class KDE_EXPORT PluginBase : public IErrorLogClient +class TDE_EXPORT PluginBase : public IErrorLogClient { friend class PluginManager; public : @@ -135,22 +135,22 @@ protected : #define PLUGIN_LIBRARY_FUNCTIONS(class_name, i18nName, description) \ -extern "C" KDE_EXPORT void TDERadioPlugin_LoadLibrary() \ +extern "C" TDE_EXPORT void TDERadioPlugin_LoadLibrary() \ { \ TDEGlobal::locale()->insertCatalogue(i18nName); \ } \ \ -extern "C" KDE_EXPORT void TDERadioPlugin_UnloadLibrary() \ +extern "C" TDE_EXPORT void TDERadioPlugin_UnloadLibrary() \ { \ TDEGlobal::locale()->removeCatalogue(i18nName); \ } \ \ -extern "C" KDE_EXPORT void TDERadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ +extern "C" TDE_EXPORT void TDERadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ { \ info.insert(#class_name, (description)); \ } \ \ -extern "C" KDE_EXPORT PluginBase *TDERadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ +extern "C" TDE_EXPORT PluginBase *TDERadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ { \ if (type == #class_name) { \ return new class_name(object_name); \ @@ -161,23 +161,23 @@ extern "C" KDE_EXPORT PluginBase *TDERadioPlugin_CreatePlugin(const TQString &ty #define PLUGIN_LIBRARY_FUNCTIONS2(class_name1, i18nName, description1, class_name2, description2) \ -extern "C" KDE_EXPORT void TDERadioPlugin_LoadLibrary() \ +extern "C" TDE_EXPORT void TDERadioPlugin_LoadLibrary() \ { \ TDEGlobal::locale()->insertCatalogue(i18nName); \ } \ \ -extern "C" KDE_EXPORT void TDERadioPlugin_UnloadLibrary() \ +extern "C" TDE_EXPORT void TDERadioPlugin_UnloadLibrary() \ { \ TDEGlobal::locale()->removeCatalogue(i18nName); \ } \ \ -extern "C" KDE_EXPORT void TDERadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ +extern "C" TDE_EXPORT void TDERadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ { \ info.insert(#class_name1, (description1)); \ info.insert(#class_name2, (description2)); \ } \ \ -extern "C" KDE_EXPORT PluginBase *TDERadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ +extern "C" TDE_EXPORT PluginBase *TDERadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ { \ if (type == #class_name1) { \ return new class_name1(object_name); \ |