diff options
Diffstat (limited to 'kmail/kmfolderindex.cpp')
-rw-r--r-- | kmail/kmfolderindex.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kmail/kmfolderindex.cpp b/kmail/kmfolderindex.cpp index 95746ed18..a6b7f2ce3 100644 --- a/kmail/kmfolderindex.cpp +++ b/kmail/kmfolderindex.cpp @@ -151,10 +151,10 @@ int KMFolderIndex::writeIndex( bool createEmptyIndex ) fprintf(tmpIndexStream, "# KMail-Index V%d\n", INDEX_VERSION); // Header - Q_UINT32 byteOrder = 0x12345678; - Q_UINT32 sizeOfLong = sizeof(long); + TQ_UINT32 byteOrder = 0x12345678; + TQ_UINT32 sizeOfLong = sizeof(long); - Q_UINT32 header_length = sizeof(byteOrder)+sizeof(sizeOfLong); + TQ_UINT32 header_length = sizeof(byteOrder)+sizeof(sizeOfLong); char pad_char = '\0'; fwrite(&pad_char, sizeof(pad_char), 1, tmpIndexStream); fwrite(&header_length, sizeof(header_length), 1, tmpIndexStream); @@ -220,7 +220,7 @@ bool KMFolderIndex::readIndex() if ( contentsType() != KMail::ContentsTypeMail ) { kdDebug(5006) << k_funcinfo << "Reading index for " << label() << endl; } - Q_INT32 len; + TQ_INT32 len; KMMsgInfo* mi; assert(mIndexStream != 0); @@ -288,7 +288,7 @@ bool KMFolderIndex::readIndex() #ifdef OBSOLETE else if (mi->isNew()) { - mi->setStatus(KMMsgStatusUnread); + mi->seStatus(KMMsgStatusUnread); mi->setDirty(false); } #endif @@ -377,10 +377,10 @@ bool KMFolderIndex::readIndexHeader(int *gv) } else { // Header - Q_UINT32 byteOrder = 0; - Q_UINT32 sizeOfLong = sizeof(long); // default + TQ_UINT32 byteOrder = 0; + TQ_UINT32 sizeOfLong = sizeof(long); // default - Q_UINT32 header_length = 0; + TQ_UINT32 header_length = 0; fseek(mIndexStream, sizeof(char), SEEK_CUR ); fread(&header_length, sizeof(header_length), 1, mIndexStream); if (header_length > 0xFFFF) @@ -562,10 +562,10 @@ void KMFolderIndex::updateInvitationAndAddressFieldsFromContents() msg.fromDwString( msgString, false ); msg.updateInvitationState(); if ( msg.status() & KMMsgStatusHasInvitation ) { - msgInfo->setStatus( msgInfo->status() | KMMsgStatusHasInvitation ); + msgInfo->seStatus( msgInfo->status() | KMMsgStatusHasInvitation ); } if ( msg.status() & KMMsgStatusHasNoInvitation ) { - msgInfo->setStatus( msgInfo->status() | KMMsgStatusHasNoInvitation ); + msgInfo->seStatus( msgInfo->status() | KMMsgStatusHasNoInvitation ); } msgInfo->setFrom( msg.from() ); msgInfo->setTo( msg.to() ); |