summaryrefslogtreecommitdiffstats
path: root/kradio3/plugins/lirc
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:04:07 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:04:07 -0600
commita1e6ce502c334194d31a0b78b11b77e9532da64b (patch)
treeaf926bf79ece44ee312952d3d896a1da440daf83 /kradio3/plugins/lirc
parentb69d61089748af635b869896140531ad906433d8 (diff)
downloadtderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.tar.gz
tderadio-a1e6ce502c334194d31a0b78b11b77e9532da64b.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kradio3/plugins/lirc')
-rw-r--r--kradio3/plugins/lirc/lirc-configuration-ui.ui2
-rw-r--r--kradio3/plugins/lirc/lirc-configuration.cpp2
-rw-r--r--kradio3/plugins/lirc/lircsupport.cpp6
-rw-r--r--kradio3/plugins/lirc/listviewitem_lirc.cpp8
-rw-r--r--kradio3/plugins/lirc/listviewitem_lirc.h2
-rw-r--r--kradio3/plugins/lirc/po/de.po14
-rw-r--r--kradio3/plugins/lirc/po/ru.po12
7 files changed, 23 insertions, 23 deletions
diff --git a/kradio3/plugins/lirc/lirc-configuration-ui.ui b/kradio3/plugins/lirc/lirc-configuration-ui.ui
index 56b39de..b648265 100644
--- a/kradio3/plugins/lirc/lirc-configuration-ui.ui
+++ b/kradio3/plugins/lirc/lirc-configuration-ui.ui
@@ -20,7 +20,7 @@
<property name="name">
<cstring>unnamed</cstring>
</property>
- <widget class="KListView" row="0" column="0">
+ <widget class="TDEListView" row="0" column="0">
<column>
<property name="text">
<string>Action</string>
diff --git a/kradio3/plugins/lirc/lirc-configuration.cpp b/kradio3/plugins/lirc/lirc-configuration.cpp
index a51625b..8e39846 100644
--- a/kradio3/plugins/lirc/lirc-configuration.cpp
+++ b/kradio3/plugins/lirc/lirc-configuration.cpp
@@ -53,7 +53,7 @@ LIRCConfiguration::LIRCConfiguration (TQWidget *parent, LircSupport *dev)
m_descriptions[LIRC_SEARCH_NEXT] = i18n("Search Next Channel");
m_descriptions[LIRC_SEARCH_PREV] = i18n("Search Previous Channel");
m_descriptions[LIRC_SLEEP] = i18n("Enable Sleep Countdown");
- m_descriptions[LIRC_APPLICATION_QUIT] = i18n("Quit KRadio");
+ m_descriptions[LIRC_APPLICATION_QUIT] = i18n("Quit TDERadio");
int k = 0;
m_order[k++] = LIRC_DIGIT_0;
diff --git a/kradio3/plugins/lirc/lircsupport.cpp b/kradio3/plugins/lirc/lircsupport.cpp
index 0116175..dcafb7f 100644
--- a/kradio3/plugins/lirc/lircsupport.cpp
+++ b/kradio3/plugins/lirc/lircsupport.cpp
@@ -64,7 +64,7 @@ LircSupport::LircSupport(const TQString &name)
TQFile lircrc(slircrc);
if (!lircrc.exists()) {
- logWarning(i18n("%1 does not exist. File was created with KRadio's default .lircrc proposal").arg(LIRCRC));
+ 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"));
lircrc.open(IO_WriteOnly);
default_lircrc.open(IO_ReadOnly);
@@ -339,7 +339,7 @@ AboutPageInfo LircSupport::createAboutPage()
/* TDEAboutData aboutData("kradio",
NULL,
NULL,
- I18N_NOOP("Linux Infrared Remote Control Support for KRadio"),
+ I18N_NOOP("Linux Infrared Remote Control Support for TDERadio"),
TDEAboutData::License_GPL,
"(c) 2002-2005 Martin Witte",
0,
@@ -348,7 +348,7 @@ AboutPageInfo LircSupport::createAboutPage()
aboutData.addAuthor("Martin Witte", "", "[email protected]");
return AboutPageInfo(
- new KRadioAboutWidget(aboutData, KRadioAboutWidget::AbtTabbed),
+ new TDERadioAboutWidget(aboutData, TDERadioAboutWidget::AbtTabbed),
i18n("LIRC Support"),
i18n("LIRC Plugin"),
"connect_creating"
diff --git a/kradio3/plugins/lirc/listviewitem_lirc.cpp b/kradio3/plugins/lirc/listviewitem_lirc.cpp
index 8735916..20976c5 100644
--- a/kradio3/plugins/lirc/listviewitem_lirc.cpp
+++ b/kradio3/plugins/lirc/listviewitem_lirc.cpp
@@ -18,7 +18,7 @@
#include "listviewitem_lirc.h"
ListViewItemLirc::ListViewItemLirc(TQListView *parent, TQListViewItem *after)
- : KListViewItem(parent, after),
+ : TDEListViewItem(parent, after),
m_renamingInProcess(-1)
{
}
@@ -29,21 +29,21 @@ ListViewItemLirc::~ListViewItemLirc()
void ListViewItemLirc::startRename(int col)
{
- KListViewItem::startRename(col);
+ TDEListViewItem::startRename(col);
m_renamingInProcess = col;
emit sigRenamingStarted(this, col);
}
void ListViewItemLirc::okRename(int col)
{
- KListViewItem::okRename(col);
+ TDEListViewItem::okRename(col);
m_renamingInProcess = -1;
emit sigRenamingStopped(this, col);
}
void ListViewItemLirc::cancelRename(int col)
{
- KListViewItem::cancelRename(col);
+ TDEListViewItem::cancelRename(col);
m_renamingInProcess = -1;
emit sigRenamingStopped(this, col);
}
diff --git a/kradio3/plugins/lirc/listviewitem_lirc.h b/kradio3/plugins/lirc/listviewitem_lirc.h
index 64207ac..945ce5f 100644
--- a/kradio3/plugins/lirc/listviewitem_lirc.h
+++ b/kradio3/plugins/lirc/listviewitem_lirc.h
@@ -24,7 +24,7 @@
#include <klistview.h>
-class ListViewItemLirc : public TQObject, public KListViewItem
+class ListViewItemLirc : public TQObject, public TDEListViewItem
{
Q_OBJECT
diff --git a/kradio3/plugins/lirc/po/de.po b/kradio3/plugins/lirc/po/de.po
index 1521094..d2d5f9a 100644
--- a/kradio3/plugins/lirc/po/de.po
+++ b/kradio3/plugins/lirc/po/de.po
@@ -150,8 +150,8 @@ msgid "Enable Sleep Countdown"
msgstr "Schlummer-Countdown aktivieren"
#: lirc-configuration.cpp:56
-msgid "Quit KRadio"
-msgstr "KRadio Beenden"
+msgid "Quit TDERadio"
+msgstr "TDERadio Beenden"
#: lirc-configuration.cpp:176
msgid ""
@@ -179,14 +179,14 @@ msgstr "initialisiere das Plugin für die Fernsteuerung (LIRC)"
#: lircsupport.cpp:65
msgid ""
-"%1 does not exist. File was created with KRadio's default .lircrc proposal"
+"%1 does not exist. File was created with TDERadio's default .lircrc proposal"
msgstr ""
"Die Datei %1 existiert nicht. Die Datei wurde mit den Defaulteinstellungen "
-"für KRadio erzeugt."
+"für TDERadio erzeugt."
#: lircsupport.cpp:94
msgid "There is no entry for kradio in any of your .lircrc files."
-msgstr "Es gibt keinen Eintrag für KRadio in jeglichen .lirc-Dateien"
+msgstr "Es gibt keinen Eintrag für TDERadio in jeglichen .lirc-Dateien"
#: lircsupport.cpp:95
msgid "Please setup your .lircrc files correctly."
@@ -194,7 +194,7 @@ msgstr "Bitte konfigurieren Sie Ihre .lirc-Dateien richtig."
#: lircsupport.cpp:106 lircsupport.cpp:107
msgid "Initializing kradio lirc plugin failed"
-msgstr "Die Initialisierung des KRadio LIRC Plugins schlug fehl"
+msgstr "Die Initialisierung des TDERadio LIRC Plugins schlug fehl"
#: lircsupport.cpp:109 lircsupport.cpp:110
msgid "Initializing kradio lirc plugin successful"
@@ -206,7 +206,7 @@ msgid ""
"kradio"
msgstr ""
"Das Lesen vom LIRC-Socket ist fehlgeschlagen. Die LIRC-Funktion wird bis zum "
-"nächsten Start von KRadio temporär abgeschaltet."
+"nächsten Start von TDERadio temporär abgeschaltet."
#: lircsupport.cpp:329
msgid "LIRC Support"
diff --git a/kradio3/plugins/lirc/po/ru.po b/kradio3/plugins/lirc/po/ru.po
index 54edb74..3ac8f5b 100644
--- a/kradio3/plugins/lirc/po/ru.po
+++ b/kradio3/plugins/lirc/po/ru.po
@@ -150,8 +150,8 @@ msgid "Enable Sleep Countdown"
msgstr "Включить таймер отключения"
#: lirc-configuration.cpp:56
-msgid "Quit KRadio"
-msgstr "Закрыть KRadio"
+msgid "Quit TDERadio"
+msgstr "Закрыть TDERadio"
#: lirc-configuration.cpp:176
msgid ""
@@ -177,12 +177,12 @@ msgstr "Инициализация модуля LIRC"
#: lircsupport.cpp:65
msgid ""
-"%1 does not exist. File was created with KRadio's default .lircrc proposal"
-msgstr "%1 не существует. Был создан файл .lircrc для KRadio по умолчанию"
+"%1 does not exist. File was created with TDERadio's default .lircrc proposal"
+msgstr "%1 не существует. Был создан файл .lircrc для TDERadio по умолчанию"
#: lircsupport.cpp:94
msgid "There is no entry for kradio in any of your .lircrc files."
-msgstr "Ни в одном из ваших файлов .lircrc нет упоминания о KRadio."
+msgstr "Ни в одном из ваших файлов .lircrc нет упоминания о TDERadio."
#: lircsupport.cpp:95
msgid "Please setup your .lircrc files correctly."
@@ -202,7 +202,7 @@ msgid ""
"kradio"
msgstr ""
"Чтение из сокета LIRC не удалось. Отключаю функции LIRC до следующего "
-"запуска KRadio."
+"запуска TDERadio."
#: lircsupport.cpp:329
msgid "LIRC Support"