Restoring now reads from the intermediate representation

Only the intermediate representation is filled in from the stream
now. TODO: GUI->intermediate.
This commit is contained in:
Sergio Martins
2019-09-20 17:24:22 +01:00
parent 1ecc42433b
commit 65c9693a62
19 changed files with 148 additions and 250 deletions

View File

@@ -31,6 +31,7 @@
#include "docks_export.h"
#include "KDDockWidgets.h"
#include "QWidgetAdapter.h"
#include "LayoutSaver_p.h"
#include <QVector>
#include <QWidget>
@@ -78,7 +79,7 @@ public:
///@brief destructor
~DockWidgetBase() override;
static DockWidgetBase *createFromDataStream(QDataStream &ds);
static DockWidgetBase *createFromSaved(LayoutSaver::DockWidget::Ptr);
/**
* @brief docks @p other widget into this one. Tabs will be shown.