2021-02-09 Fred Gleason <fredg@paravelsystems.com>

* Removed 'RD3CartDrag' dependency from rdairplay(1).
	* Removed 'RD3CartDrag' dependency from rdcartslots(1).
	* Removed 'RD3CartDrag' dependency from rdlogedit(1).
	* Removed 'RD3CartDrag' dependency from rdpanel(1).
	* Removed 'RD3CartDrag'.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2021-02-09 13:31:34 -05:00
parent 26352326f0
commit 17ed26f066
13 changed files with 58 additions and 227 deletions

View File

@@ -19,7 +19,7 @@
//
//
#include <rd3cartdrag.h>
#include <rdcartdrag.h>
#include "logtableview.h"
#include "logmodel.h"
@@ -52,13 +52,13 @@ LogTableView::LogTableView(QWidget *parent)
void LogTableView::dragEnterEvent(QDragEnterEvent *e)
{
e->accept(RD3CartDrag::canDecode(e));
e->accept(RDCartDrag::canDecode(e));
}
void LogTableView::dragMoveEvent(QDragMoveEvent *e)
{
e->accept(RD3CartDrag::canDecode(e));
e->accept(RDCartDrag::canDecode(e));
}
@@ -68,7 +68,7 @@ void LogTableView::dropEvent(QDropEvent *e)
int line=-1;
int y_pos=e->pos().y();
if(RD3CartDrag::decode(e,&ll)) {
if(RDCartDrag::decode(e,&ll)) {
line=rowAt(y_pos);
emit cartDropped(line,&ll);
}