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

Move config related stuff to VConfigManager. For a config value, VConfigManager will first try to look it up in the user-scoped vnote.ini config file, if it is empty, then try to look it up in the default vnote.ini. Signed-off-by: Le Tan <tamlokveer@gmail.com>
26 lines
352 B
C++
26 lines
352 B
C++
#ifndef VNOTE_H
|
|
#define VNOTE_H
|
|
|
|
#include <QString>
|
|
#include <QVector>
|
|
#include <QSettings>
|
|
#include <QFont>
|
|
#include "vnotebook.h"
|
|
|
|
class VNote
|
|
{
|
|
public:
|
|
VNote();
|
|
|
|
const QVector<VNotebook>& getNotebooks();
|
|
|
|
static void decorateTemplate();
|
|
|
|
static QString templateHtml;
|
|
|
|
private:
|
|
QVector<VNotebook> notebooks;
|
|
};
|
|
|
|
#endif // VNOTE_H
|