summaryrefslogtreecommitdiffstats
path: root/kdecore/kurldrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdecore/kurldrag.cpp')
-rw-r--r--kdecore/kurldrag.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/kurldrag.cpp b/kdecore/kurldrag.cpp
index 7147f7a74..089d2fadb 100644
--- a/kdecore/kurldrag.cpp
+++ b/kdecore/kurldrag.cpp
@@ -87,7 +87,7 @@ KURLDrag * KURLDrag::newDrag( const KURL::List &urls, const TQMap<TQString, TQSt
bool KURLDrag::decode( const TQMimeSource *e, KURL::List &uris )
{
if ( e->provides( "application/x-kde-urilist" ) ) {
- TQByteArray payload = e->encodedData( "application/x-kde-urilist" );
+ TQByteArray payload = e->tqencodedData( "application/x-kde-urilist" );
if ( payload.size() ) {
uint c=0;
const char* d = payload.data();
@@ -128,7 +128,7 @@ bool KURLDrag::decode( const TQMimeSource *e, KURL::List &uris, TQMap<TQString,T
{
if ( decode( e, uris ) ) // first decode the URLs (see above)
{
- TQByteArray ba = e->encodedData( "application/x-kio-metadata" );
+ TQByteArray ba = e->tqencodedData( "application/x-kio-metadata" );
if ( ba.size() )
{
TQString s = ba.data();
@@ -140,7 +140,7 @@ bool KURLDrag::decode( const TQMimeSource *e, KURL::List &uris, TQMap<TQString,T
if ( readingKey )
key = *it;
else
- metaData.replace( key, *it );
+ metaData.tqreplace( key, *it );
readingKey = !readingKey;
}
Q_ASSERT( readingKey ); // an odd number of items would be, well, odd ;-)
@@ -187,12 +187,12 @@ const char * KURLDrag::format( int i ) const
else return 0;
}
-TQByteArray KURLDrag::encodedData( const char* mime ) const
+TQByteArray KURLDrag::tqencodedData( const char* mime ) const
{
TQByteArray a;
TQCString mimetype( mime );
if ( mimetype == "text/uri-list" )
- return TQUriDrag::encodedData( mime );
+ return TQUriDrag::tqencodedData( mime );
else if ( mimetype == "text/plain" )
{
TQStringList uris;