Minor changes in the PlaYUVerSettings
This commit is contained in:
1 parent
a39c75c574
commit
098c291ee6
1 file changed
+9
-9
@@ -77,16 +77,16 @@ Void PlaYUVerSettings::setSelectedTool( Int tool )
|
||||
|
||||
Bool PlaYUVerSettings::getRepeat()
|
||||
{
|
||||
return m_settings.value( "PLaying/Repeat", false ).toBool();
|
||||
return m_settings.value( "Playing/Repeat", false ).toBool();
|
||||
}
|
||||
Bool PlaYUVerSettings::getVideoLock()
|
||||
{
|
||||
return m_settings.value( "PLaying/VideoLock", false ).toBool();
|
||||
return m_settings.value( "Playing/VideoLock", false ).toBool();
|
||||
}
|
||||
Void PlaYUVerSettings::setPlayingSettings( Bool repeat, Bool lock )
|
||||
{
|
||||
m_settings.setValue( "PLaying/Repeat", repeat );
|
||||
m_settings.setValue( "PLaying/VideoLock", lock );
|
||||
m_settings.setValue( "Playing/Repeat", repeat );
|
||||
m_settings.setValue( "Playing/VideoLock", lock );
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - Grid Settings - - - - - - - - - - - - - - - - - -
|
||||
@@ -106,27 +106,27 @@ QColor PlaYUVerSettings::gridColor()
|
||||
return m_settings.value( "Grid/color", QColor( Qt::white ) ).value<QColor>();
|
||||
}
|
||||
|
||||
void PlaYUVerSettings::setGridColor( const QColor & v )
|
||||
Void PlaYUVerSettings::setGridColor( const QColor & v )
|
||||
{
|
||||
m_settings.setValue( "Grid/color", v );
|
||||
}
|
||||
|
||||
int PlaYUVerSettings::gridHSpacing()
|
||||
Int PlaYUVerSettings::gridHSpacing()
|
||||
{
|
||||
return m_settings.value( "Grid/hSpacing", 16 ).toInt();
|
||||
}
|
||||
|
||||
void PlaYUVerSettings::setGridHSpacing( int v )
|
||||
Void PlaYUVerSettings::setGridHSpacing( Int v )
|
||||
{
|
||||
m_settings.setValue( "Grid/hSpacing", v );
|
||||
}
|
||||
|
||||
int PlaYUVerSettings::gridVSpacing()
|
||||
Int PlaYUVerSettings::gridVSpacing()
|
||||
{
|
||||
return m_settings.value( "Grid/vSpacing", 16 ).toInt();
|
||||
}
|
||||
|
||||
void PlaYUVerSettings::setGridVSpacing( int v )
|
||||
Void PlaYUVerSettings::setGridVSpacing( Int v )
|
||||
{
|
||||
m_settings.setValue( "Grid/vSpacing", v );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user