1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-09 22:47:35 +02:00

19 lines
295 B
C++
Raw Normal View History

2016-12-14 21:50:26 +00:00
#include "qmlnote.h"
using namespace jop;
QmlNote::QmlNote() {}
QString QmlNote::title() const {
return note_.value("title").toString();
2016-12-14 21:50:26 +00:00
}
QString QmlNote::body() const {
return note_.value("body").toString();
2016-12-14 21:50:26 +00:00
}
void QmlNote::setNote(const Note &note) {
note_ = note;
emit changed();
}