# kdecore Library API Documentation

Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Namespaces | Source Files

# kmultipledrag.h

    00001 /* This file is part of the KDE project
    00002    Copyright (C) 2001 David Faure <faure@kde.org>
    00003
    00004    This program is free software; you can redistribute it and/or
    00005    modify it under the terms of the GNU Library General Public
    00006    License as published by the Free Software Foundation; either
    00007    version 2 of the License.
    00008
    00009    This program is distributed in the hope that it will be useful,
    00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012    Library General Public License for more details.
    00013
    00014    You should have received a copy of the GNU Library General Public License
    00015    along with this program; see the file COPYING.  If not, write to
    00016    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017    Boston, MA 02111-1307, USA.
    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.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Sat Jun 11 20:18:09 2005 by doxygen 1.4.1 written by Dimitri van Heesch, © 1997-2003