mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-14 18:27:44 +02:00
33 lines
319 B
C++
Executable File
33 lines
319 B
C++
Executable File
#ifndef QMLNOTE_H
|
|
#define QMLNOTE_H
|
|
|
|
#include <stable.h>
|
|
#include "note.h"
|
|
|
|
namespace jop {
|
|
|
|
class QmlNote : public QObject {
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
QmlNote();
|
|
QString title() const;
|
|
QString body() const;
|
|
void setNote(const Note& note);
|
|
|
|
signals:
|
|
|
|
void changed();
|
|
|
|
private:
|
|
|
|
Note note_;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif // QMLNOTE_H
|