summaryrefslogtreecommitdiffstats
path: root/tdecore/kurldrag.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 00:38:29 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-06 00:38:29 -0600
commitca1f1a08ecb01139487ff2f0591f97b97164c4e4 (patch)
tree3d890700d69458192fddd1829688a8a4e10a0c65 /tdecore/kurldrag.cpp
parentd4e11a5f488204ab8886e167c7c4af1e6e16ab58 (diff)
downloadtdelibs-ca1f1a08ecb01139487ff2f0591f97b97164c4e4.tar.gz
tdelibs-ca1f1a08ecb01139487ff2f0591f97b97164c4e4.zip
Rename tqencodedData to fix bindings
Diffstat (limited to 'tdecore/kurldrag.cpp')
-rw-r--r--tdecore/kurldrag.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tdecore/kurldrag.cpp b/tdecore/kurldrag.cpp
index 7153b8077..2b07c2580 100644
--- a/tdecore/kurldrag.cpp
+++ b/tdecore/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->tqencodedData( "application/x-kde-urilist" );
+ TQByteArray payload = e->encodedData( "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->tqencodedData( "application/x-kio-metadata" );
+ TQByteArray ba = e->encodedData( "application/x-kio-metadata" );
if ( ba.size() )
{
TQString s = ba.data();
@@ -187,12 +187,12 @@ const char * KURLDrag::format( int i ) const
else return 0;
}
-TQByteArray KURLDrag::tqencodedData( const char* mime ) const
+TQByteArray KURLDrag::encodedData( const char* mime ) const
{
TQByteArray a;
TQCString mimetype( mime );
if ( mimetype == "text/uri-list" )
- return TQUriDrag::tqencodedData( mime );
+ return TQUriDrag::encodedData( mime );
else if ( mimetype == "text/plain" )
{
TQStringList uris;