KBookmarks

kbookmarkexporter.h
1 // -*- c-basic-offset:4; indent-tabs-mode:nil -*-
2 /* This file is part of the KDE libraries
3  Copyright (C) 1996-1998 Martin R. Jones <[email protected]>
4  Copyright (C) 2000 David Faure <[email protected]>
5  Copyright (C) 2003 Alexander Kellett <[email protected]>
6 
7  This library is free software; you can redistribute it and/or
8  modify it under the terms of the GNU Library General Public
9  License version 2 as published by the Free Software Foundation.
10 
11  This library is distributed in the hope that it will be useful,
12  but WITHOUT ANY WARRANTY; without even the implied warranty of
13  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  Library General Public License for more details.
15 
16  You should have received a copy of the GNU Library General Public License
17  along with this library; see the file COPYING.LIB. If not, write to
18  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
19  Boston, MA 02110-1301, USA.
20 */
21 
22 #ifndef __kbookmarkexporter_h
23 #define __kbookmarkexporter_h
24 
25 #include <kbookmark.h>
26 
27 class KBOOKMARKS_EXPORT KBookmarkExporterBase
28 {
29 public:
30  KBookmarkExporterBase(KBookmarkManager *mgr, const QString &fileName)
31  : m_fileName(fileName), m_pManager(mgr)
32  {}
33  virtual ~KBookmarkExporterBase() {}
34  virtual void write(const KBookmarkGroup &) = 0;
35 protected:
36  QString m_fileName;
37  KBookmarkManager *m_pManager;
38 private:
39  class KBookmarkExporterBasePrivate *d;
40 };
41 
42 #endif
This class implements the reading/writing of bookmarks in XML.
A group of bookmarks.
Definition: kbookmark.h:327
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jul 1 2020 22:38:34 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.