summaryrefslogtreecommitdiffstats
path: root/tdelirc/irkick
diff options
context:
space:
mode:
Diffstat (limited to 'tdelirc/irkick')
-rw-r--r--tdelirc/irkick/irkick.cpp20
-rw-r--r--tdelirc/irkick/tdelircclient.cpp4
2 files changed, 12 insertions, 12 deletions
diff --git a/tdelirc/irkick/irkick.cpp b/tdelirc/irkick/irkick.cpp
index 25a0c9f..cf4827a 100644
--- a/tdelirc/irkick/irkick.cpp
+++ b/tdelirc/irkick/irkick.cpp
@@ -60,23 +60,23 @@ IRKick::IRKick(const TQCString &obj) : TQObject(), DCOPObject(obj), npApp(TQStri
else
{ theTrayIcon->setPixmap(SmallIcon("irkickoff"));
TQToolTip::add(theTrayIcon, i18n("TDE Lirc Server: No infra-red remote controls found."));
- TQTimer::singleShot(10000, this, TQT_SLOT(checkLirc()));
+ TQTimer::singleShot(10000, this, TQ_SLOT(checkLirc()));
}
theFlashOff = new TQTimer(theTrayIcon);
- connect(theFlashOff, TQT_SIGNAL(timeout()), TQT_SLOT(flashOff()));
+ connect(theFlashOff, TQ_SIGNAL(timeout()), TQ_SLOT(flashOff()));
theResetCount = 0;
slotReloadConfiguration();
- connect(theClient, TQT_SIGNAL(connectionClosed()), this, TQT_SLOT(slotClosed()));
- connect(theClient, TQT_SIGNAL(remotesRead()), this, TQT_SLOT(resetModes()));
- connect(theClient, TQT_SIGNAL(commandReceived(const TQString &, const TQString &, int)), this, TQT_SLOT(gotMessage(const TQString &, const TQString &, int)));
+ connect(theClient, TQ_SIGNAL(connectionClosed()), this, TQ_SLOT(slotClosed()));
+ connect(theClient, TQ_SIGNAL(remotesRead()), this, TQ_SLOT(resetModes()));
+ connect(theClient, TQ_SIGNAL(commandReceived(const TQString &, const TQString &, int)), this, TQ_SLOT(gotMessage(const TQString &, const TQString &, int)));
theTrayIcon->contextMenu()->changeTitle(0, "IRKick");
- theTrayIcon->contextMenu()->insertItem(SmallIcon( "configure" ), i18n("&Configure..."), this, TQT_SLOT(slotConfigure()));
+ theTrayIcon->contextMenu()->insertItem(SmallIcon( "configure" ), i18n("&Configure..."), this, TQ_SLOT(slotConfigure()));
theTrayIcon->contextMenu()->insertSeparator();
theTrayIcon->contextMenu()->insertItem(SmallIcon( "help" ), KStdGuiItem::help().text(), (new KHelpMenu(theTrayIcon, TDEGlobal::instance()->aboutData()))->menu());
- theTrayIcon->actionCollection()->action("file_quit")->disconnect(TQT_SIGNAL(activated()));
- connect(theTrayIcon->actionCollection()->action("file_quit"), TQT_SIGNAL(activated()), TQT_SLOT(doQuit()));
+ theTrayIcon->actionCollection()->action("file_quit")->disconnect(TQ_SIGNAL(activated()));
+ connect(theTrayIcon->actionCollection()->action("file_quit"), TQ_SIGNAL(activated()), TQ_SLOT(doQuit()));
theTrayIcon->show();
}
@@ -92,7 +92,7 @@ void IRKick::slotClosed()
{
theTrayIcon->setPixmap(SmallIcon("irkickoff"));
KPassivePopup::message("IRKick", i18n("The infrared system has severed its connection. Remote controls are no longer available."), SmallIcon("irkick"), theTrayIcon);
- TQTimer::singleShot(1000, this, TQT_SLOT(checkLirc()));
+ TQTimer::singleShot(1000, this, TQ_SLOT(checkLirc()));
}
void IRKick::checkLirc()
@@ -103,7 +103,7 @@ void IRKick::checkLirc()
theTrayIcon->setPixmap(SmallIcon("irkick"));
}
else
- TQTimer::singleShot(10000, this, TQT_SLOT(checkLirc()));
+ TQTimer::singleShot(10000, this, TQ_SLOT(checkLirc()));
}
void IRKick::flashOff()
diff --git a/tdelirc/irkick/tdelircclient.cpp b/tdelirc/irkick/tdelircclient.cpp
index ee00c88..c70d39a 100644
--- a/tdelirc/irkick/tdelircclient.cpp
+++ b/tdelirc/irkick/tdelircclient.cpp
@@ -72,8 +72,8 @@ bool KLircClient::connectToLirc()
theSocket = new TQSocket;
theSocket->setSocket(sock);
- connect(theSocket, TQT_SIGNAL(readyRead()), TQT_SLOT(slotRead()));
- connect(theSocket, TQT_SIGNAL(connectionClosed()), TQT_SLOT(slotClosed()));
+ connect(theSocket, TQ_SIGNAL(readyRead()), TQ_SLOT(slotRead()));
+ connect(theSocket, TQ_SIGNAL(connectionClosed()), TQ_SLOT(slotClosed()));
updateRemotes();
return true;
}