• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeedu
  • Sitemap
  • Contact Us
 

step/stepcore

xmlfile.h

Go to the documentation of this file.
00001 /* This file is part of StepCore library.
00002    Copyright (C) 2007 Vladimir Kuznetsov <ks.vladimir@gmail.com>
00003 
00004    StepCore library is free software; you can redistribute it and/or modify
00005    it under the terms of the GNU General Public License as published by
00006    the Free Software Foundation; either version 2 of the License, or
00007    (at your option) any later version.
00008 
00009    StepCore 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
00012    GNU General Public License for more details.
00013 
00014    You should have received a copy of the GNU General Public License
00015    along with StepCore; if not, write to the Free Software
00016    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
00017 */
00018 
00023 #ifndef STEPCORE_XMLFILE_H
00024 #define STEPCORE_XMLFILE_H
00025 
00026 #include <QString>
00027 class QIODevice;
00028 class QTextStream;
00029 
00030 namespace StepCore {
00031 
00032 class Object;
00033 class World;
00034 class Factory;
00035 
00039 class XmlFile {
00040 public:
00045     XmlFile(QIODevice* device): _device(device) {}
00046 
00052     bool save(const World* world);
00053 
00060     bool load(World* world, const Factory* factory);
00061 
00063     QString errorString() const { return _errorString; }
00064 
00065 protected:
00066     QIODevice* _device;
00067     QString _errorString;
00068 
00069 public:
00070     static const char* DOCKTYPE;
00071     static const char* NAMESPACE_URI;
00072     static const char* VERSION;
00073 };
00074 
00075 }
00076 
00077 #endif
00078 

step/stepcore

Skip menu "step/stepcore"
  • Main Page
  • Modules
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdeedu

Skip menu "kdeedu"
  • kalzium
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  •   docs
  •   src
  • parley
  •   stepcore
Generated for kdeedu by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal