mirror of
https://gitee.com/vnotex/vnote.git
synced 2025-07-05 05:49:53 +08:00

Thanks to [benjsperry](https://github.com/driftyco/ionicons) for the icons. Signed-off-by: Le Tan <tamlokveer@gmail.com>
33 lines
543 B
C++
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> ¬ebooks);
|
|
|
|
private:
|
|
QVector<VNotebook> notebooks;
|
|
};
|
|
|
|
#endif // VNOTE_H
|