• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeio/bookmarks
 

tdeio/bookmarks

  • tdeio
  • bookmarks
kbookmarkdrag.h
1 /* This file is part of the KDE libraries
2  Copyright (C) 2000 David Faure <faure@kde.org>
3 
4  This library is free software; you can redistribute it and/or
5  modify it under the terms of the GNU Library General Public
6  License version 2 as published by the Free Software Foundation.
7 
8  This library is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11  Library General Public License for more details.
12 
13  You should have received a copy of the GNU Library General Public License
14  along with this library; see the file COPYING.LIB. If not, write to
15  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
16  Boston, MA 02110-1301, USA.
17 */
18 
19 #ifndef __kebdrag_h
20 #define __kebdrag_h
21 
22 #include <tqdragobject.h>
23 #include <kbookmark.h>
24 
25 // Clipboard/dnd data : URLs + XML for bookmarks
26 class TDEIO_EXPORT KBookmarkDrag : public TQUriDrag
27 {
28 public:
29  static KBookmarkDrag * newDrag( const TQValueList<KBookmark> & bookmarks,
30  TQWidget * dragSource = 0,
31  const char * name = 0 );
32  static KBookmarkDrag * newDrag( const KBookmark & bookmark,
33  TQWidget * dragSource = 0,
34  const char * name = 0 );
35 protected:
36  KBookmarkDrag( const TQValueList<KBookmark> & bookmarks,
37  const TQStrList & urls,
38  TQWidget * dragSource,
39  const char * name );
40 public:
41  virtual ~KBookmarkDrag() {}
42 
43  virtual const char* format( int i ) const;
44  virtual TQByteArray encodedData( const char* mime ) const;
45 
46  static bool canDecode( const TQMimeSource * e );
47  static TQValueList<KBookmark> decode( const TQMimeSource * e );
48 
49 protected:
50  TQValueList<KBookmark> m_bookmarks;
51  TQDomDocument m_doc;
52  class KBookmarkDragPrivate;
53  KBookmarkDragPrivate * d;
54 };
55 #endif

tdeio/bookmarks

Skip menu "tdeio/bookmarks"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

tdeio/bookmarks

Skip menu "tdeio/bookmarks"
  • 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 tdeio/bookmarks by doxygen 1.9.1
This website is maintained by Timothy Pearson.