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

Use QSettings to store notebooks info in INI format. Signed-off-by: Le Tan <tamlokveer@gmail.com>
23 lines
370 B
C++
23 lines
370 B
C++
#ifndef VNOTEBOOK_H
|
|
#define VNOTEBOOK_H
|
|
|
|
#include <QString>
|
|
|
|
class VNotebook
|
|
{
|
|
public:
|
|
VNotebook();
|
|
VNotebook(const QString &name, const QString &path);
|
|
|
|
QString getName() const;
|
|
QString getPath() const;
|
|
void setName(const QString &name);
|
|
void setPath(const QString &path);
|
|
|
|
private:
|
|
QString name;
|
|
QString path;
|
|
};
|
|
|
|
#endif // VNOTEBOOK_H
|