qt: Add SynchronizationState enum to signal parameter

This commit is contained in:
Hennadii Stepanov
2020-03-04 22:12:07 +02:00
parent 3c709aa69d
commit 06d519f0b4
3 changed files with 8 additions and 4 deletions

View File

@@ -12,10 +12,10 @@
#include <memory>
class BanTableModel;
class CBlockIndex;
class OptionsModel;
class PeerTableModel;
class CBlockIndex;
enum class SynchronizationState;
namespace interfaces {
class Handler;
@@ -100,7 +100,7 @@ private:
Q_SIGNALS:
void numConnectionsChanged(int count);
void numBlocksChanged(int count, const QDateTime& blockDate, double nVerificationProgress, bool header);
void numBlocksChanged(int count, const QDateTime& blockDate, double nVerificationProgress, bool header, SynchronizationState sync_state);
void mempoolSizeChanged(long count, size_t mempoolSizeInBytes);
void networkActiveChanged(bool networkActive);
void alertsChanged(const QString &warnings);