File indexing completed on 2024-03-24 15:25:03

0001 //  -*- c-basic-offset:4; indent-tabs-mode:nil -*-
0002 /*
0003     This file is part of the KDE libraries
0004     SPDX-FileCopyrightText: 2002 Alexander Kellett <lypanov@kde.org>
0005 
0006     SPDX-License-Identifier: LGPL-2.0-only
0007 */
0008 
0009 #ifndef __kbookmarkimporter_ie_h
0010 #define __kbookmarkimporter_ie_h
0011 
0012 #include <kbookmarkexporter.h>
0013 #include <kbookmarkimporter.h>
0014 
0015 /**
0016  * A class for importing IE bookmarks
0017  */
0018 class KBOOKMARKS_EXPORT KIEBookmarkImporterImpl : public KBookmarkImporterBase
0019 {
0020     Q_OBJECT
0021 public:
0022     KIEBookmarkImporterImpl()
0023     {
0024     }
0025     void parse() override;
0026     QString findDefaultLocation(bool forSaving = false) const override;
0027 
0028 private:
0029     class KIEBookmarkImporterImplPrivate *d;
0030 };
0031 
0032 class KBOOKMARKS_EXPORT KIEBookmarkExporterImpl : public KBookmarkExporterBase
0033 {
0034 public:
0035     KIEBookmarkExporterImpl(KBookmarkManager *mgr, const QString &path)
0036         : KBookmarkExporterBase(mgr, path)
0037     {
0038         ;
0039     }
0040     ~KIEBookmarkExporterImpl() override
0041     {
0042     }
0043     void write(const KBookmarkGroup &) override;
0044 
0045 private:
0046     class KIEBookmarkExporterImplPrivate *d;
0047 };
0048 
0049 #endif