| 89 | |
| 90 | |
| 91 | void Effect::loadSettings( const QDomElement & _this ) |
| 92 | { |
| 93 | m_enabledModel.loadSettings( _this, "on" ); |
| 94 | m_wetDryModel.loadSettings( _this, "wet" ); |
| 95 | m_autoQuitModel.loadSettings( _this, "autoquit" ); |
| 96 | m_gateModel.loadSettings( _this, "gate" ); |
| 97 | |
| 98 | QDomNode node = _this.firstChild(); |
| 99 | while( !node.isNull() ) |
| 100 | { |
| 101 | if( node.isElement() ) |
| 102 | { |
| 103 | if( controls()->nodeName() == node.nodeName() ) |
| 104 | { |
| 105 | controls()->restoreState( node.toElement() ); |
| 106 | } |
| 107 | } |
| 108 | node = node.nextSibling(); |
| 109 | } |
| 110 | } |
| 111 | |
| 112 | |
| 113 |
nothing calls this directly
no test coverage detected