mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-04-24 23:13:37 +02:00
2019-10-01 Fred Gleason <fredg@paravelsystems.com>
* Added an 'RDDialog' class. * Added an 'RDWidget' class. * Refactored rdadmin(1) to use 'RDDialog' and 'RDWidget' base classes.
This commit is contained in:
@@ -153,6 +153,30 @@ QString RDConfig::audioStoreXportHostname() const
|
||||
}
|
||||
|
||||
|
||||
QString RDConfig::fontFamily() const
|
||||
{
|
||||
return conf_font_family;
|
||||
}
|
||||
|
||||
|
||||
int RDConfig::fontButtonSize() const
|
||||
{
|
||||
return conf_font_button_size;
|
||||
}
|
||||
|
||||
|
||||
int RDConfig::fontLabelSize() const
|
||||
{
|
||||
return conf_font_label_size;
|
||||
}
|
||||
|
||||
|
||||
int RDConfig::fontDataSize() const
|
||||
{
|
||||
return conf_font_data_size;
|
||||
}
|
||||
|
||||
|
||||
QString RDConfig::mysqlHostname() const
|
||||
{
|
||||
return conf_mysql_hostname;
|
||||
@@ -509,6 +533,11 @@ bool RDConfig::load()
|
||||
conf_audio_store_xport_hostname=
|
||||
profile->stringValue("AudioStore","XportHostname","localhost");
|
||||
|
||||
conf_font_family=profile->stringValue("Fonts","Family");
|
||||
conf_font_button_size=profile->intValue("Fonts","ButtonSize",-1);
|
||||
conf_font_label_size=profile->intValue("Fonts","LabelSize",-1);
|
||||
conf_font_data_size=profile->intValue("Fonts","DataSize",-1);
|
||||
|
||||
conf_provisioning_create_host=
|
||||
profile->boolValue("Provisioning","CreateHost");
|
||||
conf_provisioning_host_template=
|
||||
@@ -675,6 +704,10 @@ void RDConfig::clear()
|
||||
conf_audio_store_mount_type="";
|
||||
conf_audio_store_mount_options=RD_DEFAULT_AUDIO_STORE_MOUNT_OPTIONS;
|
||||
conf_audio_store_xport_hostname="";
|
||||
conf_font_family="";
|
||||
conf_font_button_size=-1;
|
||||
conf_font_label_size=-1;
|
||||
conf_font_data_size=-1;
|
||||
conf_audio_store_cae_hostname="";
|
||||
conf_jack_ports[0].clear();
|
||||
conf_jack_ports[1].clear();
|
||||
|
||||
Reference in New Issue
Block a user