KIO
kbookmarkimporter_ie.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) 2002 Alexander Kellett <lypanov@kde.org> 00005 00006 This library is free software; you can redistribute it and/or 00007 modify it under the terms of the GNU Library General Public 00008 License version 2 as published by the Free Software Foundation. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public License 00016 along with this library; see the file COPYING.LIB. If not, write to 00017 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 00018 Boston, MA 02110-1301, USA. 00019 */ 00020 00021 #ifndef __kbookmarkimporter_ie_h 00022 #define __kbookmarkimporter_ie_h 00023 00024 #include <QtCore/QStringList> 00025 #include <kconfig.h> 00026 #include <kdemacros.h> 00027 00028 #include <kbookmarkimporter.h> 00029 #include <kbookmarkexporter.h> 00030 00034 class KIO_EXPORT KIEBookmarkImporterImpl : public KBookmarkImporterBase 00035 { 00036 public: 00037 KIEBookmarkImporterImpl() { } 00038 virtual void parse(); 00039 virtual QString findDefaultLocation(bool forSaving = false) const; 00040 private: 00041 class KIEBookmarkImporterImplPrivate *d; 00042 }; 00043 00044 class KIO_EXPORT KIEBookmarkExporterImpl : public KBookmarkExporterBase 00045 { 00046 public: 00047 KIEBookmarkExporterImpl(KBookmarkManager* mgr, const QString & path) 00048 : KBookmarkExporterBase(mgr, path) 00049 { ; } 00050 virtual ~KIEBookmarkExporterImpl() {} 00051 virtual void write(const KBookmarkGroup&); 00052 private: 00053 class KIEBookmarkExporterImplPrivate *d; 00054 }; 00055 00056 #endif