source: XmlTools2/trunk/xmlfilter.cpp@ 917

Last change on this file since 917 was 906, checked in by s10k, 11 years ago
File size: 1.1 KB
RevLine 
[906]1#include "xmlfilter.h"
2
3XmlFilter::XmlFilter()
4{
5
6}
7
8XmlFilter::XmlFilter(QString elementName, QString parentElementName, QString attributeName, QString attributeValue){
9 this->elementName=elementName;
10 this->parentElementName=parentElementName;
11 this->attributeName=attributeName;
12 this->attributeValue=attributeValue;
13}
14
15// QStrings
16
17QString XmlFilter::getElementName(){
18 return this->elementName;
19}
20
21QString XmlFilter::getParentElementName(){
22 return this->parentElementName;
23}
24
25QString XmlFilter::getAttributeName(){
26 return this->attributeName;
27}
28
29QString XmlFilter::getAttributeValue(){
30 return this->attributeValue;
31}
32
33void XmlFilter::setElementName(QString elementName){
34 this->elementName=elementName;
35}
36
37void XmlFilter::setParentElementName(QString parentElementName){
38 this->parentElementName=parentElementName;
39}
40
41void XmlFilter::setAttributeName(QString attributeName){
42 this->attributeName=attributeName;
43}
44
45void XmlFilter::setAttributeValue(QString attributeValue){
46 this->attributeValue=attributeValue;
47}
Note: See TracBrowser for help on using the repository browser.