kmultipledrag.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef KMULTIPLEDRAG_H
00021 #define KMULTIPLEDRAG_H
00022
00023 #ifndef QT_NO_DRAGANDDROP
00024
00025 #include <qdragobject.h>
00026 #include <qvaluelist.h>
00027 #include "kdelibs_export.h"
00028
00029 class KMultipleDragPrivate;
00054 class KDECORE_EXPORT KMultipleDrag : public QDragObject
00055 {
00056 Q_OBJECT
00057
00058 public:
00065 KMultipleDrag( QWidget *dragSource = 0L, const char *name = 0L );
00066
00074 void addDragObject( QDragObject *dragObject );
00075
00076 protected:
00083 virtual QByteArray encodedData( const char *mime ) const;
00084
00090 virtual const char* format( int i ) const;
00091
00092 QPtrList<QDragObject> m_dragObjects;
00093 QValueList<int> m_numberFormats;
00094 protected:
00095 virtual void virtual_hook( int id, void* data );
00096 private:
00097 KMultipleDragPrivate* d;
00098 };
00099
00100 #endif // QT_NO_DRAGANDDROP
00101
00102 #endif // KMULTIPLEDRAG_H
This file is part of the documentation for kdecore Library Version 3.3.90.