1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-04-17 11:26:26 +02:00
2017-01-02 13:17:15 +01:00

19 lines
295 B
C++
Executable File

#include "qmlnote.h"
using namespace jop;
QmlNote::QmlNote() {}
QString QmlNote::title() const {
return note_.value("title").toString();
}
QString QmlNote::body() const {
return note_.value("body").toString();
}
void QmlNote::setNote(const Note &note) {
note_ = note;
emit changed();
}