diff options
author | Michele Calgaro <[email protected]> | 2024-01-06 12:15:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-09 10:09:36 +0900 |
commit | f334aae266c5fac7da99b0c1d014ea0e7cf28f22 (patch) | |
tree | 05e09011a90d81e61e4f9ac3908c79d6c65e53a6 | |
parent | d76aa3d00171b20432dcbf626953b96217969309 (diff) | |
download | tdeio-apt-f334aae266c5fac7da99b0c1d014ea0e7cf28f22.tar.gz tdeio-apt-f334aae266c5fac7da99b0c1d014ea0e7cf28f22.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit eeecdda1a3987158b7a9c3016c63dbc72347fe90)
-rw-r--r-- | src/apt.cpp | 8 | ||||
-rw-r--r-- | src/aptcache.cpp | 8 | ||||
-rw-r--r-- | src/dpkg.cpp | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/apt.cpp b/src/apt.cpp index b237a75..f81fbbe 100644 --- a/src/apt.cpp +++ b/src/apt.cpp @@ -236,15 +236,15 @@ AptProtocol::AptProtocol( const TQCString &pool_socket, const TQCString &app_soc m_logo_alt = TDEGlobal::config() -> readEntryUntranslated("alt_tag", i18n("KDE on Debian") ); - connect(&m_process, TQT_SIGNAL(token(const TQString&, const TQString&)), - this, TQT_SLOT(token_dispatch(const TQString&, const TQString&))); + connect(&m_process, TQ_SIGNAL(token(const TQString&, const TQString&)), + this, TQ_SLOT(token_dispatch(const TQString&, const TQString&))); m_adept_batch = new Dpkg(this); if (m_adept_batch) { - connect(m_adept_batch, TQT_SIGNAL(token(const TQString&, const TQString&)), - this, TQT_SLOT(token_dispatch(const TQString&, const TQString&))); + connect(m_adept_batch, TQ_SIGNAL(token(const TQString&, const TQString&)), + this, TQ_SLOT(token_dispatch(const TQString&, const TQString&))); } } diff --git a/src/aptcache.cpp b/src/aptcache.cpp index 8b2a57f..c7412c7 100644 --- a/src/aptcache.cpp +++ b/src/aptcache.cpp @@ -24,10 +24,10 @@ AptCache::AptCache() { - connect(&m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), - this, TQT_SLOT(receivedStdErr(TDEProcess*, char*, int ))); - connect(&m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), - this, TQT_SLOT(receivedStdOut(TDEProcess*, char*, int ))); + connect(&m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)), + this, TQ_SLOT(receivedStdErr(TDEProcess*, char*, int ))); + connect(&m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)), + this, TQ_SLOT(receivedStdOut(TDEProcess*, char*, int ))); } AptCache::~AptCache() {} diff --git a/src/dpkg.cpp b/src/dpkg.cpp index 7d9397b..22aeb4b 100644 --- a/src/dpkg.cpp +++ b/src/dpkg.cpp @@ -23,7 +23,7 @@ Dpkg::Dpkg(TQObject *parent, const char *name) : PackageManager(parent, name) { - connect(&m_process, TQT_SIGNAL(readReady (KProcIO *)), this, TQT_SLOT(readReady(KProcIO*))); + connect(&m_process, TQ_SIGNAL(readReady (KProcIO *)), this, TQ_SLOT(readReady(KProcIO*))); } Dpkg::~Dpkg() |