QXRD  0.11.16
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)),
10 {
11 }
12 
14 {
15  return m_Identifier;
16 }
17 
19 {
20  return m_Active;
21 }
22 
24 {
25  return m_InsertedDate;
26 }
27 
29 {
30  return m_CompletedDate;
31 }
32 
34 {
35  return m_Description;
36 }
QDateTime insertedDate()
QxrdToDoListItem(int id, bool active, QString d1, QString d2, QString s)
QDateTime m_InsertedDate
QDateTime m_CompletedDate
QDateTime completedDate()