kbookmarkexporter.h Source File (kio Library)

| # kio Library API Documentation
Overview | Class Hierarchy | Classes | Classes (annotated) | Members | Source Files

# kbookmarkexporter.h

    00001 /* This file is part of the KDE libraries
    00002    Copyright (C) 1996-1998 Martin R. Jones <mjones@kde.org>
    00003    Copyright (C) 2000 David Faure <faure@kde.org>
    00004
    00005    This library is free software; you can redistribute it and/or
    00006    modify it under the terms of the GNU Library General Public
    00007    License version 2 as published by the Free Software Foundation.
    00008
    00009    This library is distributed in the hope that it will be useful,
    00010    but WITHOUT ANY WARRANTY; without even the implied warranty of
    00011    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    00012    Library General Public License for more details.
    00013
    00014    You should have received a copy of the GNU Library General Public License
    00015    along with this library; see the file COPYING.LIB.  If not, write to
    00016    the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
    00017    Boston, MA 02111-1307, USA.
    00018 */
    00019
    00020 #ifndef __kbookmarkexporter_h
    00021 #define __kbookmarkexporter_h
    00022
    00023 #include <qtextstream.h>
    00024 #include <kbookmark.h>
    00025
    00030 class KNSBookmarkExporter
    00031 {
    00032 public:
    00033     // use KNSBookmarkImporter to get the path to the filename
    00034     KNSBookmarkExporter( KBookmarkManager* mgr,const QString & fileName )
    00035         : m_fileName(fileName), m_pManager(mgr) {}
    00036     ~KNSBookmarkExporter() {}
    00037
    00038     // For compat
    00039     void write() { write(false); }
    00040     // Write out. Use utf8=true for Mozilla, false for Netscape
    00041     void write( bool utf8 );
    00042
    00043 protected:
    00044     void writeFolder( QTextStream &stream, KBookmarkGroup parent );
    00045     QString m_fileName;
    00046     KBookmarkManager* m_pManager;
    00047 };
    00048
    00049 #endif

This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:13:10 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001