MCPcopy Create free account
hub / github.com/CE-Programming/CEmu / dragEnterEvent

Method dragEnterEvent

gui/qt/lcdwidget.cpp:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106void LCDWidget::dragEnterEvent(QDragEnterEvent *e) {
107 m_dragRom = sendingROM(e, &m_isSendingRom);
108
109 if (!m_isSendingRom) {
110 m_transferDrag = sendingHandler->dragOccured(e);
111 m_side = (e->pos().x() < width() / 2) ? LcdLeft : LcdRight;
112 }
113}
114
115void LCDWidget::dragMoveEvent(QDragMoveEvent *e) {
116 m_side = (e->pos().x() < width() / 2) ? LcdLeft : LcdRight;

Callers

nothing calls this directly

Calls 2

sendingROMFunction · 0.85
dragOccuredMethod · 0.80

Tested by

no test coverage detected