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

tdecore

  • tdecore
tdemultipledrag.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 TDEMULTIPLEDRAG_H
21 #define TDEMULTIPLEDRAG_H
22 
23 #ifndef TQT_NO_DRAGANDDROP
24 
25 #include <tqdragobject.h>
26 #include <tqvaluelist.h>
27 #include "tdelibs_export.h"
28 
29 class KMultipleDragPrivate;
54 class TDECORE_EXPORT KMultipleDrag : public TQDragObject
55 {
56  TQ_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 // TQT_NO_DRAGANDDROP
104 
105 #endif // TDEMULTIPLEDRAG_H
KMultipleDrag
This class makes it easy for applications to provide a drag object (for drag-n-drop or for clipboard)...
Definition: tdemultipledrag.h:55

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.1
This website is maintained by Timothy Pearson.