Several status view fixes
Change-Id: I4118c40eeca6b4660bd1ca8f456c650ffb04a637
diff --git a/src/status-viewer.hpp b/src/status-viewer.hpp
index ac815b8..8d8fe23 100644
--- a/src/status-viewer.hpp
+++ b/src/status-viewer.hpp
@@ -84,20 +84,24 @@
void
present();
+ void
+ cancelEvents();
+
private:
- Face& s_face;
- KeyChain& s_keyChain;
- nfd::Controller* s_controller;
- Scheduler s_scheduler;
+ QQmlApplicationEngine m_engine;
- QQmlApplicationEngine s_engine;
+ Face& m_face;
+ KeyChain& m_keyChain;
+ nfd::Controller* m_controller;
+ Scheduler m_scheduler;
+ util::scheduler::ScopedEventId m_nextStatusRetrieval;
- ForwarderStatusModel s_forwarderStatusModel;
- ChannelStatusModel s_channelModel;
- FaceStatusModel s_faceModel;
- FibStatusModel s_fibModel;
- RibStatusModel s_ribModel;
- StrategyStatusModel s_strategyModel;
+ ForwarderStatusModel m_forwarderStatusModel;
+ ChannelStatusModel m_channelModel;
+ FaceStatusModel m_faceModel;
+ FibStatusModel m_fibModel;
+ RibStatusModel m_ribModel;
+ StrategyStatusModel m_strategyModel;
};
} // namespace ndn