src/file.h

changeset 500
cad8cdc42a64
parent 498
791c831c8020
child 504
6a1fa662bfc1
--- a/src/file.h	Sun Oct 06 21:37:05 2013 +0300
+++ b/src/file.h	Wed Oct 16 15:32:38 2013 +0300
@@ -47,6 +47,9 @@
 //
 // A file is implicit when they are opened automatically for caching purposes
 // and are hidden from the user. User-opened files are explicit (not implicit).
+//
+// The default name is a placeholder, initially suggested name for a file. The
+// primitive generator uses this to give initial names to primitives.
 // =============================================================================
 class LDFile : public QObject
 {	Q_OBJECT
@@ -54,6 +57,7 @@
 		READ_PROPERTY (History, history, setHistory)
 		READ_PROPERTY (List<LDObject*>, vertices, setVertices)
 		PROPERTY (str, name, setName)
+		PROPERTY (str, defaultName, setDefaultName)
 		PROPERTY (bool, implicit, setImplicit)
 		PROPERTY (List<LDObject*>, cache, setCache)
 		PROPERTY (long, savePos, setSavePos)

mercurial