• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdelibs-4.14.38 API Reference
  • KDE Home
  • Contact Us
 

KIO

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

KDE's Doxygen guidelines are available online.

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdelibs-4.14.38 API Reference

Skip menu "kdelibs-4.14.38 API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal