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

tdeio/bookmarks

  • tdeio
  • bookmarks
kbookmarkimporter_ie.h
1/* This file is part of the KDE libraries
2 Copyright (C) 2002 Alexander Kellett <lypanov@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 __kbookmarkimporter_ie_h
20#define __kbookmarkimporter_ie_h
21
22#include <tqdom.h>
23#include <tqcstring.h>
24#include <tqstringlist.h>
25#include <ksimpleconfig.h>
26#include <tdemacros.h>
27
28#include <kbookmarkimporter.h>
29
34class TDEIO_EXPORT_DEPRECATED KIEBookmarkImporter : public TQObject
35{
36 TQ_OBJECT
37public:
38 KIEBookmarkImporter( const TQString & fileName ) : m_fileName(fileName) {}
39 ~KIEBookmarkImporter() {}
40
41 void parseIEBookmarks();
42
43 // Usual place for IE bookmarks
44 static TQString IEBookmarksDir();
45
46signals:
47 void newBookmark( const TQString & text, const TQCString & url, const TQString & additionalInfo );
48 void newFolder( const TQString & text, bool open, const TQString & additionalInfo );
49 void newSeparator();
50 void endFolder();
51
52protected:
53 void parseIEBookmarks_dir( TQString dirname, TQString name = TQString::null );
54 void parseIEBookmarks_url_file( TQString filename, TQString name );
55
56 TQString m_fileName;
57};
58
63class TDEIO_EXPORT KIEBookmarkImporterImpl : public KBookmarkImporterBase
64{
65public:
66 KIEBookmarkImporterImpl() { }
67 virtual void parse();
68 virtual TQString findDefaultLocation(bool forSaving = false) const;
69private:
70 class KIEBookmarkImporterImplPrivate *d;
71};
72
73/*
74 * @since 3.2
75 */
76class TDEIO_EXPORT KIEBookmarkExporterImpl : public KBookmarkExporterBase
77{
78public:
79 KIEBookmarkExporterImpl(KBookmarkManager* mgr, const TQString & path)
80 : KBookmarkExporterBase(mgr, path)
81 { ; }
82 virtual ~KIEBookmarkExporterImpl() {}
83 virtual void write(KBookmarkGroup);
84private:
85 class KIEBookmarkExporterImplPrivate *d;
86};
87
88#endif
KBookmarkExporterBase
Definition: kbookmarkexporter.h:31
KBookmarkGroup
A group of bookmarks.
Definition: kbookmark.h:198
KBookmarkImporterBase
A class for importing NS bookmarks KEditBookmarks uses it to insert bookmarks into its DOM tree,...
Definition: kbookmarkimporter.h:36
KBookmarkManager
This class implements the reading/writing of bookmarks in XML.
Definition: kbookmarkmanager.h:52
KIEBookmarkImporterImpl
A class for importing IE bookmarks.
Definition: kbookmarkimporter_ie.h:64
KIEBookmarkImporter
A class for importing IE bookmarks.
Definition: kbookmarkimporter_ie.h:35

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.4
This website is maintained by Timothy Pearson.