src/file.h

changeset 550
d97594e3fc54
parent 541
0e38beeb050a
equal deleted inserted replaced
549:715d9a7f6598 550:d97594e3fc54
50 // 50 //
51 // The default name is a placeholder, initially suggested name for a file. The 51 // The default name is a placeholder, initially suggested name for a file. The
52 // primitive generator uses this to give initial names to primitives. 52 // primitive generator uses this to give initial names to primitives.
53 // ============================================================================= 53 // =============================================================================
54 class LDFile : public QObject 54 class LDFile : public QObject
55 { Q_OBJECT 55 { properties:
56 PROPERTY (private, QList<LDObject*>, Objects, NO_OPS, STOCK_WRITE) 56 Q_OBJECT
57 PROPERTY (private, History*, History, NO_OPS, STOCK_WRITE) 57 PROPERTY (private, QList<LDObject*>, Objects, NO_OPS, STOCK_WRITE)
58 PROPERTY (private, QList<LDObject*>, Vertices, NO_OPS, STOCK_WRITE) 58 PROPERTY (private, History*, History, NO_OPS, STOCK_WRITE)
59 PROPERTY (public, str, Name, STR_OPS, STOCK_WRITE) 59 PROPERTY (private, QList<LDObject*>, Vertices, NO_OPS, STOCK_WRITE)
60 PROPERTY (public, str, DefaultName, STR_OPS, STOCK_WRITE) 60 PROPERTY (public, str, Name, STR_OPS, STOCK_WRITE)
61 PROPERTY (public, bool, Implicit, BOOL_OPS, STOCK_WRITE) 61 PROPERTY (public, str, DefaultName, STR_OPS, STOCK_WRITE)
62 PROPERTY (public, QList<LDObject*>, Cache, NO_OPS, STOCK_WRITE) 62 PROPERTY (public, bool, Implicit, BOOL_OPS, STOCK_WRITE)
63 PROPERTY (public, long, SavePosition, NUM_OPS, STOCK_WRITE) 63 PROPERTY (public, QList<LDObject*>, Cache, NO_OPS, STOCK_WRITE)
64 PROPERTY (public, QListWidgetItem*, ListItem, NO_OPS, STOCK_WRITE) 64 PROPERTY (public, long, SavePosition, NUM_OPS, STOCK_WRITE)
65 PROPERTY (public, QListWidgetItem*, ListItem, NO_OPS, STOCK_WRITE)
65 66
66 public: 67 public:
67 LDFile(); 68 LDFile();
68 ~LDFile(); 69 ~LDFile();
69 70

mercurial