void WEffectParameterBase::setEffectParameterSlot(EffectParameterSlotBasePointer pEffectParameterSlot) { m_pEffectParameterSlot = pEffectParameterSlot; if (m_pEffectParameterSlot) { connect(m_pEffectParameterSlot.data(), SIGNAL(updated()), this, SLOT(parameterUpdated())); } parameterUpdated(); }
bool CTreeModel::setData(const QModelIndex & item_index, const QVariant & value, int role) { bool tmp = QStandardItemModel::setData(item_index, value, role); emit parameterUpdated(); return tmp; }
WEffectParameterBase::WEffectParameterBase(QWidget* pParent, EffectsManager* pEffectsManager) : WLabel(pParent), m_pEffectsManager(pEffectsManager) { parameterUpdated(); }