summaryrefslogtreecommitdiffstats
path: root/ktnef/lib/ktnefmessage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ktnef/lib/ktnefmessage.cpp')
-rw-r--r--ktnef/lib/ktnefmessage.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/ktnef/lib/ktnefmessage.cpp b/ktnef/lib/ktnefmessage.cpp
index d94efb6c4..8f2648c3a 100644
--- a/ktnef/lib/ktnefmessage.cpp
+++ b/ktnef/lib/ktnefmessage.cpp
@@ -19,7 +19,7 @@
#include "ktnef/ktnefattach.h"
#include "lzfu.h"
-#include <qbuffer.h>
+#include <tqbuffer.h>
class KTNEFMessage::MessagePrivate
{
@@ -29,7 +29,7 @@ public:
attachments_.setAutoDelete( true );
}
- QPtrList<KTNEFAttach> attachments_;
+ TQPtrList<KTNEFAttach> attachments_;
};
KTNEFMessage::KTNEFMessage()
@@ -42,14 +42,14 @@ KTNEFMessage::~KTNEFMessage()
delete d;
}
-const QPtrList<KTNEFAttach>& KTNEFMessage::attachmentList() const
+const TQPtrList<KTNEFAttach>& KTNEFMessage::attachmentList() const
{
return d->attachments_;
}
-KTNEFAttach* KTNEFMessage::attachment( const QString& filename ) const
+KTNEFAttach* KTNEFMessage::attachment( const TQString& filename ) const
{
- QPtrListIterator<KTNEFAttach> it( d->attachments_ );
+ TQPtrListIterator<KTNEFAttach> it( d->attachments_ );
for ( ; it.current(); ++it )
if ( it.current()->name() == filename )
return it.current();
@@ -66,17 +66,17 @@ void KTNEFMessage::clearAttachments()
d->attachments_.clear();
}
-QString KTNEFMessage::rtfString()
+TQString KTNEFMessage::rtfString()
{
- QVariant prop = property( 0x1009 );
- if ( prop.isNull() || prop.type() != QVariant::ByteArray)
- return QString::null;
+ TQVariant prop = property( 0x1009 );
+ if ( prop.isNull() || prop.type() != TQVariant::ByteArray)
+ return TQString::null;
else
{
- QByteArray rtf;
- QBuffer input( prop.asByteArray() ), output( rtf );
+ TQByteArray rtf;
+ TQBuffer input( prop.asByteArray() ), output( rtf );
if ( input.open( IO_ReadOnly ) && output.open( IO_WriteOnly ) )
lzfu_decompress( &input, &output );
- return QString( rtf );
+ return TQString( rtf );
}
}