Changeset View
Changeset View
Standalone View
Standalone View
libs/widgetutils/KoProgressUpdater.cpp
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 51 | private: | |||
---|---|---|---|---|---|
52 | KoProgressProxy *parentProgressProxy; | 52 | KoProgressProxy *parentProgressProxy; | ||
53 | QPointer<KoUpdater> parentUpdater; | 53 | QPointer<KoUpdater> parentUpdater; | ||
54 | 54 | | |||
55 | public: | 55 | public: | ||
56 | Mode mode; | 56 | Mode mode; | ||
57 | int currentProgress = 0; | 57 | int currentProgress = 0; | ||
58 | bool isUndefinedState = false; | 58 | bool isUndefinedState = false; | ||
59 | bool updated; // is true whenever the progress needs to be recomputed | 59 | bool updated; // is true whenever the progress needs to be recomputed | ||
60 | QTimer updateGuiTimer; // fires regulary to update the progress bar widget | 60 | QTimer updateGuiTimer; // fires regularly to update the progress bar widget | ||
61 | QList<QPointer<KoUpdaterPrivate> > subtasks; | 61 | QList<QPointer<KoUpdaterPrivate> > subtasks; | ||
62 | bool canceled; | 62 | bool canceled; | ||
63 | int updateInterval = 250; // ms, 4 updates per second should be enough | 63 | int updateInterval = 250; // ms, 4 updates per second should be enough | ||
64 | bool autoNestNames = false; | 64 | bool autoNestNames = false; | ||
65 | QString taskName; | 65 | QString taskName; | ||
66 | int taskMax = -1; | 66 | int taskMax = -1; | ||
67 | bool isStarted = false; | 67 | bool isStarted = false; | ||
68 | 68 | | |||
▲ Show 20 Lines • Show All 280 Lines • Show Last 20 Lines |