11 #ifndef CXFILEPATHPROPERTYBASE_H
12 #define CXFILEPATHPROPERTYBASE_H
16 #include <QDomElement>
34 void appendRootPath(QString path);
35 void setFilepath(QString filename);
37 QString getRelativeFilepath()
const;
38 QString getAbsoluteFilepath()
const;
40 QString getRootPath()
const;
41 QStringList getRootPaths()
const;
44 void evaluate(QString* foundRoot,
bool* found, QString* foundRelative, QString* foundAbsolute)
const;
65 virtual QString getDisplayName()
const;
69 return QVariant(this->getValue());
73 this->setValue(val.toString());
76 virtual QString
getUid()
const {
return this->getDisplayName()+
"_uid"; }
77 virtual bool setValue(
const QString& value);
78 virtual QString getValue()
const;
94 #endif // CXFILEPATHPROPERTYBASE_H