src/mainwindow.h

changeset 1012
413ecd6b9801
parent 1010
969b48eddd6b
child 1014
f0a8ecb6a357
child 1217
314e12e23c3a
--- a/src/mainwindow.h	Sat Oct 24 13:19:27 2015 +0300
+++ b/src/mainwindow.h	Wed Nov 18 19:05:22 2015 +0200
@@ -26,7 +26,6 @@
 #include <QMetaMethod>
 #include "ldObject.h"
 #include "colors.h"
-#include "configurationvaluebag.h"
 #include "doublemap.h"
 
 class MessageManager;
@@ -79,7 +78,6 @@
 	void buildObjectList();
 	void changeDocument (LDDocument* f);
 	void closeInitialDocument();
-	ConfigurationValueBag* configBag() { return &m_configOptions; }
 	void createBlankDocument();
 	LDDocument* currentDocument();
 	void currentDocumentClosed();
@@ -96,7 +94,6 @@
 	LDColor getUniformSelectedColor();
 	class GuiUtilities* guiUtilities();
 	void loadShortcuts();
-	class QSettings* makeSettings (QObject* parent = nullptr);
 	LDDocument* newDocument (bool cache = false);
 	GLRenderer* renderer();
 	void refresh();
@@ -136,7 +133,6 @@
 private:
 	struct ToolInfo { QMetaMethod method; Toolset* object; };
 
-	ConfigurationValueBag m_configOptions;
 	class GuiUtilities* m_guiUtilities;
 	GLRenderer* m_renderer;
 	LDObjectList m_sel;
@@ -226,3 +222,4 @@
 };
 
 void populatePrimitivesTree (QTreeWidget* tw, const QString& selectByDefault = QString());
+QSettings* makeSettings (QObject* parent = nullptr);

mercurial