mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 17:28:15 +08:00
Ref T28, settings for updater
This commit is contained in:
committed by
Mathew Sutcliffe
parent
f12b69bb87
commit
f4af5e6cc1
@@ -12,6 +12,7 @@
|
||||
#ifndef BLACKGUI_COMPONENTS_SETTINGSMODELCOMPONENT_H
|
||||
#define BLACKGUI_COMPONENTS_SETTINGSMODELCOMPONENT_H
|
||||
|
||||
#include "blackgui/settings/guisettings.h"
|
||||
#include <QFrame>
|
||||
|
||||
namespace Ui { class CSettingsModelComponent; }
|
||||
@@ -33,8 +34,18 @@ namespace BlackGui
|
||||
//! Destructor
|
||||
virtual ~CSettingsModelComponent();
|
||||
|
||||
//! Interval, -1 for disabled
|
||||
int getBackgroundUpdaterIntervallSecs() const;
|
||||
|
||||
private:
|
||||
QScopedPointer<Ui::CSettingsModelComponent> ui;
|
||||
BlackMisc::CSetting<BlackGui::Settings::TBackgroundConsolidation> m_consolidationSetting { this, &CSettingsModelComponent::cacheChanged }; //!< consolidation time
|
||||
|
||||
//! Consolidation time entered
|
||||
void consolidationEntered();
|
||||
|
||||
//! Cache has been changed
|
||||
void cacheChanged();
|
||||
};
|
||||
} // ns
|
||||
} // ns
|
||||
|
||||
Reference in New Issue
Block a user