mirror of
https://github.com/laurent22/joplin.git
synced 2025-04-17 11:26:26 +02:00
19 lines
295 B
C++
Executable File
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 ¬e) {
|
|
note_ = note;
|
|
emit changed();
|
|
}
|