added more values for displayName-property
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1334 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
effectChain::effectChain( model * _parent ) :
|
||||
model( _parent ),
|
||||
m_enabledModel( FALSE )
|
||||
m_enabledModel( FALSE, this, tr( "Effects enabled" ) )
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -28,8 +28,8 @@
|
||||
|
||||
meterModel::meterModel( ::model * _parent ) :
|
||||
model( _parent ),
|
||||
m_numeratorModel( 4, 1, 32, this ),
|
||||
m_denominatorModel( 4, 1, 32, this )
|
||||
m_numeratorModel( 4, 1, 32, this, tr( "Numerator" ) ),
|
||||
m_denominatorModel( 4, 1, 32, this, tr( "Denominator" ) )
|
||||
{
|
||||
connect( &m_numeratorModel, SIGNAL( dataChanged() ),
|
||||
this, SIGNAL( dataChanged() ) );
|
||||
|
||||
@@ -73,11 +73,11 @@ song::song( void ) :
|
||||
m_globalAutomationTrack( dynamic_cast<automationTrack *>(
|
||||
track::create( track::HiddenAutomationTrack,
|
||||
this ) ) ),
|
||||
m_tempoModel( DefaultTempo, MinTempo, MaxTempo, this ),
|
||||
m_tempoModel( DefaultTempo, MinTempo, MaxTempo, this, tr( "Tempo" ) ),
|
||||
m_timeSigModel( this ),
|
||||
m_oldTicksPerTact( DefaultTicksPerTact ),
|
||||
m_masterVolumeModel( 100, 0, 200, this ),
|
||||
m_masterPitchModel( 0, -12, 12, this ),
|
||||
m_masterVolumeModel( 100, 0, 200, this, tr( "Master volume" ) ),
|
||||
m_masterPitchModel( 0, -12, 12, this, tr( "Master pitch" ) ),
|
||||
m_fileName(),
|
||||
m_oldFileName(),
|
||||
m_modified( FALSE ),
|
||||
|
||||
@@ -112,7 +112,7 @@ trackContentObject::trackContentObject( track * _track ) :
|
||||
m_name( QString::null ),
|
||||
m_startPosition(),
|
||||
m_length(),
|
||||
m_mutedModel( FALSE, this )
|
||||
m_mutedModel( FALSE, this, tr( "Muted" ) )
|
||||
{
|
||||
if( getTrack() )
|
||||
{
|
||||
@@ -1547,8 +1547,10 @@ track::track( TrackTypes _type, trackContainer * _tc ) :
|
||||
m_type( _type ), /*!< The track type */
|
||||
m_name(), /*!< The track's name */
|
||||
m_pixmapLoader( NULL ), /*!< For loading the track's pixmaps */
|
||||
m_mutedModel( FALSE, this ), /*!< For controlling track muting */
|
||||
m_soloModel( FALSE, this ), /*!< For controlling track soloing */
|
||||
m_mutedModel( FALSE, this, tr( "Muted" ) ),
|
||||
/*!< For controlling track muting */
|
||||
m_soloModel( FALSE, this, tr( "Solo" ) ),
|
||||
/*!< For controlling track soloing */
|
||||
m_trackContentObjects() /*!< The track content objects (segments) */
|
||||
{
|
||||
m_trackContainer->addTrack( this );
|
||||
|
||||
Reference in New Issue
Block a user