-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtree.h
More file actions
44 lines (34 loc) · 740 Bytes
/
tree.h
File metadata and controls
44 lines (34 loc) · 740 Bytes
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
42
43
44
#ifndef TREE_H
#define TREE_H
#include<QString>
#include<QDate>
#include<QDir>
#include <QDialog>
#include "person.h"
#include <QList>
#include <QTextStream>
#include <QDebug>
#include <QVBoxLayout>
class Person;
class Tree
{
public:
Tree();
Tree(QString name, QDateTime updateDate, QDir path, QDir backupPath);
void newPerson(std::shared_ptr<Person> person);
QString Test_DiplayTree();
QList<std::shared_ptr<Person>> getListPerson();
public slots:
// void addPerson(Person person);
void acceptNewPerson();
//signals:
// void add(Tree tree);
protected:
QString name;
QDateTime *updateDate;
QDir path;
QDir backupPath;
private:
QList<std::shared_ptr<Person>> *persons;
};
#endif // TREE_H