2024-02-05 Fred Gleason <fredg@paravelsystems.com>

* Added a 'REPLICATORS.PROGRAM_CODE' field to the database.
	* Incremented the database version to 372.
	* Added 'RDReplicator::programCode()' and
	'RDReplicator::setProgramCode()' methods.
	* Added a 'Program Code' control to the 'Rivendell Replicators'
	dialog in rdadmin(1).
	* Renamed the 'Citadel X-Digital Portal' replicator to
	'X-Digital National ISCI Model'.
	* Added a 'X-Digital Cue Model' replicator.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2024-02-05 17:49:26 -05:00
parent db8883bf09
commit 887d297a19
16 changed files with 631 additions and 34 deletions

View File

@@ -59,6 +59,18 @@ void RDReplicator::setStationName(const QString &str)
}
QString RDReplicator::programCode() const
{
return GetValue("PROGRAM_CODE").toString();
}
void RDReplicator::setProgramCode(const QString &str)
{
SetRow("PROGRAM_CODE",str);
}
QString RDReplicator::description() const
{
return GetValue("DESCRIPTION").toString();
@@ -202,13 +214,17 @@ QString RDReplicator::typeString(RDReplicator::Type type)
QString ret="Unknown type";
switch(type) {
case RDReplicator::TypeCitadelXds:
ret="Citadel X-Digital Portal";
ret="X-Digital National ISCI Model";
break;
case RDReplicator::TypeWw1Ipump:
ret="Westwood One Wegener Portal";
break;
case RDReplicator::TypeXdsCue:
ret="X-Digital Cue Model";
break;
case RDReplicator::TypeLast:
break;
}