Changeset View
Changeset View
Standalone View
Standalone View
src/qml/experimental/monitor.h
Show First 20 Lines • Show All 72 Lines • ▼ Show 20 Line(s) | 72 | private: | |||
---|---|---|---|---|---|
73 | void fetchTotalFiles(); | 73 | void fetchTotalFiles(); | ||
74 | void updateRemainingTime(); | 74 | void updateRemainingTime(); | ||
75 | 75 | | |||
76 | QDBusConnection m_bus; | 76 | QDBusConnection m_bus; | ||
77 | 77 | | |||
78 | QString m_filePath; | 78 | QString m_filePath; | ||
79 | bool m_balooRunning = false; | 79 | bool m_balooRunning = false; | ||
80 | Baloo::IndexerState m_indexerState = Baloo::Unavailable; | 80 | Baloo::IndexerState m_indexerState = Baloo::Unavailable; | ||
81 | QElapsedTimer m_remainingTimeTimer; | ||||
81 | 82 | | |||
82 | org::kde::baloo::scheduler* m_scheduler; | 83 | org::kde::baloo::scheduler* m_scheduler; | ||
83 | org::kde::baloo::fileindexer* m_fileindexer; | 84 | org::kde::baloo::fileindexer* m_fileindexer; | ||
84 | 85 | | |||
85 | uint m_totalFiles = 0; | 86 | uint m_totalFiles = 0; | ||
86 | uint m_filesIndexed = 0; | 87 | uint m_filesIndexed = 0; | ||
87 | QString m_remainingTime; | 88 | QString m_remainingTime; | ||
88 | }; | 89 | }; | ||
89 | } | 90 | } | ||
90 | #endif //BALOOMONITOR_MONITOR_H | 91 | #endif //BALOOMONITOR_MONITOR_H |