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

tdeio/bookmarks

  • tdeio
  • bookmarks
kbookmarkimporter_opera.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_opera_h
20#define __kbookmarkimporter_opera_h
21
22#include <tqdom.h>
23#include <tqcstring.h>
24#include <tqstringlist.h>
25#include <ksimpleconfig.h>
26
27#include <kbookmarkimporter.h>
28
33class TDEIO_EXPORT_DEPRECATED KOperaBookmarkImporter : public TQObject
34{
35 TQ_OBJECT
36public:
37 KOperaBookmarkImporter( const TQString & fileName ) : m_fileName(fileName) {}
38 ~KOperaBookmarkImporter() {}
39
40 void parseOperaBookmarks();
41
42 // Usual place for Opera bookmarks
43 static TQString operaBookmarksFile();
44
45signals:
46 void newBookmark( const TQString & text, const TQCString & url, const TQString & additionalInfo );
47 void newFolder( const TQString & text, bool open, const TQString & additionalInfo );
48 void newSeparator();
49 void endFolder();
50
51protected:
52 TQString m_fileName;
53};
54
59class TDEIO_EXPORT KOperaBookmarkImporterImpl : public KBookmarkImporterBase
60{
61public:
62 KOperaBookmarkImporterImpl() { }
63 virtual void parse();
64 virtual TQString findDefaultLocation(bool forSaving = false) const;
65private:
66 class KOperaBookmarkImporterImplPrivate *d;
67};
68
72class TDEIO_EXPORT KOperaBookmarkExporterImpl : public KBookmarkExporterBase
73{
74public:
75 KOperaBookmarkExporterImpl(KBookmarkManager* mgr, const TQString & filename)
76 : KBookmarkExporterBase(mgr, filename)
77 { ; }
78 virtual ~KOperaBookmarkExporterImpl() {}
79 virtual void write(KBookmarkGroup);
80private:
81 class KOperaBookmarkExporterImplPrivate *d;
82};
83
84#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
KOperaBookmarkExporterImpl
Definition: kbookmarkimporter_opera.h:73
KOperaBookmarkImporterImpl
A class for importing Opera bookmarks.
Definition: kbookmarkimporter_opera.h:60
KOperaBookmarkImporter
A class for importing Opera bookmarks.
Definition: kbookmarkimporter_opera.h:34

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.