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 
00028 class KMultipleDragPrivate;
00053 class KMultipleDrag : public QDragObject
00054 {
00055     Q_OBJECT
00056 
00057 public:
00064     KMultipleDrag( QWidget *dragSource = 0L, const char *name = 0L );
00065 
00073     void addDragObject( QDragObject *dragObject );
00074 
00075 protected:
00082     virtual QByteArray encodedData( const char *mime ) const;
00083 
00089     virtual const char* format( int i ) const;
00090 
00091     QPtrList<QDragObject> m_dragObjects;
00092     QValueList<int> m_numberFormats;
00093 protected:
00094     virtual void virtual_hook( int id, void* data );
00095 private:
00096     KMultipleDragPrivate* d;
00097 };
00098 
00099 #endif // QT_NO_DRAGANDDROP
00100 
00101 #endif // KMULTIPLEDRAG_H
 
This file is part of the documentation for kdecore Library Version 3.2.0.