Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 3828b7eb44)
r14.1.x
Michele Calgaro 11 months ago
parent fa044ab0be
commit 2ddf00f4c8
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -173,7 +173,7 @@ KDialogD::KDialogD(TQObject *parent)
theirConfig=new TDEConfig("kdialogdrc", false, false); theirConfig=new TDEConfig("kdialogdrc", false, false);
connect(new TQSocketNotifier(itsFd, TQSocketNotifier::Read, this), connect(new TQSocketNotifier(itsFd, TQSocketNotifier::Read, this),
TQT_SIGNAL(activated(int)), this, TQT_SLOT(newConnection())); TQ_SIGNAL(activated(int)), this, TQ_SLOT(newConnection()));
#ifdef KDIALOGD_APP #ifdef KDIALOGD_APP
if(theirConfig->hasGroup(CFG_TIMEOUT_GROUP)) if(theirConfig->hasGroup(CFG_TIMEOUT_GROUP))
@ -187,7 +187,7 @@ KDialogD::KDialogD(TQObject *parent)
kdDebug() << "Timeout:" << itsTimeoutVal << endl; kdDebug() << "Timeout:" << itsTimeoutVal << endl;
if(itsTimeoutVal) if(itsTimeoutVal)
connect(itsTimer=new TQTimer(this), TQT_SIGNAL(timeout()), this, TQT_SLOT(timeout())); connect(itsTimer=new TQTimer(this), TQ_SIGNAL(timeout()), this, TQ_SLOT(timeout()));
#endif #endif
} }
} }
@ -234,8 +234,8 @@ void KDialogD::newConnection()
itsTimer->stop(); itsTimer->stop();
#endif #endif
connect(new KDialogDClient(connectedFD, appName, this), connect(new KDialogDClient(connectedFD, appName, this),
TQT_SIGNAL(error(KDialogDClient *)), TQ_SIGNAL(error(KDialogDClient *)),
this, TQT_SLOT(deleteConnection(KDialogDClient *))); this, TQ_SLOT(deleteConnection(KDialogDClient *)));
} }
} }
} }
@ -280,8 +280,8 @@ KDialogDClient::KDialogDClient(int sock, const TQString &an, TQObject *parent)
itsAppName(an) itsAppName(an)
{ {
kdDebug() << "new client..." << itsAppName << " (" << itsFd << ")" << endl; kdDebug() << "new client..." << itsAppName << " (" << itsFd << ")" << endl;
connect(new TQSocketNotifier(itsFd, TQSocketNotifier::Read, this), TQT_SIGNAL(activated(int)), this, TQT_SLOT(read())); connect(new TQSocketNotifier(itsFd, TQSocketNotifier::Read, this), TQ_SIGNAL(activated(int)), this, TQ_SLOT(read()));
connect(new TQSocketNotifier(itsFd, TQSocketNotifier::Exception, this), TQT_SIGNAL(activated(int)), this, TQT_SLOT(close())); connect(new TQSocketNotifier(itsFd, TQSocketNotifier::Exception, this), TQ_SIGNAL(activated(int)), this, TQ_SLOT(close()));
} }
KDialogDClient::~KDialogDClient() KDialogDClient::~KDialogDClient()
@ -505,8 +505,8 @@ void KDialogDClient::initDialog(const TQString &caption, KDialogBase *d, unsigne
#endif #endif
} }
connect(itsDlg, TQT_SIGNAL(ok(const TQStringList &)), this, TQT_SLOT(ok(const TQStringList &))); connect(itsDlg, TQ_SIGNAL(ok(const TQStringList &)), this, TQ_SLOT(ok(const TQStringList &)));
connect(itsDlg, TQT_SIGNAL(finished()), this, TQT_SLOT(finished())); connect(itsDlg, TQ_SIGNAL(finished()), this, TQ_SLOT(finished()));
itsDlg->show(); itsDlg->show();
} }

Loading…
Cancel
Save