src/download.h

changeset 540
0334789cb4d7
parent 539
72ad83a67165
child 541
0e38beeb050a
equal deleted inserted replaced
539:72ad83a67165 540:0334789cb4d7
34 34
35 // ============================================================================= 35 // =============================================================================
36 // ----------------------------------------------------------------------------- 36 // -----------------------------------------------------------------------------
37 class PartDownloader : public QDialog 37 class PartDownloader : public QDialog
38 { Q_OBJECT 38 { Q_OBJECT
39 PROPERTY (public, LDFile*, PrimaryFile, NO_OPS, NO_CB) 39 PROPERTY (public, LDFile*, PrimaryFile, NO_OPS, STOCK_WRITE)
40 PROPERTY (public, bool, Aborted, BOOL_OPS, NO_CB) 40 PROPERTY (public, bool, Aborted, BOOL_OPS, STOCK_WRITE)
41 41
42 public: 42 public:
43 constexpr static const char* k_UnofficialURL = "http://ldraw.org/library/unofficial/"; 43 constexpr static const char* k_UnofficialURL = "http://ldraw.org/library/unofficial/";
44 44
45 enum Source 45 enum Source
85 85
86 // ============================================================================= 86 // =============================================================================
87 // ----------------------------------------------------------------------------- 87 // -----------------------------------------------------------------------------
88 class PartDownloadRequest : public QObject 88 class PartDownloadRequest : public QObject
89 { Q_OBJECT 89 { Q_OBJECT
90 PROPERTY (public, int, TableRow, NUM_OPS, NO_CB) 90 PROPERTY (public, int, TableRow, NUM_OPS, STOCK_WRITE)
91 91
92 public: 92 public:
93 enum State 93 enum State
94 { Requesting, 94 { Requesting,
95 Downloading, 95 Downloading,

mercurial