| 109 | } |
| 110 | |
| 111 | void CommandStateProxy::Save(mitk::IPreferences* store, |
| 112 | const std::string& preferenceKey) |
| 113 | { |
| 114 | if (LoadState()) |
| 115 | { |
| 116 | if (PersistentState::Pointer persistableState = state.Cast<PersistentState>()) |
| 117 | { |
| 118 | persistableState->Save(store, preferenceKey); |
| 119 | } |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | void CommandStateProxy::SetId(const QString& id) |
| 124 | { |
no outgoing calls