source: s10k/XmlTools/xmlfilter.h@ 1093

Last change on this file since 1093 was 1073, checked in by s10k, 7 years ago

added XML Tools latest version (2.0d) and s10k's common libs

File size: 785 bytes
Line 
1#ifndef XMLFILTER_H
2#define XMLFILTER_H
3
4#include <QString>
5
6//class to simplify XML filtering
7class XmlFilter
8{
9public:
10
11 XmlFilter();
12 XmlFilter(QString elementName, QString parentElementName, QString attributeName, QString attributeValue);
13
14 QString getElementName();
15 QString getParentElementName();
16 QString getAttributeName();
17 QString getAttributeValue();
18
19 void setElementName(QString elementName);
20 void setParentElementName(QString parentElementName);
21 void setAttributeName(QString attributeName);
22 void setAttributeValue(QString attributeValue);
23
24 void clear();
25private:
26 QString elementName;
27 QString parentElementName;
28 QString attributeName;
29 QString attributeValue;
30};
31
32#endif // XMLFILTER_H
Note: See TracBrowser for help on using the repository browser.