- Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathfunction.cpp
More file actions
Latest commit
47 lines (36 loc) · 561 Bytes
/
Copy pathfunction.cpp
File metadata and controls
47 lines (36 loc) · 561 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
#include"function.h"
Function::Function()
{
}
QString Function::getId() const
{
return id;
}
voidFunction::setId(const QString &value)
{
id = value;
}
QString Function::getDescription() const
{
return description;
}
voidFunction::setDescription(const QString &value)
{
description = value;
}
intFunction::getValue() const
{
return value;
}
voidFunction::setValue(int value)
{
this->value = value;
}
QString Function::getText() const
{
return text;
}
voidFunction::setText(const QString &value)
{
text = value;
}