diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdecore/kmultipledrag.h | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdecore/kmultipledrag.h')
-rw-r--r-- | kdecore/kmultipledrag.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdecore/kmultipledrag.h b/kdecore/kmultipledrag.h index bb08c86cc..85a0a66a3 100644 --- a/kdecore/kmultipledrag.h +++ b/kdecore/kmultipledrag.h @@ -22,8 +22,8 @@ #ifndef QT_NO_DRAGANDDROP -#include <qdragobject.h> -#include <qvaluelist.h> +#include <tqdragobject.h> +#include <tqvaluelist.h> #include "kdelibs_export.h" class KMultipleDragPrivate; @@ -34,14 +34,14 @@ class KMultipleDragPrivate; * * Instead of creating a specific class for each case (as would otherwise * be necessary), you can simply create independent drag objects (e.g. - * a QImageDrag object and a KURLDrag object), and bundle them together + * a TQImageDrag object and a KURLDrag object), and bundle them together * using KMultipleDrag. * * Sample code for this: * * \code * KMultipleDrag *drag = new KMultipleDrag( parentWidget ); - * drag->addDragObject( new QImageDrag( someQImage, 0 ) ); + * drag->addDragObject( new TQImageDrag( someQImage, 0 ) ); * drag->addDragObject( new KURLDrag( someKURL, 0 ) ); * drag->drag(); * \endcode @@ -62,7 +62,7 @@ public: * 0 for a parent-less object * @param name the name of the object, can be 0 */ - KMultipleDrag( QWidget *dragSource = 0, const char *name = 0 ); + KMultipleDrag( TQWidget *dragSource = 0, const char *name = 0 ); /** * Call this to add each underlying drag object to the multiple drag object. @@ -71,7 +71,7 @@ public: * * @param dragObject the drag object to add. Should have no parent object. */ - void addDragObject( QDragObject *dragObject ); + void addDragObject( TQDragObject *dragObject ); /** * Returns the data of a drag object with that supports the given @@ -80,7 +80,7 @@ public: * @return the data, or a null byte array if not found * @reimp */ - virtual QByteArray encodedData( const char *mime ) const; + virtual TQByteArray encodedData( const char *mime ) const; /** * Returns the @p i'th supported format, or 0. @@ -92,8 +92,8 @@ public: protected: // KDE4: make private - QPtrList<QDragObject> m_dragObjects; - QValueList<int> m_numberFormats; + TQPtrList<TQDragObject> m_dragObjects; + TQValueList<int> m_numberFormats; protected: virtual void virtual_hook( int id, void* data ); private: |