Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef SCHEDULE_H
- #define SCHEDULE_H
- #include <QTreeWidgetItem>
- #include <QDateTime>
- class Schedule : public QTreeWidgetItem {
- public:
- //! Constructor
- /*!
- \param rowID The database row ID
- \param title Schedule's title
- \param expiration
- */
- explicit Schedule(int rowID, const QString &title, const QString &text, QDateTime expiration);
- int dbID();
- private:
- //! Database row ID
- int _rowID;
- QString _title;
- QString _text;
- QDateTime _expiration;
- };
- #endif // SCHEDULE_H
Add Comment
Please, Sign In to add comment