File indexing completed on 2024-04-28 05:49:59
0001 // -*- c-basic-offset:4; indent-tabs-mode:nil -*- 0002 /* 0003 This file is part of the KDE libraries 0004 SPDX-FileCopyrightText: 1996-1998 Martin R. Jones <mjones@kde.org> 0005 SPDX-FileCopyrightText: 2000 David Faure <faure@kde.org> 0006 SPDX-FileCopyrightText: 2003 Alexander Kellett <lypanov@kde.org> 0007 0008 SPDX-License-Identifier: LGPL-2.0-only 0009 */ 0010 0011 #ifndef __kbookmarkexporter_h 0012 #define __kbookmarkexporter_h 0013 0014 #include <kbookmark.h> 0015 0016 class BookmarkExporterBase 0017 { 0018 public: 0019 BookmarkExporterBase(const QString &fileName) 0020 : m_fileName(fileName) 0021 { 0022 } 0023 virtual ~BookmarkExporterBase() 0024 { 0025 } 0026 virtual void write(const KBookmarkGroup &) = 0; 0027 0028 protected: 0029 QString m_fileName; 0030 0031 private: 0032 class KBookmarkExporterBasePrivate *d; 0033 }; 0034 0035 #endif