vnotebook.cpp 421 B

12345678910111213141516171819202122232425262728293031
  1. #include "vnotebook.h"
  2. VNotebook::VNotebook()
  3. {
  4. }
  5. VNotebook::VNotebook(const QString &name, const QString &path)
  6. : name(name), path(path)
  7. {
  8. }
  9. QString VNotebook::getName() const
  10. {
  11. return this->name;
  12. }
  13. QString VNotebook::getPath() const
  14. {
  15. return this->path;
  16. }
  17. void VNotebook::setName(const QString &name)
  18. {
  19. this->name = name;
  20. }
  21. void VNotebook::setPath(const QString &path)
  22. {
  23. this->path = path;
  24. }