xmlobj.h
author insilmaril
Mon Jan 07 14:52:49 2008 +0000 (2008-01-07)
changeset 638 3436b8eb3d9b
child 721 12958f987bcf
permissions -rw-r--r--
Included french in vym.pro
     1 #ifndef XMLOBJ_H
     2 #define XMLOBJ_H
     3 
     4 #include <QString>
     5 
     6 QString quotemeta(const QString&);	
     7 
     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;
    23 
    24 protected:  
    25     QString indent();
    26     int indentwidth;
    27 };
    28 
    29 #endif