vnote/vnote.h
Le Tan 4d9946bfe1 support creating new notebook
Thanks to [benjsperry](https://github.com/driftyco/ionicons) for the
icons.

Signed-off-by: Le Tan <tamlokveer@gmail.com>
2016-10-17 11:28:37 +08:00

33 lines
543 B
C++

#ifndef VNOTE_H
#define VNOTE_H
#include <QString>
#include <QVector>
#include <QSettings>
#include <QFont>
#include <QObject>
#include "vnotebook.h"
class VNote : public QObject
{
Q_OBJECT
public:
VNote();
const QVector<VNotebook>& getNotebooks();
static void decorateTemplate();
static QString templateHtml;
void createNotebook(const QString &name, const QString &path);
signals:
void notebooksChanged(const QVector<VNotebook> &notebooks);
private:
QVector<VNotebook> notebooks;
};
#endif // VNOTE_H