mirror of https://github.com/laurent22/joplin.git
21 lines
306 B
C++
21 lines
306 B
C++
|
#include "qmlnote.h"
|
||
|
|
||
|
using namespace jop;
|
||
|
|
||
|
QmlNote::QmlNote() {}
|
||
|
|
||
|
QString QmlNote::title() const {
|
||
|
return note_.title();
|
||
|
}
|
||
|
|
||
|
QString QmlNote::body() const {
|
||
|
return note_.body();
|
||
|
}
|
||
|
|
||
|
void QmlNote::setNote(const Note ¬e) {
|
||
|
note_ = note;
|
||
|
emit changed();
|
||
|
//emit titleChanged();
|
||
|
//emit bodyChanged();
|
||
|
}
|