11402 Save copy of project file to a backup database when saving project file

This commit is contained in:
Magne Sjaastad
2024-05-01 09:46:22 +02:00
committed by GitHub
parent 3cd80f0871
commit 4617bcc673
10 changed files with 220 additions and 11 deletions

View File

@@ -39,6 +39,8 @@
#include "cafPdmField.h"
#include "cafPdmObject.h"
class QXmlStreamWriter;
namespace caf
{
//==================================================================================================
@@ -57,6 +59,8 @@ public:
void readFile();
bool writeFile();
QString documentAsString();
void readFile( QIODevice* device );
void writeFile( QIODevice* device );
@@ -64,6 +68,9 @@ public:
protected:
virtual void beforeInitAfterRead();
private:
void writeDocumentToXmlStream( QXmlStreamWriter& xmlStream );
};
} // End of namespace caf