mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 16:50:13 +01:00
2021-01-13 Fred Gleason <fredg@paravelsystems.com>
* Renamed the 'RDCartDrag' class to 'RD3CartDrag'. * Renamed the 'RDEmptyCart' widget to 'RD3EmptyCart'. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// On Air Playout Utility for Rivendell.
|
||||
//
|
||||
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -793,8 +793,8 @@ void LogLineBox::mouseMoveEvent(QMouseEvent *e)
|
||||
line_move_count--;
|
||||
if(line_move_count==0) {
|
||||
if(line_allow_drags&&(line_logline!=NULL)) {
|
||||
RDCartDrag *d=
|
||||
new RDCartDrag(line_logline->cartNumber(),line_icon_label->pixmap(),
|
||||
RD3CartDrag *d=
|
||||
new RD3CartDrag(line_logline->cartNumber(),line_icon_label->pixmap(),
|
||||
line_group_label->palette().
|
||||
color(QColorGroup::Foreground),this);
|
||||
d->dragCopy();
|
||||
@@ -834,7 +834,7 @@ void LogLineBox::paintEvent(QPaintEvent *e)
|
||||
|
||||
void LogLineBox::dragEnterEvent(QDragEnterEvent *e)
|
||||
{
|
||||
e->accept(RDCartDrag::canDecode(e)&&
|
||||
e->accept(RD3CartDrag::canDecode(e)&&
|
||||
((line_status==RDLogLine::Scheduled)||
|
||||
(line_status==RDLogLine::Paused)));
|
||||
}
|
||||
@@ -844,7 +844,7 @@ void LogLineBox::dropEvent(QDropEvent *e)
|
||||
{
|
||||
RDLogLine ll;
|
||||
|
||||
if(RDCartDrag::decode(e,&ll)) {
|
||||
if(RD3CartDrag::decode(e,&ll)) {
|
||||
emit cartDropped(log_line,&ll);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user