kio
kbookmarkexporter.h
Go to the documentation of this file.00001 // -*- c-basic-offset:4; indent-tabs-mode:nil -*- 00002 // vim: set ts=4 sts=4 sw=4 et: 00003 /* This file is part of the KDE libraries 00004 Copyright (C) 1996-1998 Martin R. Jones <mjones@kde.org> 00005 Copyright (C) 2000 David Faure <faure@kde.org> 00006 Copyright (C) 2003 Alexander Kellett <lypanov@kde.org> 00007 00008 This library is free software; you can redistribute it and/or 00009 modify it under the terms of the GNU Library General Public 00010 License version 2 as published by the Free Software Foundation. 00011 00012 This library is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 Library General Public License for more details. 00016 00017 You should have received a copy of the GNU Library General Public License 00018 along with this library; see the file COPYING.LIB. If not, write to 00019 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00020 Boston, MA 02110-1301, USA. 00021 */ 00022 00023 #ifndef __kbookmarkexporter_h 00024 #define __kbookmarkexporter_h 00025 00026 #include <qtextstream.h> 00027 #include <kbookmark.h> 00028 00032 class KIO_EXPORT KBookmarkExporterBase 00033 { 00034 public: 00035 KBookmarkExporterBase(KBookmarkManager* mgr, const QString & fileName) 00036 : m_fileName(fileName), m_pManager(mgr) 00037 { ; } 00038 virtual ~KBookmarkExporterBase() {} 00039 virtual void write(KBookmarkGroup) = 0; 00040 protected: 00041 QString m_fileName; 00042 KBookmarkManager* m_pManager; 00043 private: 00044 class KBookmarkExporterBasePrivate *d; 00045 }; 00046 00047 // for SC 00048 #include "kbookmarkimporter_ns.h" 00049 00050 #endif