KDevelop API Documentation

variantserializer.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2003 Alexander Dymo                                     *
00003  *   cloudtemple@mksat.net                                                 *
00004  *                                                                         *
00005  *   This program is free software; you can redistribute it and/or modify  *
00006  *   it under the terms of the GNU General Public License as published by  *
00007  *   the Free Software Foundation; either version 2 of the License, or     *
00008  *   (at your option) any later version.                                   *
00009  *                                                                         *
00010  ***************************************************************************/
00011 #ifndef VARIANTSERIALIZER_H
00012 #define VARIANTSERIALIZER_H
00013 
00014 #include <qdom.h>
00015 #include <qvariant.h>
00016 #include <qstringlist.h>
00017 
00018 namespace VariantSerializer{
00019 
00020 void storeValue(QDomElement &node, const QVariant &var);
00021 
00022 void storeString(QDomElement &node, const QVariant &var);
00023 void storeStringList(QDomElement &node, const QVariant &var);
00024 void storeBool(QDomElement &node, const QVariant &var);
00025 void storeInt(QDomElement &node, const QVariant &var);
00026 void storeDouble(QDomElement &node, const QVariant &var);
00027 
00028 QVariant loadValue(const QDomElement &el);
00029 
00030 QVariant loadString(const QDomText &node);
00031 QVariant loadStringList(const QDomText &node);
00032 QVariant loadBool(const QDomText &node);
00033 QVariant loadInt(const QDomText &node);
00034 QVariant loadDouble(const QDomText &node);
00035 
00036 }
00037 
00038 #endif
KDE Logo
This file is part of the documentation for KDevelop Version 3.1.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Tue Feb 22 09:22:22 2005 by doxygen 1.3.9.1 written by Dimitri van Heesch, © 1997-2003