summaryrefslogtreecommitdiffstats
path: root/ktnef/lib/mapi.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:53:50 +0000
commit7be55ffa061c026e35e2d6a0effe1161ddb0d41f (patch)
tree8474f9b444b2756228600050f07a7ff25de532b2 /ktnef/lib/mapi.cpp
parentf587f20a6d09f1729dd0a8c1cd8ee0110aec7451 (diff)
downloadtdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.tar.gz
tdepim-7be55ffa061c026e35e2d6a0effe1161ddb0d41f.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktnef/lib/mapi.cpp')
-rw-r--r--ktnef/lib/mapi.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/ktnef/lib/mapi.cpp b/ktnef/lib/mapi.cpp
index 8122153ce..bf84f1fd7 100644
--- a/ktnef/lib/mapi.cpp
+++ b/ktnef/lib/mapi.cpp
@@ -16,7 +16,7 @@
*/
#include "mapi.h"
-#include <qmap.h>
+#include <tqmap.h>
#include <klocale.h>
static struct
@@ -187,36 +187,36 @@ MAPI_NamedTagStrings[] =
{ 0x8560, I18N_NOOP( "Reminder Next Time" ) },
{ 0, 0 }
};
-static QMap<int,QString> MAPI_TagMap;
-static QMap<int,QString> MAPI_NamedTagMap;
+static TQMap<int,TQString> MAPI_TagMap;
+static TQMap<int,TQString> MAPI_NamedTagMap;
-QString mapiTagString( int key )
+TQString mapiTagString( int key )
{
if ( MAPI_TagMap.count() == 0 )
{
for ( int i=0; MAPI_TagStrings[ i ].str; i++ )
MAPI_TagMap[ MAPI_TagStrings[ i ].tag ] = i18n(MAPI_TagStrings[ i ].str);
}
- QMap<int,QString>::ConstIterator it = MAPI_TagMap.find( key );
+ TQMap<int,TQString>::ConstIterator it = MAPI_TagMap.find( key );
if ( it == MAPI_TagMap.end() )
- return QString().sprintf( "0x%04X", key );
+ return TQString().sprintf( "0x%04X", key );
else
- return QString().sprintf( "0x%04X ________: ", key ) + *it;
+ return TQString().sprintf( "0x%04X ________: ", key ) + *it;
}
-QString mapiNamedTagString( int key, int tag )
+TQString mapiNamedTagString( int key, int tag )
{
if ( MAPI_NamedTagMap.count() == 0 )
{
for ( int i=0; MAPI_NamedTagStrings[ i ].str; i++ )
MAPI_NamedTagMap[ MAPI_NamedTagStrings[ i ].tag ] = i18n(MAPI_NamedTagStrings[ i ].str);
}
- QMap<int,QString>::ConstIterator it = MAPI_NamedTagMap.find( key );
+ TQMap<int,TQString>::ConstIterator it = MAPI_NamedTagMap.find( key );
if ( it == MAPI_NamedTagMap.end() )
if ( tag >= 0 )
- return QString().sprintf( "0x%04X [0x%04X]: ", tag, key ) + *it;
+ return TQString().sprintf( "0x%04X [0x%04X]: ", tag, key ) + *it;
else
- return QString().sprintf( "0x%04X ________:", key ) + *it;
+ return TQString().sprintf( "0x%04X ________:", key ) + *it;
else
return *it;
}