QXRD
0.11.16
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
qxrd
source
qxrdtodolistitem.cpp
Go to the documentation of this file.
1
#include "
qxrdtodolistitem.h
"
2
3
QxrdToDoListItem::QxrdToDoListItem
(
int
id
,
bool
active, QString d1, QString d2, QString s)
4
:
QcepObject
(
"toDoItem"
, NULL),
5
m_Identifier
(id),
6
m_Active
(active),
7
m_InsertedDate
(QDateTime::fromString(d1, Qt::ISODate)),
8
m_CompletedDate
(QDateTime::fromString(d2, Qt::ISODate)),
9
m_Description
(s)
10
{
11
}
12
13
int
QxrdToDoListItem::identifier
()
14
{
15
return
m_Identifier
;
16
}
17
18
bool
QxrdToDoListItem::isActive
()
19
{
20
return
m_Active
;
21
}
22
23
QDateTime
QxrdToDoListItem::insertedDate
()
24
{
25
return
m_InsertedDate
;
26
}
27
28
QDateTime
QxrdToDoListItem::completedDate
()
29
{
30
return
m_CompletedDate
;
31
}
32
33
QString
QxrdToDoListItem::description
()
34
{
35
return
m_Description
;
36
}
QxrdToDoListItem::insertedDate
QDateTime insertedDate()
Definition:
qxrdtodolistitem.cpp:23
QxrdToDoListItem::m_Description
QString m_Description
Definition:
qxrdtodolistitem.h:26
QxrdToDoListItem::identifier
int identifier()
Definition:
qxrdtodolistitem.cpp:13
QxrdToDoListItem::m_Identifier
int m_Identifier
Definition:
qxrdtodolistitem.h:22
QxrdToDoListItem::isActive
bool isActive()
Definition:
qxrdtodolistitem.cpp:18
qxrdtodolistitem.h
QxrdToDoListItem::description
QString description()
Definition:
qxrdtodolistitem.cpp:33
QcepObject
Definition:
qcepobject.h:10
QxrdToDoListItem::QxrdToDoListItem
QxrdToDoListItem(int id, bool active, QString d1, QString d2, QString s)
Definition:
qxrdtodolistitem.cpp:3
QxrdToDoListItem::m_Active
bool m_Active
Definition:
qxrdtodolistitem.h:23
QxrdToDoListItem::m_InsertedDate
QDateTime m_InsertedDate
Definition:
qxrdtodolistitem.h:24
QxrdToDoListItem::m_CompletedDate
QDateTime m_CompletedDate
Definition:
qxrdtodolistitem.h:25
QxrdToDoListItem::completedDate
QDateTime completedDate()
Definition:
qxrdtodolistitem.cpp:28
Generated by
1.8.10