mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-10 05:55:33 +08:00
Ref T164, show (by LED) when consolidating data
* added LED in info bar * signal in background updater and * connecting them
This commit is contained in:
@@ -28,6 +28,8 @@ namespace BlackCore
|
||||
*/
|
||||
class BLACKCORE_EXPORT CBackgroundDataUpdater : public BlackMisc::CContinuousWorker
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Log categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
@@ -35,6 +37,10 @@ namespace BlackCore
|
||||
//! Constructor
|
||||
CBackgroundDataUpdater(QObject *owner);
|
||||
|
||||
signals:
|
||||
//! Consolidation
|
||||
void consolidating(bool started);
|
||||
|
||||
private:
|
||||
int m_cycle = 0; //!< cycle
|
||||
bool m_inWork = false; //!< indicates a running update
|
||||
|
||||
Reference in New Issue
Block a user