2019-04-23 Fred Gleason <fredg@paravelsystems.com>

* Added a 'STACK_SCHED_CODES' table to the database.
	* Dropped the 'STACK_LINES.SCHED_CODES' field from the database.
	* Incremented the database version to 308.
	* Renamed the 'SchedCartList' class to 'RDSchedCartList' and
	refactored it to be idiomatic Qt.
	* Renamed the 'SchedRulesList' class to 'RDSchedRulesList'.
This commit is contained in:
Fred Gleason
2019-04-23 18:30:30 -04:00
parent 9f95fec5e1
commit 5589d3fc97
27 changed files with 452 additions and 324 deletions

View File

@@ -37,9 +37,8 @@
#include "edit_schedcoderules.h"
#include "globals.h"
#include "list_clocks.h"
#include "schedruleslist.h"
EditSchedRules::EditSchedRules(QString clock,unsigned *artistsep,SchedRulesList *schedruleslist,bool *rules_modified,QWidget *parent)
EditSchedRules::EditSchedRules(QString clock,unsigned *artistsep,RDSchedRulesList *schedruleslist,bool *rules_modified,QWidget *parent)
: QDialog(parent)
{
setModal(true);
@@ -231,7 +230,7 @@ void EditSchedRules::importData()
return;
}
delete listclocks;
SchedRulesList *import_list=new SchedRulesList(clockname,rda->config());
RDSchedRulesList *import_list=new RDSchedRulesList(clockname,rda->config());
list_schedCodes_view->clear();
for (int i=0; i<import_list->getNumberOfItems(); i++)