mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2026-01-12 07:35:55 +01:00
2020-12-15 Fred Gleason <fredg@paravelsystems.com>
* Added a right-click menu to the 'Edit Log' dialog in rdlogedit(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -1020,6 +1020,19 @@ QString RDLogModel::xml() const
|
||||
}
|
||||
|
||||
|
||||
void RDLogModel::setTransition(int line,RDLogLine::TransType trans)
|
||||
{
|
||||
RDLogLine *ll=NULL;
|
||||
|
||||
if((ll=logLine(line))!=NULL) {
|
||||
if(ll->transType()!=trans) {
|
||||
ll->setTransType(trans);
|
||||
emitDataChanged(line);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
void RDLogModel::processNotification(RDNotification *notify)
|
||||
{
|
||||
RDLogLine *ll=NULL;
|
||||
|
||||
@@ -82,6 +82,7 @@ class RDLogModel : public QAbstractTableModel
|
||||
QString xml() const;
|
||||
|
||||
public slots:
|
||||
void setTransition(int line,RDLogLine::TransType trans);
|
||||
void processNotification(RDNotification *notify);
|
||||
void setStartTimeStyle(StartTimeStyle style);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user