From 840b97da83e08ac48d35a7fb5262df50247d309e Mon Sep 17 00:00:00 2001 From: Guido Ranzuglia granzuglia Date: Mon, 10 Jan 2011 14:38:55 +0000 Subject: [PATCH] added docLabel member --- src/common/meshmodel.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/common/meshmodel.h b/src/common/meshmodel.h index 09a6402fc..52934bdba 100644 --- a/src/common/meshmodel.h +++ b/src/common/meshmodel.h @@ -494,7 +494,12 @@ private: */ QString fullPathFilename; + //it is the label of the document. it should only be something like Project_n (a temporary name for a new empty document) or the fullPathFilename. + QString documentLabel; + public: + void setDocLabel(const QString& docLb) {documentLabel = docLb;} + QString docLabel() const {return documentLabel;} QString pathName() const {QFileInfo fi(fullPathFilename); return fi.absolutePath();} void setFileName(const QString& newFileName) {fullPathFilename = newFileName;} GLLogStream Log;