summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:53:46 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-08 11:53:46 +0900
commitbdfef6a6135ba8ed60b549c457d478d02ec4a61e (patch)
treeef954876be6c0695da2c0f63d419118a4583e2bc
parentde72548ebe2464cc3b0eb7ac7f8a28bd93b40512 (diff)
downloadavahi-tqt-bdfef6a6135ba8ed60b549c457d478d02ec4a61e.tar.gz
avahi-tqt-bdfef6a6135ba8ed60b549c457d478d02ec4a61e.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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);
}