diff -r 000000000000 -r a7db20d79c32 xmlobj.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xmlobj.h Fri Feb 01 15:28:35 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