MCPcopy Create free account
hub / github.com/LMMS/lmms / saveSettings

Method saveSettings

src/core/TrackContainer.cpp:64–76  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63
64void TrackContainer::saveSettings( QDomDocument & _doc, QDomElement & _this )
65{
66 _this.setTagName( classNodeName() );
67 _this.setAttribute( "type", nodeName() );
68
69 // save settings of each track
70 m_tracksMutex.lockForRead();
71 for( int i = 0; i < m_tracks.size(); ++i )
72 {
73 m_tracks[i]->saveState( _doc, _this );
74 }
75 m_tracksMutex.unlock();
76}
77
78
79

Callers

nothing calls this directly

Calls 5

classNodeNameFunction · 0.50
nodeNameFunction · 0.50
sizeMethod · 0.45
saveStateMethod · 0.45
unlockMethod · 0.45

Tested by

no test coverage detected