• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • kdecore
 

kdecore

  • kdecore
kmultipledrag.h
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 KMULTIPLEDRAG_H
21 #define KMULTIPLEDRAG_H
22 
23 #ifndef QT_NO_DRAGANDDROP
24 
25 #include <tqdragobject.h>
26 #include <tqvaluelist.h>
27 #include "kdelibs_export.h"
28 
29 class KMultipleDragPrivate;
54 class KDECORE_EXPORT KMultipleDrag : public TQDragObject
55 {
56  Q_OBJECT
57 
58 public:
65  KMultipleDrag( TQWidget *dragSource = 0, const char *name = 0 );
66 
74  void addDragObject( TQDragObject *dragObject );
75 
83  virtual TQByteArray encodedData( const char *mime ) const;
84 
91  virtual const char* format( int i ) const;
92 
93 protected:
94 // KDE4: make private
95  TQPtrList<TQDragObject> m_dragObjects;
96  TQValueList<int> m_numberFormats;
97 protected:
98  virtual void virtual_hook( int id, void* data );
99 private:
100  KMultipleDragPrivate* d;
101 };
102 
103 #endif // QT_NO_DRAGANDDROP
104 
105 #endif // KMULTIPLEDRAG_H
KMultipleDrag
This class makes it easy for applications to provide a drag object (for drag-n-drop or for clipboard)...
Definition: kmultipledrag.h:55

kdecore

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

kdecore

Skip menu "kdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •     interface
  •     library
  •   kspeech
  •   ktexteditor
  • kabc
  • kate
  • kcmshell
  • kdecore
  • kded
  • kdefx
  • kdeprint
  • kdesu
  • kdeui
  • kdoctools
  • khtml
  • kimgio
  • kinit
  • kio
  •   bookmarks
  •   httpfilter
  •   kfile
  •   kio
  •   kioexec
  •   kpasswdserver
  •   kssl
  • kioslave
  •   http
  • kjs
  • kmdi
  •   kmdi
  • knewstuff
  • kparts
  • krandr
  • kresources
  • kspell2
  • kunittest
  • kutils
  • kwallet
  • libkmid
  • libkscreensaver
Generated for kdecore by doxygen 1.9.1
This website is maintained by Timothy Pearson.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. |