summaryrefslogtreecommitdiffstats
path: root/kdecore/kmultipledrag.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kdecore/kmultipledrag.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kmultipledrag.cpp')
-rw-r--r--kdecore/kmultipledrag.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/kmultipledrag.cpp b/kdecore/kmultipledrag.cpp
index 29d56bd85..f81b9b154 100644
--- a/kdecore/kmultipledrag.cpp
+++ b/kdecore/kmultipledrag.cpp
@@ -32,24 +32,24 @@ void KMultipleDrag::addDragObject( TQDragObject *dragObject )
{
//kdDebug() << "KMultipleDrag::addDragObject" << endl;
m_dragObjects.append( dragObject );
- // We need to find out how many formats this dragObject supports
+ // We need to tqfind out how many formats this dragObject supports
int i = 0;
while ( dragObject->format( i ) )
++i;
m_numberFormats.append( i ); // e.g. if it supports two formats, 0 and 1, store 2.
}
-TQByteArray KMultipleDrag::encodedData( const char *mime ) const
+TQByteArray KMultipleDrag::tqencodedData( const char *mime ) const
{
- //kdDebug() << "KMultipleDrag::encodedData " << mime << endl;
- // Iterate over the drag objects, and find the format in the right one
+ //kdDebug() << "KMultipleDrag::tqencodedData " << mime << endl;
+ // Iterate over the drag objects, and tqfind the format in the right one
TQPtrListIterator<TQDragObject> it( m_dragObjects );
for ( ; it.current(); ++it )
{
for ( int i = 0; it.current()->format( i ); ++i )
{
if ( ::qstrcmp( it.current()->format( i ), mime ) == 0 )
- return it.current()->encodedData( mime );
+ return it.current()->tqencodedData( mime );
}
}
return TQByteArray();