author | insilmaril |
Fri Feb 01 15:28:35 2008 +0000 (2008-02-01) | |
changeset 666 | 51c69652a9d0 |
child 721 | 12958f987bcf |
permissions | -rw-r--r-- |
1 #ifndef XMLOBJ_H
2 #define XMLOBJ_H
4 #include <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