diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-04-13 00:46:47 +0000 |
commit | 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch) | |
tree | 5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /ktnef/lib/ktnefwriter.cpp | |
parent | 2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff) | |
download | tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip |
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4,
however Qt3 builds are OK. Any alterations this commit makes to kdepim
behaviour under Qt3 are unintentional and should be fixed.
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktnef/lib/ktnefwriter.cpp')
-rw-r--r-- | ktnef/lib/ktnefwriter.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ktnef/lib/ktnefwriter.cpp b/ktnef/lib/ktnefwriter.cpp index 3da4dc1e0..2264b15ec 100644 --- a/ktnef/lib/ktnefwriter.cpp +++ b/ktnef/lib/ktnefwriter.cpp @@ -100,7 +100,7 @@ TQ_UINT32 mergeTagAndType( TQ_UINT32 tag, TQ_UINT32 type ) { */ bool KTNEFWriter::writeProperty( TQDataStream &stream, int &bytes, int tag) { TQMap<int,KTNEFProperty*>& properties = mData->properties.properties(); - TQMap<int,KTNEFProperty*>::Iterator it = properties.find( tag ); + TQMap<int,KTNEFProperty*>::Iterator it = properties.tqfind( tag ); if ( it == properties.end() ) return false; @@ -179,7 +179,7 @@ bool KTNEFWriter::writeProperty( TQDataStream &stream, int &bytes, int tag) { case attSUBJECT: case attBODY: case attMSGID: - // QCString + // TQCString cs = property->value().toString().local8Bit(); addToChecksum( cs, checksum ); @@ -236,7 +236,7 @@ bool KTNEFWriter::writeProperty( TQDataStream &stream, int &bytes, int tag) { case attDATESENT: case attDATERECD: case attDATEMODIFIED: - // QDateTime + // TQDateTime dt = property->value().toDateTime(); time = dt.time(); date = dt.date(); @@ -287,7 +287,7 @@ bool KTNEFWriter::writeProperty( TQDataStream &stream, int &bytes, int tag) { addToChecksum( i, checksum ); // from reader: d->message_->addProperty( 0x0E07, MAPI_TYPE_ULONG, flag ); } - kdDebug() << "Message Status" << " (length=" << i2 << ")" << endl; + kdDebug() << "Message tqStatus" << " (length=" << i2 << ")" << endl; break; */ @@ -417,7 +417,7 @@ void KTNEFWriter::addAttendee( const TQString& /*cn*/, Role /*r*/, PartStat /*p* // I assume this is the same as the sender? // U also assume that this is like "Name <address>" void KTNEFWriter::setOrganizer( const TQString& organizer ) { - int i = organizer.find( '<' ); + int i = organizer.tqfind( '<' ); if ( i == -1 ) return; |