Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/6/head
Michele Calgaro 11 months ago
parent f806cb6335
commit eeecdda1a3
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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") ); m_logo_alt = TDEGlobal::config() -> readEntryUntranslated("alt_tag", i18n("KDE on Debian") );
connect(&m_process, TQT_SIGNAL(token(const TQString&, const TQString&)), connect(&m_process, TQ_SIGNAL(token(const TQString&, const TQString&)),
this, TQT_SLOT(token_dispatch(const TQString&, const TQString&))); this, TQ_SLOT(token_dispatch(const TQString&, const TQString&)));
m_adept_batch = new Dpkg(this); m_adept_batch = new Dpkg(this);
if (m_adept_batch) if (m_adept_batch)
{ {
connect(m_adept_batch, TQT_SIGNAL(token(const TQString&, const TQString&)), connect(m_adept_batch, TQ_SIGNAL(token(const TQString&, const TQString&)),
this, TQT_SLOT(token_dispatch(const TQString&, const TQString&))); this, TQ_SLOT(token_dispatch(const TQString&, const TQString&)));
} }
} }

@ -24,10 +24,10 @@
AptCache::AptCache() AptCache::AptCache()
{ {
connect(&m_process, TQT_SIGNAL(receivedStderr(TDEProcess*, char*, int)), connect(&m_process, TQ_SIGNAL(receivedStderr(TDEProcess*, char*, int)),
this, TQT_SLOT(receivedStdErr(TDEProcess*, char*, int ))); this, TQ_SLOT(receivedStdErr(TDEProcess*, char*, int )));
connect(&m_process, TQT_SIGNAL(receivedStdout(TDEProcess*, char*, int)), connect(&m_process, TQ_SIGNAL(receivedStdout(TDEProcess*, char*, int)),
this, TQT_SLOT(receivedStdOut(TDEProcess*, char*, int ))); this, TQ_SLOT(receivedStdOut(TDEProcess*, char*, int )));
} }
AptCache::~AptCache() {} AptCache::~AptCache() {}

@ -23,7 +23,7 @@
Dpkg::Dpkg(TQObject *parent, const char *name) Dpkg::Dpkg(TQObject *parent, const char *name)
: PackageManager(parent, 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() Dpkg::~Dpkg()

Loading…
Cancel
Save