diff options
Diffstat (limited to 'kradio3/src')
-rw-r--r-- | kradio3/src/aboutwidget.cpp | 60 | ||||
-rw-r--r-- | kradio3/src/include/aboutwidget.h | 10 | ||||
-rw-r--r-- | kradio3/src/include/kradioapp.h | 12 | ||||
-rw-r--r-- | kradio3/src/include/pluginmanager-configuration.h | 6 | ||||
-rw-r--r-- | kradio3/src/include/pluginmanager.h | 6 | ||||
-rw-r--r-- | kradio3/src/include/plugins.h | 16 | ||||
-rw-r--r-- | kradio3/src/include/radiostation-listview.h | 2 | ||||
-rw-r--r-- | kradio3/src/include/stationlistxmlhandler.h | 2 | ||||
-rw-r--r-- | kradio3/src/kradio.desktop | 4 | ||||
-rw-r--r-- | kradio3/src/kradioapp.cpp | 84 | ||||
-rw-r--r-- | kradio3/src/main.cpp | 8 | ||||
-rw-r--r-- | kradio3/src/pluginmanager-configuration-ui.ui | 6 | ||||
-rw-r--r-- | kradio3/src/pluginmanager-configuration.cpp | 6 | ||||
-rw-r--r-- | kradio3/src/pluginmanager.cpp | 2 | ||||
-rw-r--r-- | kradio3/src/po/de.po | 32 | ||||
-rw-r--r-- | kradio3/src/po/es.po | 92 | ||||
-rw-r--r-- | kradio3/src/po/pl.po | 88 | ||||
-rw-r--r-- | kradio3/src/po/ru.po | 28 | ||||
-rw-r--r-- | kradio3/src/radiostation-listview.cpp | 2 | ||||
-rw-r--r-- | kradio3/src/stationlist.cpp | 16 | ||||
-rw-r--r-- | kradio3/src/stationlistxmlhandler.cpp | 6 |
21 files changed, 244 insertions, 244 deletions
diff --git a/kradio3/src/aboutwidget.cpp b/kradio3/src/aboutwidget.cpp index 2b70a20..2008135 100644 --- a/kradio3/src/aboutwidget.cpp +++ b/kradio3/src/aboutwidget.cpp @@ -41,10 +41,10 @@ // copied (and renamed) from kaboutdialog.cpp // original: KAboutTabWidget -class KRadioAboutTabWidget : public TQTabWidget +class TDERadioAboutTabWidget : public TQTabWidget { public: - KRadioAboutTabWidget( TQWidget* parent ) : TQTabWidget( parent ) {} + TDERadioAboutTabWidget( TQWidget* parent ) : TQTabWidget( parent ) {} TQSize sizeHint() const { return TQTabWidget::sizeHint().expandedTo( tabBar()->sizeHint() + TQSize(4,4) ); } @@ -54,7 +54,7 @@ public: // copied (renamed and extended) from kaboutdialog.cpp // original: KAboutContainerBase -KRadioAboutWidget::KRadioAboutWidget(const TDEAboutData &aboutData, int layoutType, TQWidget *_parent, +TDERadioAboutWidget::TDERadioAboutWidget(const TDEAboutData &aboutData, int layoutType, TQWidget *_parent, char *_name ) : TQWidget( _parent, _name ), mImageLabel(0), mTitleLabel(0), mIconLabel(0),mVersionLabel(0), @@ -119,7 +119,7 @@ KRadioAboutWidget::KRadioAboutWidget(const TDEAboutData &aboutData, int layoutTy vbox->addSpacing(1); vbox = new TQVBoxLayout( mImageFrame, 1 ); - mImageLabel = new KRadioImageTrackLabel( mImageFrame ); + mImageLabel = new TDERadioImageTrackLabel( mImageFrame ); connect( mImageLabel, TQT_SIGNAL(mouseTrack( int, const TQMouseEvent * )), TQT_SLOT( slotMouseTrack( int, const TQMouseEvent * )) ); vbox->addStretch(10); @@ -130,7 +130,7 @@ KRadioAboutWidget::KRadioAboutWidget(const TDEAboutData &aboutData, int layoutTy if( layoutType & AbtTabbed ) { - mPageTab = new KRadioAboutTabWidget( this ); + mPageTab = new TDERadioAboutTabWidget( this ); if( mPageTab == 0 ) { return; } hbox->addWidget( mPageTab, 10 ); } @@ -146,7 +146,7 @@ KRadioAboutWidget::KRadioAboutWidget(const TDEAboutData &aboutData, int layoutTy gbox->setColStretch( 0, 10 ); gbox->setColStretch( 2, 10 ); - mImageLabel = new KRadioImageTrackLabel( mImageFrame ); + mImageLabel = new TDERadioImageTrackLabel( mImageFrame ); connect( mImageLabel, TQT_SIGNAL(mouseTrack( int, const TQMouseEvent * )), TQT_SLOT( slotMouseTrack( int, const TQMouseEvent * )) ); gbox->addWidget( mImageLabel, 1, 1 ); @@ -170,7 +170,7 @@ KRadioAboutWidget::KRadioAboutWidget(const TDEAboutData &aboutData, int layoutTy vbox->addSpacing(1); vbox = new TQVBoxLayout( mImageFrame, 1 ); - mImageLabel = new KRadioImageTrackLabel( mImageFrame ); + mImageLabel = new TDERadioImageTrackLabel( mImageFrame ); connect( mImageLabel, TQT_SIGNAL(mouseTrack( int, const TQMouseEvent * )), TQT_SLOT( slotMouseTrack( int, const TQMouseEvent * )) ); vbox->addStretch(10); @@ -185,17 +185,17 @@ KRadioAboutWidget::KRadioAboutWidget(const TDEAboutData &aboutData, int layoutTy } -void KRadioAboutWidget::show( void ) +void TDERadioAboutWidget::show( void ) { TQWidget::show(); } -TQSize KRadioAboutWidget::sizeHint( void ) const +TQSize TDERadioAboutWidget::sizeHint( void ) const { return minimumSize().expandedTo( TQSize( TQWidget::sizeHint().width(), 0 ) ); } -void KRadioAboutWidget::fontChange( const TQFont &/*oldFont*/ ) +void TDERadioAboutWidget::fontChange( const TQFont &/*oldFont*/ ) { if( mTitleLabel != 0 ) { @@ -217,7 +217,7 @@ void KRadioAboutWidget::fontChange( const TQFont &/*oldFont*/ ) update(); } -TQFrame *KRadioAboutWidget::addTextPage( const TQString &title, +TQFrame *TDERadioAboutWidget::addTextPage( const TQString &title, const TQString &text, bool richText, int numLines ) { @@ -252,7 +252,7 @@ TQFrame *KRadioAboutWidget::addTextPage( const TQString &title, return page; } -TQFrame *KRadioAboutWidget::addLicensePage( const TQString &title, +TQFrame *TDERadioAboutWidget::addLicensePage( const TQString &title, const TQString &text, int numLines) { TQFrame *page = addEmptyPage( title ); @@ -273,7 +273,7 @@ TQFrame *KRadioAboutWidget::addLicensePage( const TQString &title, } -KAboutContainer *KRadioAboutWidget::addContainerPage( const TQString &title, +KAboutContainer *TDERadioAboutWidget::addContainerPage( const TQString &title, int childAlignment, int innerAlignment ) { @@ -302,7 +302,7 @@ KAboutContainer *KRadioAboutWidget::addContainerPage( const TQString &title, } -KAboutContainer *KRadioAboutWidget::addScrolledContainerPage( +KAboutContainer *TDERadioAboutWidget::addScrolledContainerPage( const TQString &title, int childAlignment, int innerAlignment ) @@ -334,7 +334,7 @@ KAboutContainer *KRadioAboutWidget::addScrolledContainerPage( } -TQFrame *KRadioAboutWidget::addEmptyPage( const TQString &title ) +TQFrame *TDERadioAboutWidget::addEmptyPage( const TQString &title ) { if( mPageTab == 0 ) { @@ -350,7 +350,7 @@ TQFrame *KRadioAboutWidget::addEmptyPage( const TQString &title ) } -KAboutContainer *KRadioAboutWidget::addContainer( int childAlignment, +KAboutContainer *TDERadioAboutWidget::addContainer( int childAlignment, int innerAlignment ) { KAboutContainer *container = new KAboutContainer( this, "container", @@ -372,7 +372,7 @@ KAboutContainer *KRadioAboutWidget::addContainer( int childAlignment, -void KRadioAboutWidget::setTitle( const TQString &title ) +void TDERadioAboutWidget::setTitle( const TQString &title ) { if( mTitleLabel == 0 ) { @@ -383,7 +383,7 @@ void KRadioAboutWidget::setTitle( const TQString &title ) } -void KRadioAboutWidget::setImage( const TQString &fileName ) +void TDERadioAboutWidget::setImage( const TQString &fileName ) { if( mImageLabel == 0 ) { @@ -407,7 +407,7 @@ void KRadioAboutWidget::setImage( const TQString &fileName ) } -void KRadioAboutWidget::setImageBackgroundColor( const TQColor &color ) +void TDERadioAboutWidget::setImageBackgroundColor( const TQColor &color ) { if( mImageFrame != 0 ) { @@ -416,7 +416,7 @@ void KRadioAboutWidget::setImageBackgroundColor( const TQColor &color ) } -void KRadioAboutWidget::setImageFrame( bool state ) +void TDERadioAboutWidget::setImageFrame( bool state ) { if( mImageFrame != 0 ) { @@ -434,7 +434,7 @@ void KRadioAboutWidget::setImageFrame( bool state ) } -void KRadioAboutWidget::setProduct( const TQString &appName, +void TDERadioAboutWidget::setProduct( const TQString &appName, const TQString &/*version*/, const TQString &author, const TQString &year ) @@ -465,20 +465,20 @@ void KRadioAboutWidget::setProduct( const TQString &appName, } -void KRadioAboutWidget::slotMouseTrack( int mode, const TQMouseEvent *e ) +void TDERadioAboutWidget::slotMouseTrack( int mode, const TQMouseEvent *e ) { emit mouseTrack( mode, e ); } -void KRadioAboutWidget::slotUrlClick( const TQString &url ) +void TDERadioAboutWidget::slotUrlClick( const TQString &url ) { if ( kapp ) kapp->invokeBrowser( url ); } -void KRadioAboutWidget::slotMailClick( const TQString &/*_name*/, +void TDERadioAboutWidget::slotMailClick( const TQString &/*_name*/, const TQString &_address ) { if ( kapp ) @@ -489,7 +489,7 @@ void KRadioAboutWidget::slotMailClick( const TQString &/*_name*/, // copied (and renamed) from kaboutapplication.cpp // original: KAboutApplication::buildDialog -void KRadioAboutWidget::setAboutData(const TDEAboutData &_aboutData) +void TDERadioAboutWidget::setAboutData(const TDEAboutData &_aboutData) { const TDEAboutData *aboutData = &_aboutData; if (aboutData->programName().length()) { @@ -579,28 +579,28 @@ void KRadioAboutWidget::setAboutData(const TDEAboutData &_aboutData) // copied (and renamed) from kaboutdialog.cpp // original: KImageTrackLabel -KRadioImageTrackLabel::KRadioImageTrackLabel( TQWidget *_parent, const char *_name, WFlags f ) +TDERadioImageTrackLabel::TDERadioImageTrackLabel( TQWidget *_parent, const char *_name, WFlags f ) : TQLabel( _parent, _name, f ) { setText( i18n("Image missing")); } -void KRadioImageTrackLabel::mousePressEvent( TQMouseEvent *e ) +void TDERadioImageTrackLabel::mousePressEvent( TQMouseEvent *e ) { emit mouseTrack( MousePress, e ); } -void KRadioImageTrackLabel::mouseReleaseEvent( TQMouseEvent *e ) +void TDERadioImageTrackLabel::mouseReleaseEvent( TQMouseEvent *e ) { emit mouseTrack( MouseRelease, e ); } -void KRadioImageTrackLabel::mouseDoubleClickEvent( TQMouseEvent *e ) +void TDERadioImageTrackLabel::mouseDoubleClickEvent( TQMouseEvent *e ) { emit mouseTrack( MouseDoubleClick, e ); } -void KRadioImageTrackLabel::mouseMoveEvent ( TQMouseEvent *e ) +void TDERadioImageTrackLabel::mouseMoveEvent ( TQMouseEvent *e ) { emit mouseTrack( MouseDoubleClick, e ); } diff --git a/kradio3/src/include/aboutwidget.h b/kradio3/src/include/aboutwidget.h index 43ee97f..4636868 100644 --- a/kradio3/src/include/aboutwidget.h +++ b/kradio3/src/include/aboutwidget.h @@ -41,7 +41,7 @@ class TDEAboutData; // copied (and renamed) from kaboutdialog_private.h // original: KImageTrackLabel -class KRadioImageTrackLabel : public TQLabel +class TDERadioImageTrackLabel : public TQLabel { Q_OBJECT @@ -56,7 +56,7 @@ class KRadioImageTrackLabel : public TQLabel }; public: - KRadioImageTrackLabel( TQWidget * parent, const char * name=0, WFlags f=0 ); + TDERadioImageTrackLabel( TQWidget * parent, const char * name=0, WFlags f=0 ); signals: void mouseTrack( int mode, const TQMouseEvent *e ); @@ -71,7 +71,7 @@ class KRadioImageTrackLabel : public TQLabel // copied (and renamed) from kaboutdialog_private.h // original: KAboutContainerBase -class KRadioAboutWidget : public TQWidget +class TDERadioAboutWidget : public TQWidget { Q_OBJECT @@ -92,7 +92,7 @@ class KRadioAboutWidget : public TQWidget }; public: - KRadioAboutWidget(const TDEAboutData &abtData, int layoutType, TQWidget *parent = 0, char *name = 0); + TDERadioAboutWidget(const TDEAboutData &abtData, int layoutType, TQWidget *parent = 0, char *name = 0); virtual void show( void ); virtual TQSize sizeHint( void ) const; @@ -135,7 +135,7 @@ class KRadioAboutWidget : public TQWidget TQMemArray<TQWidget*> mContainerList; TQVBoxLayout *mTopLayout; - KRadioImageTrackLabel *mImageLabel; + TDERadioImageTrackLabel *mImageLabel; TQLabel *mTitleLabel; TQLabel *mIconLabel; TQLabel *mVersionLabel; diff --git a/kradio3/src/include/kradioapp.h b/kradio3/src/include/kradioapp.h index fabe04f..adc40c2 100644 --- a/kradio3/src/include/kradioapp.h +++ b/kradio3/src/include/kradioapp.h @@ -31,12 +31,12 @@ class KLibrary; -class KRadioAbout : public PluginBase +class TDERadioAbout : public PluginBase { public: - KRadioAbout(const TQString &name) : PluginBase(name, "KRadio Application") {} + TDERadioAbout(const TQString &name) : PluginBase(name, "TDERadio Application") {} - virtual TQString pluginClassName() const { return "KRadioAbout"; } + virtual TQString pluginClassName() const { return "TDERadioAbout"; } virtual ConfigPageInfo createConfigurationPage () { return ConfigPageInfo(); } virtual AboutPageInfo createAboutPage (); @@ -80,13 +80,13 @@ struct PluginClassInfo { }; -class KRadioApp : public TDEApplication +class TDERadioApp : public TDEApplication { Q_OBJECT public: - KRadioApp(); - virtual ~KRadioApp(); + TDERadioApp(); + virtual ~TDERadioApp(); virtual void saveState (TDEConfig *c); virtual void restoreState (TDEConfig *c); diff --git a/kradio3/src/include/pluginmanager-configuration.h b/kradio3/src/include/pluginmanager-configuration.h index 9a67846..970aca2 100644 --- a/kradio3/src/include/pluginmanager-configuration.h +++ b/kradio3/src/include/pluginmanager-configuration.h @@ -25,7 +25,7 @@ #include <pluginmanager-configuration-ui.h> class TQWidget; -class KRadioApp; +class TDERadioApp; class PluginManager; class PluginManagerConfiguration : public PluginManagerConfigurationUI @@ -33,7 +33,7 @@ class PluginManagerConfiguration : public PluginManagerConfigurationUI Q_OBJECT public : - PluginManagerConfiguration (TQWidget *parent, KRadioApp *app, PluginManager *pm); + PluginManagerConfiguration (TQWidget *parent, TDERadioApp *app, PluginManager *pm); ~PluginManagerConfiguration (); void noticePluginLibrariesChanged(); @@ -52,7 +52,7 @@ protected slots: protected: - KRadioApp *m_Application; + TDERadioApp *m_Application; PluginManager *m_PluginManager; bool m_dirty; diff --git a/kradio3/src/include/pluginmanager.h b/kradio3/src/include/pluginmanager.h index e450284..106b884 100644 --- a/kradio3/src/include/pluginmanager.h +++ b/kradio3/src/include/pluginmanager.h @@ -39,7 +39,7 @@ class KDialogBase; struct ConfigPageInfo; class TQMenuData; -class KRadioApp; +class TDERadioApp; class PluginManager : public TQObject @@ -48,7 +48,7 @@ Q_OBJECT public : PluginManager(const TQString &name, - KRadioApp *app, + TDERadioApp *app, const TQString &configDialogTitle, const TQString &aboutTitle); virtual ~PluginManager(); @@ -124,7 +124,7 @@ protected: typedef TQPtrDictIterator<TQWidget> TQWidgetDictIterator; TQString m_Name; - KRadioApp *m_Application; + TDERadioApp *m_Application; PluginList m_plugins; bool m_showProgressBar; 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); \ diff --git a/kradio3/src/include/radiostation-listview.h b/kradio3/src/include/radiostation-listview.h index d6210b9..aed41fd 100644 --- a/kradio3/src/include/radiostation-listview.h +++ b/kradio3/src/include/radiostation-listview.h @@ -28,7 +28,7 @@ class RadioStation; class StationList; -class RadioStationListView : public KListView +class RadioStationListView : public TDEListView { Q_OBJECT diff --git a/kradio3/src/include/stationlistxmlhandler.h b/kradio3/src/include/stationlistxmlhandler.h index dccd697..177ec21 100644 --- a/kradio3/src/include/stationlistxmlhandler.h +++ b/kradio3/src/include/stationlistxmlhandler.h @@ -63,7 +63,7 @@ protected: -extern const char *KRadioConfigElement; +extern const char *TDERadioConfigElement; extern const char *StationListElement; extern const char *StationListInfo; diff --git a/kradio3/src/kradio.desktop b/kradio3/src/kradio.desktop index 433f014..a28cad0 100644 --- a/kradio3/src/kradio.desktop +++ b/kradio3/src/kradio.desktop @@ -7,6 +7,6 @@ DocPath=kradio/index.html Comment= Comment[de]= Terminal=false -Name=KRadio -Name[de]=KRadio +Name=TDERadio +Name[de]=TDERadio Categories=Qt;TDE;AudioVideo; diff --git a/kradio3/src/kradioapp.cpp b/kradio3/src/kradioapp.cpp index f5320b1..d137647 100644 --- a/kradio3/src/kradioapp.cpp +++ b/kradio3/src/kradioapp.cpp @@ -36,17 +36,17 @@ #include "include/debug-profiler.h" ///////////////////////////////////////////////////////////////////////////// -//// KRadioAbout +//// TDERadioAbout -AboutPageInfo KRadioAbout::createAboutPage () +AboutPageInfo TDERadioAbout::createAboutPage () { const char *description = I18N_NOOP( - "KRadio - The Radio Application for KDE" + "TDERadio - The Radio Application for KDE" "<P>" - "With KRadio you can listen to radio broadcasts with the help of your " + "With TDERadio you can listen to radio broadcasts with the help of your " "V4L/V4L2 compatible radio card." "<P>" - "The KRadio Project contains a station preset data database. To complete " + "The TDERadio Project contains a station preset data database. To complete " "this database you are encouraged to contribute your station preset file " "to the project. Just send it to one of the authors. " "<P>" @@ -55,7 +55,7 @@ AboutPageInfo KRadioAbout::createAboutPage () "<P>" ); - TDEAboutData aboutData("kradio", "KRadio", + TDEAboutData aboutData("kradio", "TDERadio", VERSION, description, TDEAboutData::License_GPL, @@ -63,20 +63,20 @@ AboutPageInfo KRadioAbout::createAboutPage () 0, "http://sourceforge.net/projects/kradio", 0); - aboutData.addAuthor("Martin Witte", I18N_NOOP("Preset Database, Remote Control Support, Alarms, Rewrite for KRadio 0.3.0, Misc"), "witte@kawo1.rwth-aachen.de"); + 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"); aboutData.addAuthor("Klas Kalass", I18N_NOOP("Miscellaneous"), "klas.kalass@gmx.de"); aboutData.addAuthor("Frank Schwanz", I18N_NOOP("idea, first basic application"), "schwanz@fh-brandenburg.de"); aboutData.addCredit(I18N_NOOP("Many People around the World ... "), I18N_NOOP("... which contributed station preset files \n" - "and tested early and unstable snapshots of KRadio \n" + "and tested early and unstable snapshots of TDERadio \n" "with much patience")); return AboutPageInfo( - new KRadioAboutWidget(aboutData, KRadioAboutWidget::AbtAppStandard), - "KRadio", - "KRadio", + new TDERadioAboutWidget(aboutData, TDERadioAboutWidget::AbtAppStandard), + "TDERadio", + "TDERadio", "kradio" ); } @@ -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("KRadioPlugin_GetAvailablePlugins"); - init_func = (t_kradio_plugin_init_func) library->symbol("KRadioPlugin_CreatePlugin"); - libload_func = (t_kradio_plugin_libload_func) library->symbol("KRadioPlugin_LoadLibrary"); - libunload_func = (t_kradio_plugin_libunload_func)library->symbol("KRadioPlugin_UnloadLibrary"); + 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"); if (info_func && init_func && libload_func && libunload_func) { libload_func(); info_func(plugins); @@ -122,9 +122,9 @@ PluginLibraryInfo::PluginLibraryInfo (const TQString &lib_name) ///////////////////////////////////////////////////////////////////////////// -//// KRadioApp +//// TDERadioApp -KRadioApp::KRadioApp() +TDERadioApp::TDERadioApp() : TDEApplication(), m_quitting(false) { @@ -133,18 +133,18 @@ KRadioApp::KRadioApp() } -KRadioApp::~KRadioApp() +TDERadioApp::~TDERadioApp() { - IErrorLogClient::staticLogDebug("KRadioApp::~KRadioApp()"); + IErrorLogClient::staticLogDebug("TDERadioApp::~TDERadioApp()"); } -void KRadioApp::saveState() +void TDERadioApp::saveState() { IErrorLogClient::staticLogDebug(i18n("saveState")); saveState(TDEGlobal::config()); } -void KRadioApp::saveState (TDEConfig *c) +void TDERadioApp::saveState (TDEConfig *c) { c->setGroup("Global"); c->writeEntry("instances", m_Instances.count()); @@ -169,9 +169,9 @@ void KRadioApp::saveState (TDEConfig *c) } -void KRadioApp::restoreState (TDEConfig *c) +void TDERadioApp::restoreState (TDEConfig *c) { - BlockProfiler profiler("KRadioApp::restoreState - loadLibraries"); + BlockProfiler profiler("TDERadioApp::restoreState - loadLibraries"); c->setGroup("Plugin Libraries"); int n_libs = c->readNumEntry("count", 0); @@ -179,7 +179,7 @@ void KRadioApp::restoreState (TDEConfig *c) // KProgressDialog *progress = new KProgressDialog(NULL, NULL, i18n("Loading Plugin Libraries")); // progress->setMinimumWidth(400); // progress->setAllowCancel(false); -// progress->TQWidget::setCaption(i18n("KRadio - Loading Plugin Libraries")); +// progress->TQWidget::setCaption(i18n("TDERadio - Loading Plugin Libraries")); // progress->show(); /* progress->progressBar()->setTotalSteps(n_libs);*/ @@ -209,7 +209,7 @@ void KRadioApp::restoreState (TDEConfig *c) c->setGroup("Global"); - BlockProfiler rest_profiler("KRadioApp::restoreState - restore"); + BlockProfiler rest_profiler("TDERadioApp::restoreState - restore"); int n = c->readNumEntry("instances", 1); if (n < 1 || n > 10) @@ -224,9 +224,9 @@ void KRadioApp::restoreState (TDEConfig *c) } -PluginManager *KRadioApp::createNewInstance(const TQString &_name) +PluginManager *TDERadioApp::createNewInstance(const TQString &_name) { - BlockProfiler profiler("KRadioApp::createNewInstance"); + BlockProfiler profiler("TDERadioApp::createNewInstance"); TQString instance_name = _name; TQString title_ext = ""; @@ -239,24 +239,24 @@ PluginManager *KRadioApp::createNewInstance(const TQString &_name) } PluginManager *pm = new PluginManager ( instance_name, this, - i18n("KRadio Configuration") + title_ext, - i18n("About KRadio Components") + title_ext + i18n("TDERadio Configuration") + title_ext, + i18n("About TDERadio Components") + title_ext ); m_Instances.insert(instance_name, pm); /* Until we don't have library plugins we must instantiate them hard-wired */ - KRadioAbout *about = new KRadioAbout ( "kradio-about-" + instance_name); + TDERadioAbout *about = new TDERadioAbout ( "kradio-about-" + instance_name); pm->insertPlugin(about); return pm; } -KLibrary *KRadioApp::LoadLibrary (const TQString &library) +KLibrary *TDERadioApp::LoadLibrary (const TQString &library) { - BlockProfiler profiler("KRadioApp::LoadLibrary"); - BlockProfiler libprofiler("KRadioApp::LoadLibrary - " + library); + BlockProfiler profiler("TDERadioApp::LoadLibrary"); + BlockProfiler libprofiler("TDERadioApp::LoadLibrary - " + library); PluginLibraryInfo libinfo(library); if (libinfo.valid()) { @@ -281,7 +281,7 @@ KLibrary *KRadioApp::LoadLibrary (const TQString &library) } -void KRadioApp::UnloadLibrary (const TQString &library) +void TDERadioApp::UnloadLibrary (const TQString &library) { if (!m_PluginLibraries.contains(library)) return; @@ -306,12 +306,12 @@ void KRadioApp::UnloadLibrary (const TQString &library) } -PluginBase *KRadioApp::CreatePlugin (PluginManager *manager, const TQString &class_name, const TQString &object_name) +PluginBase *TDERadioApp::CreatePlugin (PluginManager *manager, const TQString &class_name, const TQString &object_name) { - BlockProfiler all_profiler ("KRadioApp::CreatePlugin"); - BlockProfiler class_profiler("KRadioApp::CreatePlugin - " + class_name); + BlockProfiler all_profiler ("TDERadioApp::CreatePlugin"); + BlockProfiler class_profiler("TDERadioApp::CreatePlugin - " + class_name); - BlockProfiler create_profiler("KRadioApp::CreatePlugin - create"); + BlockProfiler create_profiler("TDERadioApp::CreatePlugin - create"); PluginBase *retval = NULL; if (m_PluginInfos.contains(class_name)) { @@ -333,18 +333,18 @@ PluginBase *KRadioApp::CreatePlugin (PluginManager *manager, const TQString &cla if (retval) { - BlockProfiler insert_profiler("KRadioApp::CreatePlugin - insert"); + BlockProfiler insert_profiler("TDERadioApp::CreatePlugin - insert"); manager->insertPlugin(retval); insert_profiler.stop(); - //BlockProfiler restore_profiler("KRadioApp::CreatePlugin - restore"); + //BlockProfiler restore_profiler("TDERadioApp::CreatePlugin - restore"); //retval->restoreState(TDEGlobal::config()); } return retval; } -void KRadioApp::startPlugins() +void TDERadioApp::startPlugins() { TQDictIterator<PluginManager> it(m_Instances); for (; it.current(); ++it) { @@ -352,7 +352,7 @@ void KRadioApp::startPlugins() } } -void KRadioApp::slotAboutToQuit() +void TDERadioApp::slotAboutToQuit() { IErrorLogClient::staticLogDebug("slotAboutToQuit"); if (!m_quitting) { diff --git a/kradio3/src/main.cpp b/kradio3/src/main.cpp index b574817..345fcba 100644 --- a/kradio3/src/main.cpp +++ b/kradio3/src/main.cpp @@ -33,8 +33,8 @@ int main(int argc, char *argv[]) { BlockProfiler profiler_about("main::aboutdata"); - TDEAboutData aboutData("kradio", I18N_NOOP("KRadio"), - KRADIO_VERSION, "KRadio", TDEAboutData::License_GPL, + TDEAboutData aboutData("kradio", I18N_NOOP("TDERadio"), + KRADIO_VERSION, "TDERadio", TDEAboutData::License_GPL, "(c) 2002-2005 Martin Witte, Klas Kalass, Frank Schwanz", 0, "http://sourceforge.net/projects/kradio", @@ -49,9 +49,9 @@ int main(int argc, char *argv[]) profiler_about.stop(); - BlockProfiler profiler_kradioapp("main::KRadioApp"); + BlockProfiler profiler_kradioapp("main::TDERadioApp"); - KRadioApp a; + TDERadioApp a; profiler_kradioapp.stop(); BlockProfiler profiler_restore("main::restore"); diff --git a/kradio3/src/pluginmanager-configuration-ui.ui b/kradio3/src/pluginmanager-configuration-ui.ui index 13adb7f..02f75d2 100644 --- a/kradio3/src/pluginmanager-configuration-ui.ui +++ b/kradio3/src/pluginmanager-configuration-ui.ui @@ -72,7 +72,7 @@ <property name="margin"> <number>0</number> </property> - <widget class="KListView" row="0" column="0" rowspan="2" colspan="1"> + <widget class="TDEListView" row="0" column="0" rowspan="2" colspan="1"> <column> <property name="text"> <string>Plugin Class</string> @@ -223,7 +223,7 @@ <string>create a new instance of selected plugin class</string> </property> </widget> - <widget class="KListView" row="0" column="0" rowspan="2" colspan="1"> + <widget class="TDEListView" row="0" column="0" rowspan="2" colspan="1"> <column> <property name="text"> <string>Plugin Class</string> @@ -337,7 +337,7 @@ <string>load a selected plugin library</string> </property> </widget> - <widget class="KListBox" row="1" column="0" rowspan="3" colspan="1"> + <widget class="TDEListBox" row="1" column="0" rowspan="3" colspan="1"> <property name="name"> <cstring>listPluginLibraries</cstring> </property> diff --git a/kradio3/src/pluginmanager-configuration.cpp b/kradio3/src/pluginmanager-configuration.cpp index 72b0b00..ebd3e28 100644 --- a/kradio3/src/pluginmanager-configuration.cpp +++ b/kradio3/src/pluginmanager-configuration.cpp @@ -28,7 +28,7 @@ #include <tqcheckbox.h> -PluginManagerConfiguration::PluginManagerConfiguration(TQWidget *parent, KRadioApp *app, PluginManager *pm) +PluginManagerConfiguration::PluginManagerConfiguration(TQWidget *parent, TDERadioApp *app, PluginManager *pm) : PluginManagerConfigurationUI(parent), m_Application(app), m_PluginManager(pm), @@ -65,7 +65,7 @@ void PluginManagerConfiguration::noticePluginLibrariesChanged() const TQMap<TQString, PluginClassInfo> &classes = m_Application->getPluginClasses(); TQMapConstIterator<TQString, PluginClassInfo> end_cls = classes.end(); for (TQMapConstIterator<TQString, PluginClassInfo> it = classes.begin(); it != end_cls; ++it) { - listPluginClasses->insertItem(new KListViewItem(listPluginClasses, it.key(), (*it).description)); + listPluginClasses->insertItem(new TDEListViewItem(listPluginClasses, it.key(), (*it).description)); } noticePluginsChanged(); @@ -82,7 +82,7 @@ void PluginManagerConfiguration::noticePluginsChanged() TQString class_name = it.current()->pluginClassName(); if (classes.contains(class_name)) { TQString obj_name = it.current()->name(); - listPluginInstances->insertItem(new KListViewItem(listPluginInstances, class_name, obj_name, classes[class_name].description)); + listPluginInstances->insertItem(new TDEListViewItem(listPluginInstances, class_name, obj_name, classes[class_name].description)); } } } diff --git a/kradio3/src/pluginmanager.cpp b/kradio3/src/pluginmanager.cpp index 9d64221..b03dcbc 100644 --- a/kradio3/src/pluginmanager.cpp +++ b/kradio3/src/pluginmanager.cpp @@ -35,7 +35,7 @@ PluginManager::PluginManager( const TQString &name, - KRadioApp *app, + TDERadioApp *app, const TQString &configDialogTitle, const TQString &aboutDialogTitle) : m_Name(name), diff --git a/kradio3/src/po/de.po b/kradio3/src/po/de.po index 27961b7..91a5dbc 100644 --- a/kradio3/src/po/de.po +++ b/kradio3/src/po/de.po @@ -251,30 +251,30 @@ msgstr "%1 kHz" #: kradioapp.cpp:44 msgid "" -"KRadio - The Radio Application for KDE<P>With KRadio you can listen to radio " +"TDERadio - The Radio Application for KDE<P>With TDERadio you can listen to radio " "broadcasts with the help of your V4L/V4L2 compatible radio card.<P>The " -"KRadio Project contains a station preset data database. To complete this " +"TDERadio Project contains a station preset data database. To complete this " "database you are encouraged to contribute your station preset file to the " "project. Just send it to one of the authors. <P>If you like to contribute " "your ideas, your own plugins or translations, don't hesitate to contact one " "of the authors.<P>" msgstr "" -"KRadio - Das Radio-Programm für KDE<P>Mit KRadio und einer Radiokarte, die " +"TDERadio - Das Radio-Programm für KDE<P>Mit TDERadio und einer Radiokarte, die " "vom Video-Für-Linux Treiber des Linux-Kernels unterstützt wird, können Sie " -"am PC Radiosendungen hören.<P> Das KRadio-Projekt baut eine weltweite " +"am PC Radiosendungen hören.<P> Das TDERadio-Projekt baut eine weltweite " "Senderdatenbank auf. Seien Sie ermutigt, Ihre eigenen Sendereinstellungen " -"dem KRadio-Projekt beizusteuern. Schicken Sie ihre Sendereinstellungen " +"dem TDERadio-Projekt beizusteuern. Schicken Sie ihre Sendereinstellungen " "einfach an einen der Autoren. <P> Wenn Sie mit Ihren Ideen, eigenen Plugins " -"oder Übersetzungen zum KRadio-Projekt beitragen wollen, zögern Sie nicht, " +"oder Übersetzungen zum TDERadio-Projekt beitragen wollen, zögern Sie nicht, " "sich mit einem der Autoren in Verbindung zu setzen.<P>" #: kradioapp.cpp:66 msgid "" -"Preset Database, Remote Control Support, Alarms, Rewrite for KRadio 0.3.0, " +"Preset Database, Remote Control Support, Alarms, Rewrite for TDERadio 0.3.0, " "Misc" msgstr "" "Sender-Datenbank, Unterstützung für Fernsteuerungen, Wecker, Überarbeitung " -"zu KRadio 0.3.0, Verschiedenes" +"zu TDERadio 0.3.0, Verschiedenes" #: kradioapp.cpp:67 main.cpp:43 msgid "Buildsystem, Standards Conformance, Cleanups" @@ -291,11 +291,11 @@ msgstr "Viele Leute rund um die Welt ..." #: kradioapp.cpp:72 msgid "" "... which contributed station preset files \n" -"and tested early and unstable snapshots of KRadio \n" +"and tested early and unstable snapshots of TDERadio \n" "with much patience" msgstr "" "... die Senderauswahl-Dateien beigesteuert und frühe und instabile Snapshots " -"von KRadio mit viel Geduld getestet haben. " +"von TDERadio mit viel Geduld getestet haben. " #: kradioapp.cpp:106 msgid "Library %1: Plugin Entry Point is missing\n" @@ -322,12 +322,12 @@ msgid "Instance" msgstr "Instanz" #: kradioapp.cpp:242 -msgid "KRadio Configuration" -msgstr "KRadio-Konfiguration " +msgid "TDERadio Configuration" +msgstr "TDERadio-Konfiguration " #: kradioapp.cpp:243 -msgid "About KRadio Components" -msgstr "Über die KRadio-Komponenten " +msgid "About TDERadio Components" +msgstr "Über die TDERadio-Komponenten " #: kradioapp.cpp:271 msgid "Error: Loading Library %1 failed: %2" @@ -343,8 +343,8 @@ msgstr "" "Fehler: Kann die Instanz \"%1\" der unbekannten Klasse %2 nicht erzeugen." #: main.cpp:36 -msgid "KRadio" -msgstr "KRadio" +msgid "TDERadio" +msgstr "TDERadio" #: main.cpp:42 msgid "rewrite for 0.3.0, recording, lirc support, alarms, misc" diff --git a/kradio3/src/po/es.po b/kradio3/src/po/es.po index 022ca6c..f086e24 100644 --- a/kradio3/src/po/es.po +++ b/kradio3/src/po/es.po @@ -257,17 +257,17 @@ msgstr " kHz" #: kradioapp.cpp:44 msgid "" -"KRadio - The Radio Application for KDE<P>With KRadio you can listen to radio " +"TDERadio - The Radio Application for KDE<P>With TDERadio you can listen to radio " "broadcasts with the help of your V4L/V4L2 compatible radio card.<P>The " -"KRadio Project contains a station preset data database. To complete this " +"TDERadio Project contains a station preset data database. To complete this " "database you are encouraged to contribute your station preset file to the " "project. Just send it to one of the authors. <P>If you like to contribute " "your ideas, your own plugins or translations, don't hesitate to contact one " "of the authors.<P>" msgstr "" -"KRadio - La aplicacin de radio para KDE<P>Con KRadio puede escuchar " +"TDERadio - La aplicacin de radio para KDE<P>Con TDERadio puede escuchar " "retransmisiones de radio con la ayuda de su tarjeta de radio compatible con " -"V4L/V4L2.<P>El proyecto KRadio contiene una base de datos de configuraciones " +"V4L/V4L2.<P>El proyecto TDERadio contiene una base de datos de configuraciones " "de emisoras. Para completar esta base de datos, le animamos a contribuir al " "proyecto con su configuracin. Slo envela a uno de los autores. <P>Si " "desea contribuir con sus ideas, sus propios plugins, o sus traducciones, no " @@ -275,11 +275,11 @@ msgstr "" #: kradioapp.cpp:66 msgid "" -"Preset Database, Remote Control Support, Alarms, Rewrite for KRadio 0.3.0, " +"Preset Database, Remote Control Support, Alarms, Rewrite for TDERadio 0.3.0, " "Misc" msgstr "" "Base de datos de configuraciones, soporte de control remoto, alertas, " -"reescritura para KRadio 0.3.0, Miscelnea" +"reescritura para TDERadio 0.3.0, Miscelnea" #: kradioapp.cpp:67 main.cpp:43 msgid "Buildsystem, Standards Conformance, Cleanups" @@ -296,11 +296,11 @@ msgstr "Mucha gente alrededor del mundo ... " #: kradioapp.cpp:72 msgid "" "... which contributed station preset files \n" -"and tested early and unstable snapshots of KRadio \n" +"and tested early and unstable snapshots of TDERadio \n" "with much patience" msgstr "" "... que ha contribuido con archivos de configuracin de emisoras \n" -"y ha testeado las primeras versiones inestables no oficiales de KRadio \n" +"y ha testeado las primeras versiones inestables no oficiales de TDERadio \n" "con mucha paciencia" #: kradioapp.cpp:106 @@ -326,12 +326,12 @@ msgid "Instance" msgstr "Instancia" #: kradioapp.cpp:242 -msgid "KRadio Configuration" -msgstr "Configuracin de KRadio" +msgid "TDERadio Configuration" +msgstr "Configuracin de TDERadio" #: kradioapp.cpp:243 -msgid "About KRadio Components" -msgstr "Acerca de los componentes de KRadio" +msgid "About TDERadio Components" +msgstr "Acerca de los componentes de TDERadio" #: kradioapp.cpp:271 #, fuzzy @@ -347,8 +347,8 @@ msgid "Error: Cannot create instance \"%1\" of unknown class %2." msgstr "" #: main.cpp:36 -msgid "KRadio" -msgstr "KRadio" +msgid "TDERadio" +msgstr "TDERadio" #: main.cpp:42 msgid "rewrite for 0.3.0, recording, lirc support, alarms, misc" @@ -586,8 +586,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Docking Menu Configuration" #~ msgstr "Configuracin del men de icono empotrable" -#~ msgid "Docking Menu for KRadio" -#~ msgstr "Men de icono empotrable de KRadio" +#~ msgid "Docking Menu for TDERadio" +#~ msgstr "Men de icono empotrable de TDERadio" #~ msgid "Docking Menu Plugin" #~ msgstr "Plugin de men del icono empotrable" @@ -616,8 +616,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Power On" #~ msgstr "Encender" -#~ msgid "KRadio Logger" -#~ msgstr "Registro de KRadio" +#~ msgid "TDERadio Logger" +#~ msgstr "Registro de TDERadio" #~ msgid "Save &as" #~ msgstr "Guardar &como" @@ -640,7 +640,7 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Select Log File" #~ msgstr "Seleccionar archivo de registro" -#~ msgid "Save KRadio Logging Data as ..." +#~ msgid "Save TDERadio Logging Data as ..." #~ msgstr "Guardar datos de registro como ..." #~ msgid "Initializing kradio lirc plugin failed" @@ -649,10 +649,10 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Initializing kradio lirc plugin successful" #~ msgstr "Inicializacin del plugin lirc de kradio correcta" -#~ msgid "Linux Infrared Remote Control Support for KRadio" +#~ msgid "Linux Infrared Remote Control Support for TDERadio" #~ msgstr "" #~ "Linux Infrared Remote Control Support (soporte de control remoto por " -#~ "infrarrojos para Linux) de KRadio" +#~ "infrarrojos para Linux) de TDERadio" #~ msgid "LIRC Support" #~ msgstr "Soporte LIRC" @@ -663,8 +663,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Quickbar" #~ msgstr "Barra de acceso rpido" -#~ msgid "Quickback for KRadio" -#~ msgstr "Barra de acceso rpido de KRadio" +#~ msgid "Quickback for TDERadio" +#~ msgstr "Barra de acceso rpido de TDERadio" #~ msgid "Images" #~ msgstr "Imgenes" @@ -675,8 +675,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Select Station Pixmap" #~ msgstr "Seleccionar mapa de pxels de la estacin" -#~ msgid "KRadio Preset Files" -#~ msgstr "Archivos de configuracin de emisoras de KRadio" +#~ msgid "TDERadio Preset Files" +#~ msgstr "Archivos de configuracin de emisoras de TDERadio" #~ msgid "Preset File Selection" #~ msgstr "Seleccin de archivos de configuracin" @@ -696,10 +696,10 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Setup Radio Stations" #~ msgstr "Configurar emisoras de radio" -#~ msgid "Radio Device Multiplexer and Station Management for KRadio" +#~ msgid "Radio Device Multiplexer and Station Management for TDERadio" #~ msgstr "" #~ "Multiplexador de dispositivos de radio y administracin de emisoras de " -#~ "KRadio" +#~ "TDERadio" #~ msgid "Device and Station Management" #~ msgstr "Administracin de dispositivos y emisoras" @@ -716,14 +716,14 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Start Monitoring" #~ msgstr "Iniciar monitorizacin" -#~ msgid "Configure KRadio" -#~ msgstr "Configurar KRadio" +#~ msgid "Configure TDERadio" +#~ msgstr "Configurar TDERadio" #~ msgid "Power On/Off" #~ msgstr "Encender/Apagar" -#~ msgid "Quit KRadio Application" -#~ msgstr "Salir de KRadio" +#~ msgid "Quit TDERadio Application" +#~ msgstr "Salir de TDERadio" #~ msgid "Start/Stop Recording" #~ msgstr "Iniciar/detener grabacin" @@ -749,8 +749,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Common" #~ msgstr "Comn" -#~ msgid "Standard Radio Display for KRadio" -#~ msgstr "Pantalla estndar de radio para KRadio" +#~ msgid "Standard Radio Display for TDERadio" +#~ msgstr "Pantalla estndar de radio para TDERadio" #~ msgid "Frequency Display" #~ msgstr "Pantalla de la frecuencia" @@ -838,7 +838,7 @@ msgstr "caracteres ignorados para elemento %1" #~ "preset file to the kradio project.</p>" #~ msgstr "" #~ "<p align=\"center\">Pulse en el enlace de abajo para contribuir con este " -#~ "archivo de configuracin de emisoras al proyecto KRadio.</p>" +#~ "archivo de configuracin de emisoras al proyecto TDERadio.</p>" #~ msgid "RadioView_SeekInterface" #~ msgstr "RadioView_SeekInterface" @@ -1057,8 +1057,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Monitor Input" #~ msgstr "Monitorizar entrada" -#~ msgid "Recording Monitor Plugin for KRadio" -#~ msgstr "Plugin de monitor de grabacin para KRadio" +#~ msgid "Recording Monitor Plugin for TDERadio" +#~ msgstr "Plugin de monitor de grabacin para TDERadio" #~ msgid "Recording Monitor Plugin" #~ msgstr "Plugin de monitor de grabacin" @@ -1081,14 +1081,14 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "finished" #~ msgstr "finalizado" -#~ msgid "KRadio Recording Plugin" -#~ msgstr "Plugin de grabacin de KRadio" +#~ msgid "TDERadio Recording Plugin" +#~ msgstr "Plugin de grabacin de TDERadio" #~ msgid "Recording" #~ msgstr "Grabacin" -#~ msgid "Recording Monitor for KRadio" -#~ msgstr "Monitor de grabacin de KRadio" +#~ msgid "Recording Monitor for TDERadio" +#~ msgstr "Monitor de grabacin de TDERadio" #~ msgid "Recording starting" #~ msgstr "Iniciando grabacin" @@ -1169,8 +1169,8 @@ msgstr "caracteres ignorados para elemento %1" #~ msgid "Cannot initialize libmp3lame parameters. " #~ msgstr "No se pueden inicializar los parmetros de libmp3lame. " -#~ msgid "Recorded by KRadio" -#~ msgstr "Grabado por KRadio" +#~ msgid "Recorded by TDERadio" +#~ msgstr "Grabado por TDERadio" #~ msgid "Cannot allocate buffers for mp3 encoding. " #~ msgstr "No se pueden asignar los bfers para la codificacin del mp3. " @@ -1185,9 +1185,9 @@ msgstr "caracteres ignorados para elemento %1" #~ msgstr "Configurar alertas" #~ msgid "" -#~ "Time Control Plugin for KRadio.<P>Provides Alarms and Sleep Countdown<P>" +#~ "Time Control Plugin for TDERadio.<P>Provides Alarms and Sleep Countdown<P>" #~ msgstr "" -#~ "Plugin de control de tiempo de KRadio.<P>Provee alertas y cuenta atrs " +#~ "Plugin de control de tiempo de TDERadio.<P>Provee alertas y cuenta atrs " #~ "para dormir<P>" #~ msgid "Time Control Plugin" @@ -1242,10 +1242,10 @@ msgstr "caracteres ignorados para elemento %1" #~ msgstr "Opciones de radio V4L" #~ msgid "" -#~ "V4L/V4L2 Plugin for KRadio.<P>Provides Support for V4L/V4L2 based Radio " +#~ "V4L/V4L2 Plugin for TDERadio.<P>Provides Support for V4L/V4L2 based Radio " #~ "Cards<P>" #~ msgstr "" -#~ "V4L/V4L2 plugin de KRadio.<P>Provee Soporte para tarjetas de radio " +#~ "V4L/V4L2 plugin de TDERadio.<P>Provee Soporte para tarjetas de radio " #~ "basadas en V4L/V4L2<P>" #~ msgid "V4L/V4L2" diff --git a/kradio3/src/po/pl.po b/kradio3/src/po/pl.po index dba6f6f..9946c6a 100644 --- a/kradio3/src/po/pl.po +++ b/kradio3/src/po/pl.po @@ -261,25 +261,25 @@ msgstr " kHz" #: kradioapp.cpp:44 msgid "" -"KRadio - The Radio Application for KDE<P>With KRadio you can listen to radio " +"TDERadio - The Radio Application for KDE<P>With TDERadio you can listen to radio " "broadcasts with the help of your V4L/V4L2 compatible radio card.<P>The " -"KRadio Project contains a station preset data database. To complete this " +"TDERadio Project contains a station preset data database. To complete this " "database you are encouraged to contribute your station preset file to the " "project. Just send it to one of the authors. <P>If you like to contribute " "your ideas, your own plugins or translations, don't hesitate to contact one " "of the authors.<P>" msgstr "" -"KRadio - Aplikacja do obsługi radia pod KDE<P>KRadio służy do słuchania " +"TDERadio - Aplikacja do obsługi radia pod KDE<P>TDERadio służy do słuchania " "radia z wykorzystaniem karty radiowej kompatybilnej ze standardem V4L/V4L2. " -"<P> Projekt KRadio zawiera bazę danych stacji radiowych. Aby uzupełnić tę " +"<P> Projekt TDERadio zawiera bazę danych stacji radiowych. Aby uzupełnić tę " "bazę potrzebna jest pomoc użytkowników - zachęcamy więc do stworzenia listy " "stacji, które można odbierać w twojej okolicy i przesłanie jej do autorów " -"KRadio. <P> Jeśli chcielibyście podzielić się swoimi pomysłami, wtyczkami " +"TDERadio. <P> Jeśli chcielibyście podzielić się swoimi pomysłami, wtyczkami " "czy tłumaczeniami skontaktujcie się koniecznie z którymś a autorów. <P>. " #: kradioapp.cpp:66 msgid "" -"Preset Database, Remote Control Support, Alarms, Rewrite for KRadio 0.3.0, " +"Preset Database, Remote Control Support, Alarms, Rewrite for TDERadio 0.3.0, " "Misc" msgstr "Baza Danych Stacjie, Obługa zdalnego sterowania, Alarmy, " @@ -298,12 +298,12 @@ msgstr "Wielu osób w różnych częściach świata..." #: kradioapp.cpp:72 msgid "" "... which contributed station preset files \n" -"and tested early and unstable snapshots of KRadio \n" +"and tested early and unstable snapshots of TDERadio \n" "with much patience" msgstr "" "które przesyłały zestawy zapamiętanych stacji \n" " i cierpliwe testowały wczesne i niestabilne \n" -"wersje KRadio" +"wersje TDERadio" #: kradioapp.cpp:106 msgid "Library %1: Plugin Entry Point is missing\n" @@ -328,12 +328,12 @@ msgid "Instance" msgstr "" #: kradioapp.cpp:242 -msgid "KRadio Configuration" -msgstr "Konfiguracja: KRadio" +msgid "TDERadio Configuration" +msgstr "Konfiguracja: TDERadio" #: kradioapp.cpp:243 -msgid "About KRadio Components" -msgstr "O składnikach KRadio" +msgid "About TDERadio Components" +msgstr "O składnikach TDERadio" #: kradioapp.cpp:271 #, fuzzy @@ -349,8 +349,8 @@ msgid "Error: Cannot create instance \"%1\" of unknown class %2." msgstr "" #: main.cpp:36 -msgid "KRadio" -msgstr "KRadio" +msgid "TDERadio" +msgstr "TDERadio" #: main.cpp:42 msgid "rewrite for 0.3.0, recording, lirc support, alarms, misc" @@ -585,8 +585,8 @@ msgstr "" #~ msgid "Docking Menu Configuration" #~ msgstr "Konfiguracja dokowalnego menu" -#~ msgid "Docking Menu for KRadio" -#~ msgstr "Menu dokowalne KRadio" +#~ msgid "Docking Menu for TDERadio" +#~ msgstr "Menu dokowalne TDERadio" #~ msgid "Docking Menu Plugin" #~ msgstr "Wtyczka menu dokowalnego" @@ -615,7 +615,7 @@ msgstr "" #~ msgid "Power On" #~ msgstr "Włącz" -#~ msgid "KRadio Logger" +#~ msgid "TDERadio Logger" #~ msgstr "Dziennik Kradio" #~ msgid "Save &as" @@ -639,8 +639,8 @@ msgstr "" #~ msgid "Select Log File" #~ msgstr "Wybierz plik dziennika" -#~ msgid "Save KRadio Logging Data as ..." -#~ msgstr "Zapisz dziennik KRadio jako..." +#~ msgid "Save TDERadio Logging Data as ..." +#~ msgstr "Zapisz dziennik TDERadio jako..." #~ msgid "Initializing kradio lirc plugin failed" #~ msgstr "Inicjalizacja wtyczki LIRC nieudana" @@ -648,8 +648,8 @@ msgstr "" #~ msgid "Initializing kradio lirc plugin successful" #~ msgstr "Inicjalizacja wtyczki LIRC udana" -#~ msgid "Linux Infrared Remote Control Support for KRadio" -#~ msgstr "Obsługa LIRC (Linux Infrared Remote Control) dla KRadio" +#~ msgid "Linux Infrared Remote Control Support for TDERadio" +#~ msgstr "Obsługa LIRC (Linux Infrared Remote Control) dla TDERadio" #~ msgid "LIRC Support" #~ msgstr "Obsługa LIRC" @@ -660,8 +660,8 @@ msgstr "" #~ msgid "Quickbar" #~ msgstr "Pasek skrótów" -#~ msgid "Quickback for KRadio" -#~ msgstr "Pasek skrótów KRadio" +#~ msgid "Quickback for TDERadio" +#~ msgstr "Pasek skrótów TDERadio" #~ msgid "Images" #~ msgstr "Obrazy" @@ -672,7 +672,7 @@ msgstr "" #~ msgid "Select Station Pixmap" #~ msgstr "Wybierz logo stacji" -#~ msgid "KRadio Preset Files" +#~ msgid "TDERadio Preset Files" #~ msgstr "Pliki zapamiętanych stacji Kradio" #~ msgid "Preset File Selection" @@ -693,8 +693,8 @@ msgstr "" #~ msgid "Setup Radio Stations" #~ msgstr "Stacje" -#~ msgid "Radio Device Multiplexer and Station Management for KRadio" -#~ msgstr "Multiplekser urządzenia radia i zarządzanie stacjami dla KRadio" +#~ msgid "Radio Device Multiplexer and Station Management for TDERadio" +#~ msgstr "Multiplekser urządzenia radia i zarządzanie stacjami dla TDERadio" #~ msgid "Device and Station Management" #~ msgstr "Urządzenia i zarządzanie stacjami" @@ -711,14 +711,14 @@ msgstr "" #~ msgid "Start Monitoring" #~ msgstr "Rozpocznij monitorowanie" -#~ msgid "Configure KRadio" -#~ msgstr "Konfiguruj: KRadio" +#~ msgid "Configure TDERadio" +#~ msgstr "Konfiguruj: TDERadio" #~ msgid "Power On/Off" #~ msgstr "Włącz/Wyłącz" -#~ msgid "Quit KRadio Application" -#~ msgstr "Zakończ KRadio" +#~ msgid "Quit TDERadio Application" +#~ msgstr "Zakończ TDERadio" #~ msgid "Start/Stop Recording" #~ msgstr "Rozpocznij/Zakończ nagrywanie" @@ -739,8 +739,8 @@ msgstr "" #~ msgid "Display Configuration" #~ msgstr "Konfiguracja wyświetlacza" -#~ msgid "Standard Radio Display for KRadio" -#~ msgstr "Standardowy wyświetlacz dla KRadio" +#~ msgid "Standard Radio Display for TDERadio" +#~ msgstr "Standardowy wyświetlacz dla TDERadio" #~ msgid "Frequency Display" #~ msgstr "Wyświetlacz częstotliwości" @@ -824,7 +824,7 @@ msgstr "" #~ "preset file to the kradio project.</p>" #~ msgstr "" #~ "<p align=\"center\">Kliknij poniżej żeby dołączyć listę stacji do bazy " -#~ "projektu.KRadio</p>" +#~ "projektu.TDERadio</p>" #, fuzzy #~ msgid "search previous station" @@ -1000,8 +1000,8 @@ msgstr "" #~ msgid "Monitor Input" #~ msgstr "Monitoruj poziom sygnału" -#~ msgid "Recording Monitor Plugin for KRadio" -#~ msgstr "Wtyczka monitorowania nagrywania dla KRadio" +#~ msgid "Recording Monitor Plugin for TDERadio" +#~ msgstr "Wtyczka monitorowania nagrywania dla TDERadio" #~ msgid "Recording Monitor Plugin" #~ msgstr "Wtyczka monitorowania nagrywania" @@ -1022,14 +1022,14 @@ msgstr "" #~ msgstr "zakończone" #, fuzzy -#~ msgid "KRadio Recording Plugin" +#~ msgid "TDERadio Recording Plugin" #~ msgstr "Wtyczka nagrywania" #~ msgid "Recording" #~ msgstr "Nagrywanie" -#~ msgid "Recording Monitor for KRadio" -#~ msgstr "Monitor nagrywania dla KRadio" +#~ msgid "Recording Monitor for TDERadio" +#~ msgstr "Monitor nagrywania dla TDERadio" #~ msgid "Recording starting" #~ msgstr "Nagrywanie rozpoczęte" @@ -1094,8 +1094,8 @@ msgstr "" #~ msgstr "Błąd %1 podczas nagrywania" #, fuzzy -#~ msgid "Recorded by KRadio" -#~ msgstr "Monitor nagrywania dla KRadio" +#~ msgid "Recorded by TDERadio" +#~ msgstr "Monitor nagrywania dla TDERadio" #, fuzzy #~ msgid "Cannot allocate buffers for mp3 encoding. " @@ -1111,9 +1111,9 @@ msgstr "" #~ msgstr "Ustawienia alarmów" #~ msgid "" -#~ "Time Control Plugin for KRadio.<P>Provides Alarms and Sleep Countdown<P>" +#~ "Time Control Plugin for TDERadio.<P>Provides Alarms and Sleep Countdown<P>" #~ msgstr "" -#~ "Wtyczka kontroli czasu dla KRadio <P> Umożliwia obsługę alarmów i " +#~ "Wtyczka kontroli czasu dla TDERadio <P> Umożliwia obsługę alarmów i " #~ "usypiania<P>" #~ msgid "Time Control Plugin" @@ -1166,10 +1166,10 @@ msgstr "" #~ msgstr "Opcje radia V4L" #~ msgid "" -#~ "V4L/V4L2 Plugin for KRadio.<P>Provides Support for V4L/V4L2 based Radio " +#~ "V4L/V4L2 Plugin for TDERadio.<P>Provides Support for V4L/V4L2 based Radio " #~ "Cards<P>" #~ msgstr "" -#~ "Wtyczka V4L/V4L2 dla KRadio. <p>Umożliwia obsługę kart radiowych zgodnych " +#~ "Wtyczka V4L/V4L2 dla TDERadio. <p>Umożliwia obsługę kart radiowych zgodnych " #~ "z V4L/V4L2<p>" #~ msgid "V4L/V4L2" diff --git a/kradio3/src/po/ru.po b/kradio3/src/po/ru.po index d01bcb3..02edf76 100644 --- a/kradio3/src/po/ru.po +++ b/kradio3/src/po/ru.po @@ -248,16 +248,16 @@ msgstr "%1 кГц" #: kradioapp.cpp:44 msgid "" -"KRadio - The Radio Application for KDE<P>With KRadio you can listen to radio " +"TDERadio - The Radio Application for KDE<P>With TDERadio you can listen to radio " "broadcasts with the help of your V4L/V4L2 compatible radio card.<P>The " -"KRadio Project contains a station preset data database. To complete this " +"TDERadio Project contains a station preset data database. To complete this " "database you are encouraged to contribute your station preset file to the " "project. Just send it to one of the authors. <P>If you like to contribute " "your ideas, your own plugins or translations, don't hesitate to contact one " "of the authors.<P>" msgstr "" -"KRadio — радио для среды KDE<P>С KRadio вы можете слушать радио с помощью " -"платы радио, совместимой с v4l/v4l2.<P>Проект KRadio включает и базу данных " +"TDERadio — радио для среды KDE<P>С TDERadio вы можете слушать радио с помощью " +"платы радио, совместимой с v4l/v4l2.<P>Проект TDERadio включает и базу данных " "радиостанций; чтобы её дополнить, вы можете включить в проект свой файл с " "настройками радиостанций: просто отправьте его одному из авторов.<P>Если вы " "хотите видеть реализованными в проекте свои идеи, готовые модули или " @@ -265,11 +265,11 @@ msgstr "" #: kradioapp.cpp:66 msgid "" -"Preset Database, Remote Control Support, Alarms, Rewrite for KRadio 0.3.0, " +"Preset Database, Remote Control Support, Alarms, Rewrite for TDERadio 0.3.0, " "Misc" msgstr "" "База данных радиостанций, поддержка ДУ, выполнение заданий по расписанию, " -"код для KRadio 0.3.0, разное" +"код для TDERadio 0.3.0, разное" #: kradioapp.cpp:67 main.cpp:43 msgid "Buildsystem, Standards Conformance, Cleanups" @@ -286,12 +286,12 @@ msgstr "Всем-всем-всем..." #: kradioapp.cpp:72 msgid "" "... which contributed station preset files \n" -"and tested early and unstable snapshots of KRadio \n" +"and tested early and unstable snapshots of TDERadio \n" "with much patience" msgstr "" "... кто создавал файлы настроек радиостанций \n" "и с огромным терпением проверял работу ранних, нестабильных \n" -" версий KRadio" +" версий TDERadio" #: kradioapp.cpp:106 msgid "Library %1: Plugin Entry Point is missing\n" @@ -318,12 +318,12 @@ msgid "Instance" msgstr "Экземпляр" #: kradioapp.cpp:242 -msgid "KRadio Configuration" -msgstr "Настройка KRadio" +msgid "TDERadio Configuration" +msgstr "Настройка TDERadio" #: kradioapp.cpp:243 -msgid "About KRadio Components" -msgstr "О компонентах KRadio" +msgid "About TDERadio Components" +msgstr "О компонентах TDERadio" #: kradioapp.cpp:271 msgid "Error: Loading Library %1 failed: %2" @@ -338,7 +338,7 @@ msgid "Error: Cannot create instance \"%1\" of unknown class %2." msgstr "Ошибка: не могу создать экземпляр \"%1\" неизвестного класса %2." #: main.cpp:36 -msgid "KRadio" +msgid "TDERadio" msgstr "Радиоприёмник KDE" #: main.cpp:42 @@ -446,7 +446,7 @@ msgid "" "You have to rebuild your station selections for the quickbar and the docking " "menu." msgstr "" -"Был прочитан старый файл настроек KRadio.\n" +"Был прочитан старый файл настроек TDERadio.\n" "Вам потребуется заново выбрать станции для меню в системном лотке и панели " "быстрого доступа." diff --git a/kradio3/src/radiostation-listview.cpp b/kradio3/src/radiostation-listview.cpp index 8178b63..ce67ba9 100644 --- a/kradio3/src/radiostation-listview.cpp +++ b/kradio3/src/radiostation-listview.cpp @@ -28,7 +28,7 @@ #include <tdeconfig.h> RadioStationListView::RadioStationListView(TQWidget *parent, const char *name) - : KListView(parent, name) + : TDEListView(parent, name) { addColumn(i18n("No.")); addColumn(i18n("Icon")); diff --git a/kradio3/src/stationlist.cpp b/kradio3/src/stationlist.cpp index a5b0f5b..45ed4ca 100644 --- a/kradio3/src/stationlist.cpp +++ b/kradio3/src/stationlist.cpp @@ -311,7 +311,7 @@ bool StationList::readXML (const TQString &dat, const IErrorLogClient &logger, b reader.setContentHandler (&handler); if (reader.parse(source)) { if (handler.wasCompatMode() && enableMessageBox) { - TQMessageBox::information(NULL, "KRadio", + TQMessageBox::information(NULL, "TDERadio", i18n("Probably an old station preset file was read.\n" "You have to rebuild your station selections for " "the quickbar and the docking menu.") @@ -325,7 +325,7 @@ bool StationList::readXML (const TQString &dat, const IErrorLogClient &logger, b logger.logError("StationList::readXML: " + i18n("parsing failed")); if (enableMessageBox) { - TQMessageBox::warning(NULL, "KRadio", + TQMessageBox::warning(NULL, "TDERadio", i18n("Parsing the station preset file failed.\n" "See console output for more details.")); } @@ -341,7 +341,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool if (enableMessageBox) { logger.logError("StationList::readXML: " + i18n("error downloading preset file %1").arg(url.url())); - TQMessageBox::warning(NULL, "KRadio", + TQMessageBox::warning(NULL, "TDERadio", i18n("Download of the station preset file at %1 failed.") .arg(url.url())); } else { @@ -360,7 +360,7 @@ bool StationList::readXML (const KURL &url, const IErrorLogClient &logger, bool logger.logError("StationList::readXML: " + i18n("error opening preset file %1").arg(tmpfile)); if (enableMessageBox) { - TQMessageBox::warning(NULL, "KRadio", + TQMessageBox::warning(NULL, "TDERadio", i18n("Opening of the station preset file at %1 failed.") .arg(tmpfile)); } @@ -409,7 +409,7 @@ TQString StationList::writeXML (const IErrorLogClient &/*logger*/) const TQString tt = "\t\t"; TQString ttt = "\t\t\t"; - data += xmlOpenTag(KRadioConfigElement) + + data += xmlOpenTag(TDERadioConfigElement) + t + xmlOpenTag(StationListElement) + tt + xmlTag(StationListFormat, STATION_LIST_FORMAT) + tt + xmlOpenTag(StationListInfo) + @@ -437,7 +437,7 @@ TQString StationList::writeXML (const IErrorLogClient &/*logger*/) const } data += t + xmlCloseTag(StationListElement) + - xmlCloseTag(KRadioConfigElement); + xmlCloseTag(TDERadioConfigElement); return data; } @@ -460,7 +460,7 @@ bool StationList::writeXML (const KURL &url, const IErrorLogClient &logger, bool logger.logError("StationList::writeXML: " + i18n("error writing to tempfile %1").arg(tmpFile.name())); if (enableMessageBox) { - TQMessageBox::warning(NULL, "KRadio", + TQMessageBox::warning(NULL, "TDERadio", i18n("Writing station preset file %1 failed.") .arg(tmpFile.name())); } @@ -482,7 +482,7 @@ bool StationList::writeXML (const KURL &url, const IErrorLogClient &logger, bool i18n("error uploading preset file %1").arg(url.url())); if (enableMessageBox) { - TQMessageBox::warning(NULL, "KRadio", + TQMessageBox::warning(NULL, "TDERadio", i18n("Upload of station preset file to %1 failed.") .arg(url.url())); } diff --git a/kradio3/src/stationlistxmlhandler.cpp b/kradio3/src/stationlistxmlhandler.cpp index 1bd09ed..04e9d6f 100644 --- a/kradio3/src/stationlistxmlhandler.cpp +++ b/kradio3/src/stationlistxmlhandler.cpp @@ -18,7 +18,7 @@ #include "include/stationlistxmlhandler.h" #include <klocale.h> -const char *KRadioConfigElement = "kradiorc"; +const char *TDERadioConfigElement = "kradiorc"; const char *StationListElement = "stationlist"; const char *compatStationElement = "station"; @@ -69,12 +69,12 @@ bool StationListXmlHandler::startElement (const TQString &/*ns*/, const TQString const TQString& _qname, const TQXmlAttributes &) { TQString qname = _qname; - if (qname == KRadioConfigElement) { + if (qname == TDERadioConfigElement) { if (m_status.size()) { START_ELEMENT_ERROR } // station list } else if (qname == StationListElement) { - if (!m_status.size() || m_status.back() != KRadioConfigElement) { START_ELEMENT_ERROR } + if (!m_status.size() || m_status.back() != TDERadioConfigElement) { START_ELEMENT_ERROR } m_stations.clear(); clearNewStation(); |