From bdfef6a6135ba8ed60b549c457d478d02ec4a61e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 8 Jan 2024 11:53:46 +0900 Subject: [PATCH] Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- avahi-tqt/qt-watch.cpp | 6 +++--- 1 file 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); }