00001 //LabPlot : Project.h 00002 00003 #ifndef PROJECT_H 00004 #define PROJECT_H 00005 00006 #include <qstring.h> 00007 #include <qdatetime.h> 00008 #include <qdom.h> 00009 00010 class Project 00011 { 00012 public: 00013 Project(); 00014 QDomElement saveXML(QDomDocument doc); 00015 void openXML(QDomNode node); 00016 QString Filename() { return filename; } 00017 void setFilename(QString f) {filename=f;} 00018 int Version() {return version; } 00019 void setVersion (int v) { version = v;} 00020 QString LabPlot() { return labplot; } 00021 void setLabPlot(QString l) {labplot=l;} 00022 QString Title() { return title; } 00023 void setTitle(QString t) {title=t;} 00024 QString Author() { return author; } 00025 void setAuthor(QString a) {author=a;} 00026 QDateTime Created() { return created; } 00027 void setCreated(QDateTime c) {created=c;} 00028 QDateTime Modified() { return modified; } 00029 void setModified(QDateTime m) {modified=m;} 00030 QString Comment() { return comment; } 00031 void setComment(QString c) {comment=c;} 00032 private: 00033 QString filename; 00034 int version; 00035 QString labplot; 00036 QString title; 00037 QString author; 00038 QDateTime created; 00039 QDateTime modified; 00040 QString comment; 00041 }; 00042 00043 #endif //PROJECT_H