summaryrefslogtreecommitdiffstats
path: root/plugins/lirc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-02 11:38:29 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-05 17:30:01 +0900
commit9c57237885c152de17e98d12227a706a158708d0 (patch)
tree4a0e5ac5fb306e1e4b8ddb5436ca595722be17ae /plugins/lirc
parent3dbd1166c53e8db554a4b6c8b67e7d91a78aab00 (diff)
downloadtderadio-9c57237885c152de17e98d12227a706a158708d0.tar.gz
tderadio-9c57237885c152de17e98d12227a706a158708d0.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 269551cf8e80ed83b626bb793f0f9f15b5f2809c)
Diffstat (limited to 'plugins/lirc')
-rw-r--r--plugins/lirc/lirc-configuration.cpp10
-rw-r--r--plugins/lirc/lircsupport.cpp10
2 files changed, 10 insertions, 10 deletions
diff --git a/plugins/lirc/lirc-configuration.cpp b/plugins/lirc/lirc-configuration.cpp
index 470b2ff..c0f00d4 100644
--- a/plugins/lirc/lirc-configuration.cpp
+++ b/plugins/lirc/lirc-configuration.cpp
@@ -85,7 +85,7 @@ LIRCConfiguration::LIRCConfiguration (TQWidget *parent, LircSupport *dev)
m_ActionList->setColumnWidthMode(1, TQListView::Maximum);
m_ActionList->setColumnWidthMode(2, TQListView::Maximum);
- connect(m_ActionList, TQT_SIGNAL(itemRenamed(TQListViewItem*, int)), this, TQT_SLOT(slotSetDirty()));
+ connect(m_ActionList, TQ_SIGNAL(itemRenamed(TQListViewItem*, int)), this, TQ_SLOT(slotSetDirty()));
slotCancel();
}
@@ -140,10 +140,10 @@ void LIRCConfiguration::addKey(const TQString &descr, const TQString &key, const
{
ListViewItemLirc *item = new ListViewItemLirc(m_ActionList, m_ActionList->lastChild());
if (item) {
- TQObject::connect(item, TQT_SIGNAL(sigRenamingStarted (ListViewItemLirc *, int)),
- this, TQT_SLOT (slotRenamingStarted(ListViewItemLirc *, int)));
- TQObject::connect(item, TQT_SIGNAL(sigRenamingStopped (ListViewItemLirc *, int)),
- this, TQT_SLOT (slotRenamingStopped(ListViewItemLirc *, int)));
+ TQObject::connect(item, TQ_SIGNAL(sigRenamingStarted (ListViewItemLirc *, int)),
+ this, TQ_SLOT (slotRenamingStarted(ListViewItemLirc *, int)));
+ TQObject::connect(item, TQ_SIGNAL(sigRenamingStopped (ListViewItemLirc *, int)),
+ this, TQ_SLOT (slotRenamingStopped(ListViewItemLirc *, int)));
item->setText(0, descr);
item->setText(1, key);
item->setText(2, alt_key);
diff --git a/plugins/lirc/lircsupport.cpp b/plugins/lirc/lircsupport.cpp
index adb4bb1..0c74b86 100644
--- a/plugins/lirc/lircsupport.cpp
+++ b/plugins/lirc/lircsupport.cpp
@@ -79,7 +79,7 @@ LircSupport::LircSupport(const TQString &name)
if (lirc_readconfig (NULL, &m_lircConfig, NULL) == 0) {
m_lirc_notify = new TQSocketNotifier(m_fd_lirc, TQSocketNotifier::Read, this, "lirc_notifier");
if (m_lirc_notify)
- TQObject::connect(m_lirc_notify, TQT_SIGNAL(activated(int)), this, TQT_SLOT(slotLIRC(int)));
+ TQObject::connect(m_lirc_notify, TQ_SIGNAL(activated(int)), this, TQ_SLOT(slotLIRC(int)));
// check config
lirc_config_entry *found = NULL;
@@ -108,7 +108,7 @@ LircSupport::LircSupport(const TQString &name)
}
m_kbdTimer = new TQTimer (this);
- TQObject::connect (m_kbdTimer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotKbdTimedOut()));
+ TQObject::connect (m_kbdTimer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotKbdTimedOut()));
m_addIndex = 0;
}
@@ -314,9 +314,9 @@ void LircSupport::restoreState (TDEConfig *c)
ConfigPageInfo LircSupport::createConfigurationPage()
{
LIRCConfiguration *conf = new LIRCConfiguration(NULL, this);
- TQObject::connect(this, TQT_SIGNAL(sigUpdateConfig()), conf, TQT_SLOT(slotUpdateConfig()));
- TQObject::connect(this, TQT_SIGNAL(sigRawLIRCSignal(const TQString &, int, bool &)),
- conf, TQT_SLOT (slotRawLIRCSignal(const TQString &, int, bool &)));
+ TQObject::connect(this, TQ_SIGNAL(sigUpdateConfig()), conf, TQ_SLOT(slotUpdateConfig()));
+ TQObject::connect(this, TQ_SIGNAL(sigRawLIRCSignal(const TQString &, int, bool &)),
+ conf, TQ_SLOT (slotRawLIRCSignal(const TQString &, int, bool &)));
return ConfigPageInfo (conf,
i18n("LIRC Support"),
i18n("LIRC Plugin"),