QXRD  0.11.16
Public Member Functions | Private Attributes | List of all members
QxrdToDoListItem Class Reference

#include <qxrdtodolistitem.h>

Inheritance diagram for QxrdToDoListItem:
Inheritance graph
Collaboration diagram for QxrdToDoListItem:
Collaboration graph

Public Member Functions

 QxrdToDoListItem (int id, bool active, QString d1, QString d2, QString s)
int identifier ()
bool isActive ()
QDateTime insertedDate ()
QDateTime completedDate ()
QString description ()
- Public Member Functions inherited from QcepObject
 QcepObject (QString name, QcepObject *parent)
virtual ~QcepObject ()
virtual void writeSettings (QSettings *set, QString section)
virtual void readSettings (QSettings *set, QString section)
QString get_Name () const
void set_Name (QString name)

Private Attributes

int m_Identifier
bool m_Active
QDateTime m_InsertedDate
QDateTime m_CompletedDate
QString m_Description

Additional Inherited Members

- Public Slots inherited from QcepObject
virtual void printLine (QString line)
virtual void printMessage (QString msg, QDateTime dt=QDateTime::currentDateTime()) const
virtual void criticalMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const
virtual void statusMessage (QString msg, QDateTime ts=QDateTime::currentDateTime()) const
virtual QString settingsScript ()
QString scriptValueLiteral (QVariant v)
- Static Public Member Functions inherited from QcepObject
static int allocatedObjects ()
static int deletedObjects ()
static QSet< QcepObject * > allocatedObjectsSet ()
static QString addSlashes (QString str)
- Properties inherited from QcepObject
QString name

Detailed Description

Definition at line 6 of file qxrdtodolistitem.h.

Constructor & Destructor Documentation

QxrdToDoListItem::QxrdToDoListItem ( int  id,
bool  active,
QString  d1,
QString  d2,
QString  s 

Definition at line 3 of file qxrdtodolistitem.cpp.

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 }
QcepObject(QString name, QcepObject *parent)
Definition: qcepobject.cpp:16
QDateTime m_InsertedDate
QDateTime m_CompletedDate

Member Function Documentation

QDateTime QxrdToDoListItem::completedDate ( )

Definition at line 28 of file qxrdtodolistitem.cpp.

References m_CompletedDate.

29 {
30  return m_CompletedDate;
31 }
QDateTime m_CompletedDate
QString QxrdToDoListItem::description ( )

Definition at line 33 of file qxrdtodolistitem.cpp.

References m_Description.

34 {
35  return m_Description;
36 }
int QxrdToDoListItem::identifier ( )

Definition at line 13 of file qxrdtodolistitem.cpp.

References m_Identifier.

14 {
15  return m_Identifier;
16 }
QDateTime QxrdToDoListItem::insertedDate ( )

Definition at line 23 of file qxrdtodolistitem.cpp.

References m_InsertedDate.

24 {
25  return m_InsertedDate;
26 }
QDateTime m_InsertedDate
bool QxrdToDoListItem::isActive ( )

Definition at line 18 of file qxrdtodolistitem.cpp.

References m_Active.

19 {
20  return m_Active;
21 }

Member Data Documentation

bool QxrdToDoListItem::m_Active

Definition at line 23 of file qxrdtodolistitem.h.

Referenced by isActive().

QDateTime QxrdToDoListItem::m_CompletedDate

Definition at line 25 of file qxrdtodolistitem.h.

Referenced by completedDate().

QString QxrdToDoListItem::m_Description

Definition at line 26 of file qxrdtodolistitem.h.

Referenced by description().

int QxrdToDoListItem::m_Identifier

Definition at line 22 of file qxrdtodolistitem.h.

Referenced by identifier().

QDateTime QxrdToDoListItem::m_InsertedDate

Definition at line 24 of file qxrdtodolistitem.h.

Referenced by insertedDate().

The documentation for this class was generated from the following files: