mirror of https://github.com/laurent22/joplin.git
21 lines
306 B
C++
Executable File
21 lines
306 B
C++
Executable File
#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();
|
|
}
|