diff options
Diffstat (limited to 'tderadio3/plugins/gui-standard-display/radioview.cpp')
-rw-r--r-- | tderadio3/plugins/gui-standard-display/radioview.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tderadio3/plugins/gui-standard-display/radioview.cpp b/tderadio3/plugins/gui-standard-display/radioview.cpp index 73735d2..a79a8d8 100644 --- a/tderadio3/plugins/gui-standard-display/radioview.cpp +++ b/tderadio3/plugins/gui-standard-display/radioview.cpp @@ -30,7 +30,7 @@ #include <kapplication.h> #include <twin.h> #include <tdeconfig.h> -#include <kpopupmenu.h> +#include <tdepopupmenu.h> #include "../../src/include/radiodevice_interfaces.h" #include "../../src/include/radiostation.h" @@ -52,7 +52,7 @@ /////////////////////////////////////////////////////////////////////// -PLUGIN_LIBRARY_FUNCTIONS(RadioView, "kradio-gui-standard-display", i18n("Standard Display for TDERadio")); +PLUGIN_LIBRARY_FUNCTIONS(RadioView, "tderadio-gui-standard-display", i18n("Standard Display for TDERadio")); /////////////////////////////////////////////////////////////////////// @@ -123,13 +123,13 @@ RadioView::RadioView(const TQString &name) l04->addWidget (btnPlugins, 2, 1); m_pauseMenu = new TDEPopupMenu(btnPower); - m_pauseMenu->insertItem(SmallIcon("kradio_pause"), + m_pauseMenu->insertItem(SmallIcon("tderadio_pause"), i18n("Pause TDERadio"), this, TQT_SLOT(slotPause())); btnPower->setPopupDelay(200); m_RecordingMenu = new TDEPopupMenu(btnRecording); - m_RecordingMenu->insertItem(SmallIcon("kradio_record"), + m_RecordingMenu->insertItem(SmallIcon("tderadio_record"), i18n("Start Recording"), POPUP_ID_START_RECORDING_DEFAULT); TQObject::connect(m_RecordingMenu, TQT_SIGNAL(activated(int)), @@ -155,12 +155,12 @@ RadioView::RadioView(const TQString &name) // ICONS - btnPower->setIconSet(SmallIconSet("kradio_muteon")); - btnRecording->setIconSet(SmallIconSet("kradio_record")); + btnPower->setIconSet(SmallIconSet("tderadio_muteon")); + btnRecording->setIconSet(SmallIconSet("tderadio_record")); btnConfigure->setIconSet(SmallIconSet("configure")); btnQuit->setIconSet(SmallIconSet("exit")); - btnSnooze->setIconSet(SmallIconSet("kradio_zzz")); - btnPlugins->setIconSet(SmallIconSet("kradio_plugins")); + btnSnooze->setIconSet(SmallIconSet("tderadio_zzz")); + btnPlugins->setIconSet(SmallIconSet("tderadio_plugins")); widgetStacks[clsRadioSound] ->setSizePolicy(TQSizePolicy(TQSizePolicy::Minimum, TQSizePolicy::Preferred)); widgetStacks[clsRadioDisplay]->setSizePolicy(TQSizePolicy(TQSizePolicy::Expanding, TQSizePolicy::Preferred)); @@ -299,7 +299,7 @@ void RadioView::selectTopWidgets() bool RadioView::noticePowerChanged(bool on) { - btnPower->setIconSet(SmallIconSet( on ? "kradio_muteoff" : "kradio_muteon")); + btnPower->setIconSet(SmallIconSet( on ? "tderadio_muteoff" : "tderadio_muteon")); btnPower->setOn(on); if (on) { btnPower->setPopup(m_pauseMenu); @@ -438,7 +438,7 @@ bool RadioView::startRecordingWithFormat( TQString descr; querySoundStreamDescription(id, descr); int menu_id = m_NextRecordingMenuID++; - m_RecordingMenu->insertItem(SmallIcon("kradio_record"), + m_RecordingMenu->insertItem(SmallIcon("tderadio_record"), i18n("Stop Recording of %1").arg(descr), menu_id); m_MenuID2StreamID.insert(menu_id, id); @@ -476,7 +476,7 @@ bool RadioView::noticeSoundStreamChanged(SoundStreamID id) TQString descr; querySoundStreamDescription(id, descr); m_RecordingMenu->changeItem(m_StreamID2MenuID[id], - SmallIcon("kradio_record"), + SmallIcon("tderadio_record"), i18n("Stop Recording of %1").arg(descr)); return true; } @@ -600,14 +600,14 @@ void RadioView::addCommonConfigurationTab(TQTabWidget *c) AboutPageInfo RadioView::createAboutPage() { -/* TDEAboutData aboutData("kradio", +/* TDEAboutData aboutData("tderadio", NULL, NULL, I18N_NOOP("Standard Radio Display for TDERadio"), TDEAboutData::License_GPL, "(c) 2002-2005 Martin Witte, Klas Kalass", 0, - "http://sourceforge.net/projects/kradio", + "http://sourceforge.net/projects/tderadio", 0); aboutData.addAuthor("Martin Witte", "", "[email protected]"); aboutData.addAuthor("Klas Kalass", "", "[email protected]"); |