24 retval->mName = name.isEmpty() ? uid : name;
26 retval->mFilePath.setFilepath(value);
27 foreach (QString path, paths)
28 retval->mFilePath.appendRootPath(path);
30 retval->mFilePath.setFilepath(retval->mStore.readValue(value));
boost::shared_ptr< class FilePreviewProperty > FilePreviewPropertyPtr
Helper class for storing one string value in an xml document.
static FilePreviewPropertyPtr initialize(const QString &uid, QString name, QString help, QString value, QStringList paths, QDomNode root=QDomNode())
Namespace for all CustusX production code.