diff -r 000000000000 -r c7b1178aec77 xmlobj.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xmlobj.h Mon May 05 13:46:42 2008 +0000 @@ -0,0 +1,29 @@ +#ifndef XMLOBJ_H +#define XMLOBJ_H + +#include + +QString quotemeta(const QString&); + +///////////////////////////////////////////////////////////////////////////// +class XMLObj +{ +public: + XMLObj(); + QString singleElement(QString,QString); // name,attr + QString beginElement(QString,QString); // name,attr + QString beginElement(QString); // name + QString endElement (QString); // name + QString attribut (QString,QString); // name, val + QString valueElement(QString,QString); // name, val + QString valueElement(QString,QString,QString); // name, attr, val + void incIndent(); + void decIndent(); + static int actindent; + +protected: + QString indent(); + int indentwidth; +}; + +#endif