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 /tdeui | |
parent | d4e11a5f488204ab8886e167c7c4af1e6e16ab58 (diff) | |
download | tdelibs-ca1f1a08ecb01139487ff2f0591f97b97164c4e4.tar.gz tdelibs-ca1f1a08ecb01139487ff2f0591f97b97164c4e4.zip |
Rename tqencodedData to fix bindings
Diffstat (limited to 'tdeui')
-rw-r--r-- | tdeui/kcolordrag.cpp | 8 | ||||
-rw-r--r-- | tdeui/kcolordrag.h | 2 | ||||
-rw-r--r-- | tdeui/kedittoolbar.cpp | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/tdeui/kcolordrag.cpp b/tdeui/kcolordrag.cpp index 978130fcd..3beed82ca 100644 --- a/tdeui/kcolordrag.cpp +++ b/tdeui/kcolordrag.cpp @@ -40,7 +40,7 @@ void KColorDrag::setColor( const TQColor &color) { TQColorDrag tmp(color, 0, 0); - setEncodedData(tmp.tqencodedData(color_mime_string)); + setEncodedData(tmp.encodedData(color_mime_string)); TQPixmap colorpix( 25, 20); colorpix.fill( color); @@ -59,7 +59,7 @@ const char *KColorDrag::format(int i) const return TQStoredDrag::format(i); } -TQByteArray KColorDrag::tqencodedData ( const char * m ) const +TQByteArray KColorDrag::encodedData ( const char * m ) const { if (!qstrcmp(m, text_mime_string) ) { @@ -69,7 +69,7 @@ TQByteArray KColorDrag::tqencodedData ( const char * m ) const ((TQByteArray&)result).resize(result.length()); return result; } - return TQStoredDrag::tqencodedData(m); + return TQStoredDrag::encodedData(m); } bool @@ -91,7 +91,7 @@ KColorDrag::decode( TQMimeSource *e, TQColor &color) if (TQColorDrag::decode(e, color)) return true; - TQByteArray data = e->tqencodedData( text_mime_string); + TQByteArray data = e->encodedData( text_mime_string); TQString colorName = TQString::tqfromLatin1(data.data(), data.size()); if ((colorName.length() < 4) || (colorName[0] != '#')) return false; diff --git a/tdeui/kcolordrag.h b/tdeui/kcolordrag.h index 55f69de0a..289938b00 100644 --- a/tdeui/kcolordrag.h +++ b/tdeui/kcolordrag.h @@ -48,7 +48,7 @@ public: virtual ~KColorDrag() {} virtual const char *format(int i) const; - virtual TQByteArray tqencodedData ( const char * m ) const; + virtual TQByteArray encodedData ( const char * m ) const; /** * Sets the color of the drag to @p col. diff --git a/tdeui/kedittoolbar.cpp b/tdeui/kedittoolbar.cpp index e57a641a7..ad03a2b7d 100644 --- a/tdeui/kedittoolbar.cpp +++ b/tdeui/kedittoolbar.cpp @@ -155,7 +155,7 @@ public: if (!e) return false; - TQByteArray data = e->tqencodedData(TOOLBARITEMMIMETYPE); + TQByteArray data = e->encodedData(TOOLBARITEMMIMETYPE); if ( data.isEmpty() ) return false; |