66#include " util/valuetransformer.h"
77#include " util/assert.h"
88
9- ControlWidgetConnection::ControlWidgetConnection (WBaseWidget* pBaseWidget,
10- const ConfigKey& key,
11- ValueTransformer* pTransformer)
9+ ControlWidgetConnection::ControlWidgetConnection (
10+ WBaseWidget* pBaseWidget,
11+ const ConfigKey& key,
12+ ValueTransformer* pTransformer)
1213 : m_pWidget(pBaseWidget),
1314 m_pValueTransformer(pTransformer) {
1415 m_pControl = new ControlProxy (key, this );
@@ -38,11 +39,10 @@ double ControlWidgetConnection::getControlParameterForValue(double value) const
3839 return parameter;
3940}
4041
41- ControlParameterWidgetConnection::ControlParameterWidgetConnection (WBaseWidget* pBaseWidget,
42- const ConfigKey& key,
43- ValueTransformer* pTransformer,
44- DirectionOption directionOption,
45- EmitOption emitOption)
42+ ControlParameterWidgetConnection::ControlParameterWidgetConnection (
43+ WBaseWidget* pBaseWidget, const ConfigKey& key,
44+ ValueTransformer* pTransformer, DirectionOption directionOption,
45+ EmitOption emitOption)
4646 : ControlWidgetConnection(pBaseWidget, key, pTransformer),
4747 m_directionOption(directionOption),
4848 m_emitOption(emitOption) {
@@ -92,10 +92,9 @@ void ControlParameterWidgetConnection::setControlParameterUp(double v) {
9292 }
9393}
9494
95- ControlWidgetPropertyConnection::ControlWidgetPropertyConnection (WBaseWidget* pBaseWidget,
96- const ConfigKey& key,
97- ValueTransformer* pTransformer,
98- const QString& propertyName)
95+ ControlWidgetPropertyConnection::ControlWidgetPropertyConnection (
96+ WBaseWidget* pBaseWidget, const ConfigKey& key,
97+ ValueTransformer* pTransformer, const QString& propertyName)
9998 : ControlWidgetConnection(pBaseWidget, key, pTransformer),
10099 m_propertyName(propertyName.toAscii()) {
101100 slotControlValueChanged (m_pControl->get ());
@@ -104,9 +103,11 @@ ControlWidgetPropertyConnection::ControlWidgetPropertyConnection(WBaseWidget* pB
104103QString ControlWidgetPropertyConnection::toDebugString () const {
105104 const ConfigKey& key = getKey ();
106105 return QString (" %1,%2 Parameter: %3 Property: %4 Value: %5" ).arg (
107- key.group , key.item , QString::number (m_pControl->getParameter ()), m_propertyName,
108- m_pWidget->toQWidget ()->property (
109- m_propertyName.constData ()).toString ());
106+ key.group ,
107+ key.item ,
108+ QString::number (m_pControl->getParameter ()),
109+ m_propertyName,
110+ m_pWidget->toQWidget ()->property (m_propertyName.constData ()).toString ());
110111}
111112
112113void ControlWidgetPropertyConnection::slotControlValueChanged (double v) {
0 commit comments