diff options
Diffstat (limited to 'tderadio3/plugins/lirc/lircsupport.cpp')
-rw-r--r-- | tderadio3/plugins/lirc/lircsupport.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/tderadio3/plugins/lirc/lircsupport.cpp b/tderadio3/plugins/lirc/lircsupport.cpp index dcafb7f..f6264c6 100644 --- a/tderadio3/plugins/lirc/lircsupport.cpp +++ b/tderadio3/plugins/lirc/lircsupport.cpp @@ -44,7 +44,7 @@ //// plugin library functions //#ifdef HAVE_LIRC -PLUGIN_LIBRARY_FUNCTIONS(LircSupport, "kradio-lirc", i18n("Linux Infrared Control (LIRC) Support")); +PLUGIN_LIBRARY_FUNCTIONS(LircSupport, "tderadio-lirc", i18n("Linux Infrared Control (LIRC) Support")); //#endif ///////////////////////////////////////////////////////////////////////////// @@ -55,9 +55,9 @@ LircSupport::LircSupport(const TQString &name) { #ifdef HAVE_LIRC - logDebug(i18n("initializing kradio lirc plugin")); - fprintf (stderr, "%s\n", (const char*)i18n("initializing kradio lirc plugin").utf8()); - char *prg = (char*)"kradio"; + logDebug(i18n("initializing tderadio lirc plugin")); + fprintf (stderr, "%s\n", (const char*)i18n("initializing tderadio lirc plugin").utf8()); + char *prg = (char*)"tderadio"; TQString slircrc = getenv("HOME"); slircrc += "/" LIRCRC; @@ -65,7 +65,7 @@ LircSupport::LircSupport(const TQString &name) TQFile lircrc(slircrc); if (!lircrc.exists()) { logWarning(i18n("%1 does not exist. File was created with TDERadio's default .lircrc proposal").arg(LIRCRC)); - TQFile default_lircrc(locate("data", "kradio/default-dot-lircrc")); + TQFile default_lircrc(locate("data", "tderadio/default-dot-lircrc")); lircrc.open(IO_WriteOnly); default_lircrc.open(IO_ReadOnly); char *buf = new char [default_lircrc.size() + 1]; @@ -93,7 +93,7 @@ LircSupport::LircSupport(const TQString &name) found = e; } if (!found) { - logWarning(i18n("There is no entry for kradio in any of your .lircrc files.")); + logWarning(i18n("There is no entry for tderadio in any of your .lircrc files.")); logWarning(i18n("Please setup your .lircrc files correctly.")); m_TakeRawLIRC = true; } @@ -105,11 +105,11 @@ LircSupport::LircSupport(const TQString &name) } if (m_fd_lirc == -1) { - logWarning(i18n("Initializing kradio lirc plugin failed")); - fprintf (stderr, "%s\n", (const char*)i18n("Initializing kradio lirc plugin failed").utf8()); + logWarning(i18n("Initializing tderadio lirc plugin failed")); + fprintf (stderr, "%s\n", (const char*)i18n("Initializing tderadio lirc plugin failed").utf8()); } else { - logDebug(i18n("Initializing kradio lirc plugin successful")); - fprintf (stderr, "%s\n", (const char*)i18n("Initializing kradio lirc plugin successful").utf8()); + logDebug(i18n("Initializing tderadio lirc plugin successful")); + fprintf (stderr, "%s\n", (const char*)i18n("Initializing tderadio lirc plugin successful").utf8()); } #endif @@ -166,7 +166,7 @@ void LircSupport::slotLIRC(int /*socket*/ ) } else { // some error has occurred on the socket => close lirc plugin - logWarning(i18n("Reading from LIRC socket failed. Disabling LIRC Functions till next start of kradio")); + logWarning(i18n("Reading from LIRC socket failed. Disabling LIRC Functions till next start of tderadio")); delete m_lirc_notify; m_lirc_notify = NULL; } @@ -336,14 +336,14 @@ ConfigPageInfo LircSupport::createConfigurationPage() AboutPageInfo LircSupport::createAboutPage() { -/* TDEAboutData aboutData("kradio", +/* TDEAboutData aboutData("tderadio", NULL, NULL, I18N_NOOP("Linux Infrared Remote Control Support for TDERadio"), TDEAboutData::License_GPL, "(c) 2002-2005 Martin Witte", 0, - "http://sourceforge.net/projects/kradio", + "http://sourceforge.net/projects/tderadio", 0); aboutData.addAuthor("Martin Witte", "", "[email protected]"); |