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) 2002 Alexander Kellett <lypanov@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 __kbookmarkimporter_ie_h |
22 | #define __kbookmarkimporter_ie_h |
23 | |
24 | #include <QtCore/QStringList> |
25 | #include <kconfig.h> |
26 | #include <kdemacros.h> |
27 | |
28 | #include <kbookmarkimporter.h> |
29 | #include <kbookmarkexporter.h> |
30 | |
31 | /** |
32 | * A class for importing IE bookmarks |
33 | */ |
34 | class KIO_EXPORT KIEBookmarkImporterImpl : public KBookmarkImporterBase |
35 | { |
36 | public: |
37 | KIEBookmarkImporterImpl() { } |
38 | virtual void parse(); |
39 | virtual QString findDefaultLocation(bool forSaving = false) const; |
40 | private: |
41 | class KIEBookmarkImporterImplPrivate *d; |
42 | }; |
43 | |
44 | class KIO_EXPORT KIEBookmarkExporterImpl : public KBookmarkExporterBase |
45 | { |
46 | public: |
47 | KIEBookmarkExporterImpl(KBookmarkManager* mgr, const QString & path) |
48 | : KBookmarkExporterBase(mgr, path) |
49 | { ; } |
50 | virtual ~KIEBookmarkExporterImpl() {} |
51 | virtual void write(const KBookmarkGroup&); |
52 | private: |
53 | class KIEBookmarkExporterImplPrivate *d; |
54 | }; |
55 | |
56 | #endif |
57 | |