summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-01-08 11:53:46 +0900
committerMichele Calgaro <[email protected]>2024-01-10 09:57:55 +0900
commit5d56fcdfec3a13c623c217f9c85056c428747af5 (patch)
treeef954876be6c0695da2c0f63d419118a4583e2bc
parent571a0c032e83b48b8393a3c38ac06b54bc13eb27 (diff)
downloadavahi-tqt-5d56fcdfec3a13c623c217f9c85056c428747af5.tar.gz
avahi-tqt-5d56fcdfec3a13c623c217f9c85056c428747af5.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit bdfef6a6135ba8ed60b549c457d478d02ec4a61e)
-rw-r--r--avahi-tqt/qt-watch.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/avahi-tqt/qt-watch.cpp b/avahi-tqt/qt-watch.cpp
index ec5d233..19d7964 100644
--- a/avahi-tqt/qt-watch.cpp
+++ b/avahi-tqt/qt-watch.cpp
@@ -98,18 +98,18 @@ void AvahiWatch::setWatchedEvents(AvahiWatchEvent event)
if (!(event & AVAHI_WATCH_OUT)) { delete m_out; m_out=0; }
if (event & AVAHI_WATCH_IN) {
m_in = new TQSocketNotifier(m_fd,TQSocketNotifier::Read, this);
- connect(m_in,TQT_SIGNAL(activated(int)),TQT_SLOT(gotIn()));
+ connect(m_in,TQ_SIGNAL(activated(int)),TQ_SLOT(gotIn()));
}
if (event & AVAHI_WATCH_OUT) {
m_out = new TQSocketNotifier(m_fd,TQSocketNotifier::Write, this);
- connect(m_out,TQT_SIGNAL(activated(int)),TQT_SLOT(gotOut()));
+ connect(m_out,TQ_SIGNAL(activated(int)),TQ_SLOT(gotOut()));
}
}
AvahiTimeout::AvahiTimeout(const struct timeval* tv, AvahiTimeoutCallback callback, void *userdata) :
m_callback(callback), m_userdata(userdata)
{
- connect(&m_timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(timeout()));
+ connect(&m_timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()));
update(tv);
}