author | insilmaril |
Thu, 22 Jan 2009 11:39:53 +0000 | |
changeset 736 | 21f115d48daf |
parent 721 | 12958f987bcf |
child 791 | f1006de05c54 |
permissions | -rw-r--r-- |
1 #ifndef XMLOBJ_H
2 #define XMLOBJ_H
4 class QString;
6 QString quotemeta(const QString&);
8 /////////////////////////////////////////////////////////////////////////////
9 class XMLObj
10 {
11 public:
12 XMLObj();
13 QString singleElement(QString,QString); // name,attr
14 QString beginElement(QString,QString); // name,attr
15 QString beginElement(QString); // name
16 QString endElement (QString); // name
17 QString attribut (QString,QString); // name, val
18 QString valueElement(QString,QString); // name, val
19 QString valueElement(QString,QString,QString); // name, attr, val
20 void incIndent();
21 void decIndent();
22 static int actindent;
24 protected:
25 QString indent();
26 int indentwidth;
27 };
29 #endif