author | insilmaril |
Tue Nov 04 12:09:10 2008 +0000 (2008-11-04) | |
changeset 728 | a8a98a94899a |
parent 621 | c60984c46f9f |
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