summaryrefslogtreecommitdiffstats
path: root/ktnef/lib/mapi.cpp
diff options
context:
space:
mode:
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;
}