mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #506, use digest signal modelDataChangedDigest
This commit is contained in:
committed by
Mathew Sutcliffe
parent
24bf0b940f
commit
3c8056c838
@@ -1207,6 +1207,8 @@ namespace BlackGui
|
||||
this->m_model->setSelectionModel(this);
|
||||
bool c = connect(this->m_model, &ModelClass::modelDataChanged, this, &CViewBase::modelDataChanged);
|
||||
Q_ASSERT_X(c, Q_FUNC_INFO, "Connect failed");
|
||||
c = connect(this->m_model, &ModelClass::modelDataChangedDigest, this, &CViewBase::modelDataChangedDigest);
|
||||
Q_ASSERT_X(c, Q_FUNC_INFO, "Connect failed");
|
||||
c = connect(this->m_model, &ModelClass::objectChanged, this, &CViewBase::objectChanged);
|
||||
Q_ASSERT_X(c, Q_FUNC_INFO, "Connect failed");
|
||||
c = connect(this->m_model, &ModelClass::changed, this, &CViewBase::modelChanged);
|
||||
|
||||
@@ -274,6 +274,9 @@ namespace BlackGui
|
||||
//! Model data changed
|
||||
void modelDataChanged(int count, bool withFilter);
|
||||
|
||||
//! Model data changed,
|
||||
void modelDataChangedDigest(int count, bool withFilter);
|
||||
|
||||
//! Model bas been changed (means data in view have been changed)
|
||||
void modelChanged();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user