KDE3Support
k3multipledrag.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef K3MULTIPLEDRAG_H
00021 #define K3MULTIPLEDRAG_H
00022
00023 #ifndef QT_NO_DRAGANDDROP
00024
00025 #include <kde3support_export.h>
00026 #include <Qt3Support/Q3DragObject>
00027 #include <Qt3Support/Q3ValueList>
00028
00029 class K3MultipleDragPrivate;
00055 class KDE3SUPPORT_EXPORT K3MultipleDrag : public Q3DragObject
00056 {
00057 Q_OBJECT
00058
00059 public:
00066 K3MultipleDrag( QWidget *dragSource = 0, const char *name = 0 );
00067
00075 void addDragObject( Q3DragObject *dragObject );
00076
00084 virtual QByteArray encodedData( const char *mime ) const;
00085
00092 virtual const char* format( int i ) const;
00093
00094 protected:
00095 virtual void virtual_hook( int id, void* data );
00096 private:
00097 Q3PtrList<Q3DragObject> m_dragObjects;
00098 QList<int> m_numberFormats;
00099 K3MultipleDragPrivate* d;
00100 };
00101
00102 #endif // QT_NO_DRAGANDDROP
00103
00104 #endif // K3MULTIPLEDRAG_H