summaryrefslogtreecommitdiffstats
path: root/kmail/folderstorage.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-14 12:33:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-16 19:01:53 +0900
commitb0f8eef013163b2098c2bb07e93cb9b194338b80 (patch)
treec35221250699030822f3c616b393f77e1ce47036 /kmail/folderstorage.cpp
parentc2138cbe92142437d50f2e6cec6f8909da959234 (diff)
downloadtdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.tar.gz
tdepim-b0f8eef013163b2098c2bb07e93cb9b194338b80.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3b3f9ec8f31978030c17309fae48335bea5c1587)
Diffstat (limited to 'kmail/folderstorage.cpp')
-rw-r--r--kmail/folderstorage.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kmail/folderstorage.cpp b/kmail/folderstorage.cpp
index f6d1a358..f9605df3 100644
--- a/kmail/folderstorage.cpp
+++ b/kmail/folderstorage.cpp
@@ -80,20 +80,20 @@ FolderStorage::FolderStorage( KMFolder* folder, const char* aName )
mNoChildren = false;
mRDict = 0;
mDirtyTimer = new TQTimer(this, "mDirtyTimer");
- connect(mDirtyTimer, TQT_SIGNAL(timeout()),
- this, TQT_SLOT(updateIndex()));
+ connect(mDirtyTimer, TQ_SIGNAL(timeout()),
+ this, TQ_SLOT(updateIndex()));
mHasChildren = HasNoChildren;
mContentsType = KMail::ContentsTypeMail;
- connect(this, TQT_SIGNAL(closed(KMFolder*)), mFolder, TQT_SIGNAL(closed()));
+ connect(this, TQ_SIGNAL(closed(KMFolder*)), mFolder, TQ_SIGNAL(closed()));
}
//-----------------------------------------------------------------------------
FolderStorage::~FolderStorage()
{
mJobList.setAutoDelete( true );
- TQObject::disconnect( TQT_SIGNAL(destroyed(TQObject*)), this, 0 );
+ TQObject::disconnect( TQ_SIGNAL(destroyed(TQObject*)), this, 0 );
mJobList.clear();
KMMsgDict::deleteRentry(mRDict);
}
@@ -118,8 +118,8 @@ TQString FolderStorage::dotEscape(const TQString& aStr)
void FolderStorage::addJob( FolderJob* job ) const
{
- TQObject::connect( job, TQT_SIGNAL(destroyed(TQObject*)),
- TQT_SLOT(removeJob(TQObject*)) );
+ TQObject::connect( job, TQ_SIGNAL(destroyed(TQObject*)),
+ TQ_SLOT(removeJob(TQObject*)) );
mJobList.append( job );
}
@@ -212,8 +212,8 @@ void FolderStorage::quiet(bool beQuiet)
*/
if ( !mEmitChangedTimer) {
mEmitChangedTimer= new TQTimer( this, "mEmitChangedTimer" );
- connect( mEmitChangedTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotEmitChangedTimer() ) );
+ connect( mEmitChangedTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotEmitChangedTimer() ) );
}
mQuiet++;
} else {
@@ -309,8 +309,8 @@ bool FolderStorage::canAddMsgNow(KMMessage* aMsg, int* aIndex_ret)
if (!aMsg->isComplete() && msgParent && msgParent->folderType() == KMFolderTypeImap)
{
FolderJob *job = msgParent->createJob(aMsg);
- connect(job, TQT_SIGNAL(messageRetrieved(KMMessage*)),
- TQT_SLOT(reallyAddMsg(KMMessage*)));
+ connect(job, TQ_SIGNAL(messageRetrieved(KMMessage*)),
+ TQ_SLOT(reallyAddMsg(KMMessage*)));
job->start();
aMsg->setTransferInProgress( true );
return false;
@@ -1147,7 +1147,7 @@ void FolderStorage::slotProcessNextSearchBatch()
bool complete = ( end >= count() );
emit searchResult( folder(), matchingSerNums, mSearchPattern, complete );
if ( !complete )
- TQTimer::singleShot( 0, this, TQT_SLOT(slotProcessNextSearchBatch()) );
+ TQTimer::singleShot( 0, this, TQ_SLOT(slotProcessNextSearchBatch()) );
}
//-----------------------------------------------------------------------------