+void SignalProxy::setHeartBeatInterval(int secs) {
+ if(secs != _heartBeatInterval) {
+ _heartBeatInterval = secs;
+ _heartBeatTimer.setInterval(secs * 1000);
+ }
+}
+
+void SignalProxy::setMaxHeartBeatCount(int max) {
+ if(max < 0)
+ _heartBeatTimer.stop();
+ else {
+ _maxHeartBeatCount = max;
+ if(!_heartBeatTimer.isActive())
+ _heartBeatTimer.start();
+ }
+}
+