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

tdeio/bookmarks

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