• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KDE3Support

  • sources
  • kde-4.14
  • kdelibs
  • kde3support
  • kdecore
k3multipledrag.h
Go to the documentation of this file.
1 /* This file is part of the KDE project
2  Copyright (C) 2001 David Faure <faure@kde.org>
3 
4  This program is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License as published by the Free Software Foundation; either
7  version 2 of the License.
8 
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  Library General Public License for more details.
13 
14  You should have received a copy of the GNU Library General Public License
15  along with this program; see the file COPYING. If not, write to
16  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17  Boston, MA 02110-1301, USA.
18 */
19 
20 #ifndef K3MULTIPLEDRAG_H
21 #define K3MULTIPLEDRAG_H
22 
23 #ifndef QT_NO_DRAGANDDROP
24 
25 #include <kde3support_export.h>
26 #include <Qt3Support/Q3DragObject>
27 #include <Qt3Support/Q3ValueList>
28 
29 class K3MultipleDragPrivate;
55 class KDE3SUPPORT_EXPORT K3MultipleDrag : public Q3DragObject
56 {
57  Q_OBJECT
58 
59 public:
66  K3MultipleDrag( QWidget *dragSource = 0, const char *name = 0 );
67 
75  void addDragObject( Q3DragObject *dragObject );
76 
84  virtual QByteArray encodedData( const char *mime ) const;
85 
92  virtual const char* format( int i ) const;
93 
94 protected:
95  virtual void virtual_hook( int id, void* data );
96 private:
97  Q3PtrList<Q3DragObject> m_dragObjects;
98  QList<int> m_numberFormats;
99  K3MultipleDragPrivate* d;
100 };
101 
102 #endif // QT_NO_DRAGANDDROP
103 
104 #endif // K3MULTIPLEDRAG_H
QWidget
Q3DragObject
QMimeSource::encodedData
virtual QByteArray encodedData(const char *format) const =0
QByteArray
name
const char * name(StandardAction id)
Q3PtrList< Q3DragObject >
kde3support_export.h
K3MultipleDrag
This class makes it easy for applications to provide a drag object (for drag-n-drop or for clipboard)...
Definition: k3multipledrag.h:55
QList< int >
QMimeSource::format
virtual const char * format(int i) const =0
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:26:48 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KDE3Support

Skip menu "KDE3Support"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal