diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 00:38:29 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-06 00:38:29 -0600 |
commit | ca1f1a08ecb01139487ff2f0591f97b97164c4e4 (patch) | |
tree | 3d890700d69458192fddd1829688a8a4e10a0c65 /kio/kio | |
parent | d4e11a5f488204ab8886e167c7c4af1e6e16ab58 (diff) | |
download | tdelibs-ca1f1a08ecb01139487ff2f0591f97b97164c4e4.tar.gz tdelibs-ca1f1a08ecb01139487ff2f0591f97b97164c4e4.zip |
Rename tqencodedData to fix bindings
Diffstat (limited to 'kio/kio')
-rw-r--r-- | kio/kio/paste.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kio/kio/paste.cpp b/kio/kio/paste.cpp index 5a74c3e48..99714ffa7 100644 --- a/kio/kio/paste.cpp +++ b/kio/kio/paste.cpp @@ -137,7 +137,7 @@ static KIO::CopyJob* chooseAndPaste( const KURL& u, TQMimeSource* data, if ( clipboard ) { data = TQApplication::tqclipboard()->data(); } - const TQByteArray ba = data->tqencodedData( chosenFormat ); + const TQByteArray ba = data->encodedData( chosenFormat ); return pasteDataAsyncTo( new_url, ba ); } #endif @@ -147,7 +147,7 @@ KIO_EXPORT bool KIO::isClipboardEmpty() { #ifndef QT_NO_MIMECLIPBOARD TQMimeSource *data = TQApplication::tqclipboard()->data(); - if ( data->provides( "text/uri-list" ) && data->tqencodedData( "text/uri-list" ).size() > 0 ) + if ( data->provides( "text/uri-list" ) && data->encodedData( "text/uri-list" ).size() > 0 ) return false; #else // Happens with some versions of Qt Embedded... :/ @@ -194,7 +194,7 @@ KIO::CopyJob* KIO::pasteMimeSource( TQMimeSource* data, const KURL& dest_url, if ( formats.size() > 1 ) { return chooseAndPaste( dest_url, data, formats, dialogText, widget, clipboard ); } - ba = data->tqencodedData( formats.first() ); + ba = data->encodedData( formats.first() ); } if ( ba.size() == 0 ) { |