diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdecore/kmultipledrag.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kmultipledrag.cpp')
-rw-r--r-- | kdecore/kmultipledrag.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kdecore/kmultipledrag.cpp b/kdecore/kmultipledrag.cpp index f81b9b154..29d56bd85 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 tqfind out how many formats this dragObject supports + // We need to find 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::tqencodedData( const char *mime ) const +TQByteArray KMultipleDrag::encodedData( const char *mime ) const { - //kdDebug() << "KMultipleDrag::tqencodedData " << mime << endl; - // Iterate over the drag objects, and tqfind the format in the right one + //kdDebug() << "KMultipleDrag::encodedData " << mime << endl; + // Iterate over the drag objects, and find 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()->tqencodedData( mime ); + return it.current()->encodedData( mime ); } } return TQByteArray(); |