#include "UmlItem.h" #include #include "UmlCom.h" UmlItem::~UmlItem() { } void UmlItem::fileControl(bool) { UmlCom::trace("Error : must be applied on a Package"); } void UmlItem::getFiles(QDict & files, unsigned rec) { QFileInfo fi(supportFile()); if (fi.exists()) files.replace(fi.fileName(), (void *) 1); const QVector ch = children(); unsigned index; for (index = 0; index != ch.size(); index += 1) ch[index]->getFiles(files, rec); }