From 3b3f9ec8f31978030c17309fae48335bea5c1587 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 14 Jan 2024 12:33:20 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- kmail/kmaccount.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kmail/kmaccount.cpp') diff --git a/kmail/kmaccount.cpp b/kmail/kmaccount.cpp index 825e0cef..a15def1f 100644 --- a/kmail/kmaccount.cpp +++ b/kmail/kmaccount.cpp @@ -51,8 +51,8 @@ KMPrecommand::KMPrecommand(const TQString &precommand, TQObject *parent) mPrecommandProcess.setUseShell(true); mPrecommandProcess << precommand; - connect(&mPrecommandProcess, TQT_SIGNAL(processExited(TDEProcess *)), - TQT_SLOT(precommandExited(TDEProcess *))); + connect(&mPrecommandProcess, TQ_SIGNAL(processExited(TDEProcess *)), + TQ_SLOT(precommandExited(TDEProcess *))); } //----------------------------------------------------------------------------- @@ -207,7 +207,7 @@ void KMAccount::sendReceipt(KMMessage* aMsg) KMMessage *newMsg = aMsg->createDeliveryReceipt(); if (newMsg) { mReceipts.append(newMsg); - TQTimer::singleShot( 0, this, TQT_SLOT( sendReceipts() ) ); + TQTimer::singleShot( 0, this, TQ_SLOT( sendReceipts() ) ); } } @@ -351,7 +351,7 @@ void KMAccount::installTimer() if(!mTimer) { mTimer = new TQTimer(0, "mTimer"); - connect(mTimer,TQT_SIGNAL(timeout()),TQT_SLOT(mailCheck())); + connect(mTimer,TQ_SIGNAL(timeout()),TQ_SLOT(mailCheck())); } else { @@ -380,8 +380,8 @@ bool KMAccount::runPrecommand(const TQString &precommand) BroadcastStatus::instance()->setStatusMsg( i18n("Executing precommand %1").arg(precommand )); - connect(&precommandProcess, TQT_SIGNAL(finished(bool)), - TQT_SLOT(precommandExited(bool))); + connect(&precommandProcess, TQ_SIGNAL(finished(bool)), + TQ_SLOT(precommandExited(bool))); kdDebug(5006) << "Running precommand " << precommand << endl; if (!precommandProcess.start()) return false; -- cgit v1.2.3