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>
32 lines
421 B
C++
32 lines
421 B
C++
#include "vnotebook.h"
|
|
|
|
VNotebook::VNotebook()
|
|
{
|
|
|
|
}
|
|
|
|
VNotebook::VNotebook(const QString &name, const QString &path)
|
|
: name(name), path(path)
|
|
{
|
|
}
|
|
|
|
QString VNotebook::getName() const
|
|
{
|
|
return this->name;
|
|
}
|
|
|
|
QString VNotebook::getPath() const
|
|
{
|
|
return this->path;
|
|
}
|
|
|
|
void VNotebook::setName(const QString &name)
|
|
{
|
|
this->name = name;
|
|
}
|
|
|
|
void VNotebook::setPath(const QString &path)
|
|
{
|
|
this->path = path;
|
|
}
|