SHARE
TWEET

Mail

seberm Aug 29th, 2010 17 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef SCHEDULE_H
  2. #define SCHEDULE_H
  3.  
  4. #include <QTreeWidgetItem>
  5. #include <QDateTime>
  6.  
  7. class Schedule : public QTreeWidgetItem {
  8.  
  9. public:
  10.         //! Constructor
  11.         /*!
  12.                 \param rowID The database row ID
  13.                 \param title Schedule's title
  14.                 \param expiration
  15.         */
  16.         explicit Schedule(int rowID, const QString &title, const QString &text, QDateTime expiration);
  17.        
  18.         int dbID();
  19.  
  20.  
  21. private:
  22.         //! Database row ID
  23.         int _rowID;
  24.         QString _title;
  25.         QString _text;
  26.         QDateTime _expiration;
  27.  
  28. };
  29.  
  30. #endif // SCHEDULE_H
RAW Paste Data
Top