diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:14:26 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 23:14:26 -0600 |
commit | dd0cfce2e915f718a45dc9f772ce3bff42c0f7ca (patch) | |
tree | 03af58be7ebea0d920f89576cef55fa207886ec9 /tderadio3/src/tderadioapp.cpp | |
parent | 48906a623383ab5222541ae048e99dd039b62a9a (diff) | |
download | tderadio-dd0cfce2e915f718a45dc9f772ce3bff42c0f7ca.tar.gz tderadio-dd0cfce2e915f718a45dc9f772ce3bff42c0f7ca.zip |
Rename many classes and header files to avoid conflicts with KDE4
Diffstat (limited to 'tderadio3/src/tderadioapp.cpp')
-rw-r--r-- | tderadio3/src/tderadioapp.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tderadio3/src/tderadioapp.cpp b/tderadio3/src/tderadioapp.cpp index d137647..c83efa3 100644 --- a/tderadio3/src/tderadioapp.cpp +++ b/tderadio3/src/tderadioapp.cpp @@ -1,5 +1,5 @@ /************************************************************************** - kradioapp.cpp - description + tderadioapp.cpp - description ------------------- begin : Sa Feb 9 CET 2002 copyright : (C) 2002 by Klas Kalass / Martin Witte / Frank Schwanz @@ -29,7 +29,7 @@ // #include <kprogress.h> -#include "include/kradioapp.h" +#include "include/tderadioapp.h" #include "include/aboutwidget.h" #include "include/errorlog-interfaces.h" @@ -55,13 +55,13 @@ AboutPageInfo TDERadioAbout::createAboutPage () "<P>" ); - TDEAboutData aboutData("kradio", "TDERadio", + TDEAboutData aboutData("tderadio", "TDERadio", VERSION, description, TDEAboutData::License_GPL, "(c) 2002-2006 Martin Witte, Klas Kalass", 0, - "http://sourceforge.net/projects/kradio", + "http://sourceforge.net/projects/tderadio", 0); aboutData.addAuthor("Martin Witte", I18N_NOOP("Preset Database, Remote Control Support, Alarms, Rewrite for TDERadio 0.3.0, Misc"), "witte@kawo1.rwth-aachen.de"); aboutData.addAuthor("Marcus Camen", I18N_NOOP("Buildsystem, Standards Conformance, Cleanups"), "mcamen@mcamen.de"); @@ -77,7 +77,7 @@ AboutPageInfo TDERadioAbout::createAboutPage () new TDERadioAboutWidget(aboutData, TDERadioAboutWidget::AbtAppStandard), "TDERadio", "TDERadio", - "kradio" + "tderadio" ); } @@ -94,10 +94,10 @@ PluginLibraryInfo::PluginLibraryInfo (const TQString &lib_name) { library = KLibLoader::self()->library(lib_name.ascii()); if (library) { - info_func = (t_kradio_plugin_info_func) library->symbol("TDERadioPlugin_GetAvailablePlugins"); - init_func = (t_kradio_plugin_init_func) library->symbol("TDERadioPlugin_CreatePlugin"); - libload_func = (t_kradio_plugin_libload_func) library->symbol("TDERadioPlugin_LoadLibrary"); - libunload_func = (t_kradio_plugin_libunload_func)library->symbol("TDERadioPlugin_UnloadLibrary"); + info_func = (t_tderadio_plugin_info_func) library->symbol("TDERadioPlugin_GetAvailablePlugins"); + init_func = (t_tderadio_plugin_init_func) library->symbol("TDERadioPlugin_CreatePlugin"); + libload_func = (t_tderadio_plugin_libload_func) library->symbol("TDERadioPlugin_LoadLibrary"); + libunload_func = (t_tderadio_plugin_libunload_func)library->symbol("TDERadioPlugin_UnloadLibrary"); if (info_func && init_func && libload_func && libunload_func) { libload_func(); info_func(plugins); @@ -191,9 +191,9 @@ void TDERadioApp::restoreState (TDEConfig *c) } } - if (n_libs < 6) { // this seems to be a meaningful minimum value for a working kradio setup + if (n_libs < 6) { // this seems to be a meaningful minimum value for a working tderadio setup TQStringList libs - = TDEGlobal::dirs()->findAllResources("lib", "kradio/plugins/*.so"); + = TDEGlobal::dirs()->findAllResources("lib", "tderadio/plugins/*.so"); TQValueListIterator<TQString> end = libs.end(); int idx = 0; // progress->progressBar()->setTotalSteps(libs.count()); @@ -246,7 +246,7 @@ PluginManager *TDERadioApp::createNewInstance(const TQString &_name) m_Instances.insert(instance_name, pm); /* Until we don't have library plugins we must instantiate them hard-wired */ - TDERadioAbout *about = new TDERadioAbout ( "kradio-about-" + instance_name); + TDERadioAbout *about = new TDERadioAbout ( "tderadio-about-" + instance_name); pm->insertPlugin(about); return pm; @@ -367,4 +367,4 @@ void TDERadioApp::slotAboutToQuit() } } -#include "kradioapp.moc" +#include "tderadioapp.moc" |