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