src/document.cpp

changeset 148
e1ced2523cad
parent 143
7b62c52835a1
child 149
008989bc7d6e
child 150
b6cbba6e29a1
--- a/src/document.cpp	Sun Oct 24 11:33:32 2021 +0300
+++ b/src/document.cpp	Tue Nov 02 15:43:57 2021 +0200
@@ -228,33 +228,3 @@
 {
 	this->renderer->adjustGridToView();
 }
-
-/**
- * @brief Attempts to save the document
- * @param errors Where to report any errors that might occurr
- * @return whether or not it succeeded
- */
-bool Document::save(QTextStream& errors)
-{
-	this->model->makeUnofficial();
-	return this->model->save(errors);
-}
-
-/**
- * @brief Gets the current path
- * @return string
- */
-const QString &Document::modelPath() const
-{
-	return this->model->path();
-}
-
-/**
- * @brief Sets the path of the model
- * @param newPath
- */
-void Document::setModelPath(const QString &newPath)
-{
-	this->model->setPath(newPath);
-}
-

mercurial