author | insilmaril |
Fri, 11 Jul 2008 12:36:39 +0000 | |
changeset 715 | c7f2d53c98d1 |
parent 621 | c60984c46f9f |
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