-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprojectitem.h
41 lines (34 loc) · 972 Bytes
/
projectitem.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
#ifndef PROJECTITEM_H
#define PROJECTITEM_H
#include <QList>
#include <QDate>
#include <QString>
#include <QDebug>
#include "fileinfoitem.h"
#include "FileInfo.h"
class ProjectItem
{
public:
ProjectItem();
~ProjectItem();
//setters
void setProjectName(QString projectName);
void setCustomer(QString customer);
void setProjectFolder(QString projectFolder);
void setFileInfoListItem(QString data, FileInfo::Option dataType, int itemNumber);
//getters
QString projectName();
QString customer();
QString projectFolder();
QString fileInfoListItem(FileInfo::Option dataType, int itemNumber);
int fileInfoListSize();
void appendFileInfoListItem();
void appendFileInfoListItem(FileInfoItem *fileInfoItem);
void deleteFileInfoListItem(int itemNumber);
private:
QString m_ProjectName;
QString m_Customer;
QString m_ProjectFolder;
QList<FileInfoItem *> m_FileInfoList;
};
#endif // PROJECTITEM_H