refs #368, updated components

* clear when connection status changed
* rowCount changed with filter parameter
This commit is contained in:
Klaus Basan
2015-01-18 23:27:18 +01:00
parent 5ae8f074b8
commit f0cc1ac003
9 changed files with 66 additions and 17 deletions

View File

@@ -63,9 +63,16 @@ namespace BlackGui
//! \copydoc CTimerBasedComponent::stopTimer
void stopTimer() { Q_ASSERT(this->m_updateTimer); this->m_updateTimer->stopTimer(); }
protected:
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
void runtimeHasBeenSet() override;
private slots:
//! Number of elements changed
void ps_countChanged(int count);
void ps_onCountChanged(int count, bool withFilter);
//! Connection status
void ps_connectionStatusChanged(uint from, uint to);
private:
QScopedPointer<Ui::CUserComponent> ui;