diff options
author | Timothy Pearson <[email protected]> | 2013-02-01 15:04:07 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2013-02-01 15:04:07 -0600 |
commit | a1e6ce502c334194d31a0b78b11b77e9532da64b (patch) | |
tree | af926bf79ece44ee312952d3d896a1da440daf83 /kradio3/src/include/plugins.h | |
parent | b69d61089748af635b869896140531ad906433d8 (diff) | |
download | tderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.tar.gz tderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kradio3/src/include/plugins.h')
-rw-r--r-- | kradio3/src/include/plugins.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kradio3/src/include/plugins.h b/kradio3/src/include/plugins.h index 808d0bb..426ff99 100644 --- a/kradio3/src/include/plugins.h +++ b/kradio3/src/include/plugins.h @@ -135,22 +135,22 @@ protected : #define PLUGIN_LIBRARY_FUNCTIONS(class_name, i18nName, description) \ -extern "C" void KRadioPlugin_LoadLibrary() \ +extern "C" void TDERadioPlugin_LoadLibrary() \ { \ TDEGlobal::locale()->insertCatalogue(i18nName); \ } \ \ -extern "C" void KRadioPlugin_UnloadLibrary() \ +extern "C" void TDERadioPlugin_UnloadLibrary() \ { \ TDEGlobal::locale()->removeCatalogue(i18nName); \ } \ \ -extern "C" void KRadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ +extern "C" void TDERadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ { \ info.insert(#class_name, (description)); \ } \ \ -extern "C" PluginBase *KRadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ +extern "C" 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" PluginBase *KRadioPlugin_CreatePlugin(const TQString &type, const TQS #define PLUGIN_LIBRARY_FUNCTIONS2(class_name1, i18nName, description1, class_name2, description2) \ -extern "C" void KRadioPlugin_LoadLibrary() \ +extern "C" void TDERadioPlugin_LoadLibrary() \ { \ TDEGlobal::locale()->insertCatalogue(i18nName); \ } \ \ -extern "C" void KRadioPlugin_UnloadLibrary() \ +extern "C" void TDERadioPlugin_UnloadLibrary() \ { \ TDEGlobal::locale()->removeCatalogue(i18nName); \ } \ \ -extern "C" void KRadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ +extern "C" void TDERadioPlugin_GetAvailablePlugins(TQMap<TQString, TQString> &info) \ { \ info.insert(#class_name1, (description1)); \ info.insert(#class_name2, (description2)); \ } \ \ -extern "C" PluginBase *KRadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ +extern "C" PluginBase *TDERadioPlugin_CreatePlugin(const TQString &type, const TQString &object_name) \ { \ if (type == #class_name1) { \ return new class_name1(object_name); \ |