summaryrefslogtreecommitdiffstats
path: root/tdeui/kcolordrag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeui/kcolordrag.cpp')
-rw-r--r--tdeui/kcolordrag.cpp8
1 files changed, 4 insertions, 4 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;