summaryrefslogtreecommitdiffstats
path: root/khexedit/lib/kbufferdrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'khexedit/lib/kbufferdrag.cpp')
-rw-r--r--khexedit/lib/kbufferdrag.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/khexedit/lib/kbufferdrag.cpp b/khexedit/lib/kbufferdrag.cpp
index c9cc54a..80b1d1c 100644
--- a/khexedit/lib/kbufferdrag.cpp
+++ b/khexedit/lib/kbufferdrag.cpp
@@ -17,7 +17,7 @@
// qt specific
#include <tqcstring.h>
-#include <tqtextcodec.h>
+#include <textcodec.h>
// kde specific
#include <kglobal.h>
#include <klocale.h>
@@ -135,7 +135,7 @@ const char *KBufferDrag::format( int i ) const
}
-TQByteArray KBufferDrag::tqencodedData( const char *Format ) const
+TQByteArray KBufferDrag::encodedData( const char *Format ) const
{
if( Format != 0 )
{
@@ -166,7 +166,7 @@ TQByteArray KBufferDrag::tqencodedData( const char *Format ) const
{
KHEChar B = CharCodec->decode( Data[i] );
- Text.tqat(i) = B.isUndefined() ? KHEChar(UndefinedChar) :
+ Text.at(i) = B.isUndefined() ? KHEChar(UndefinedChar) :
(!B.isPrint() && B != Tab && B != Return ) ? KHEChar(SubstituteChar) : B;
}
// clean up
@@ -224,12 +224,12 @@ bool KBufferDrag::canDecode( const TQMimeSource* Source )
bool KBufferDrag::decode( const TQMimeSource* Source, TQByteArray &Dest )
{
-// Dest = Source->tqencodedData( MediaString );
+// Dest = Source->encodedData( MediaString );
// return Dest.size() != 0;
bool CanDecode = Source->provides( OctetStream );
if( CanDecode )
- Dest = Source->tqencodedData( OctetStream );
+ Dest = Source->encodedData( OctetStream );
return CanDecode;
}