#ifndef NOTE_H #define NOTE_H #include <QObject> class Note : public QObject { Q_OBJECT public: Note(QString Text); Note(int Id, QString Text); enum Status { NORMAL = 0, NEW = 1, DELETED = 2 }; private: int id; QString text; Status status; }; #endif // NOTE_H