MCPcopy Create free account
hub / github.com/KDE/kdiff3 / event

Method event

src/mergeresultwindow.cpp:1943–1956  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1941}
1942
1943bool MergeResultWindow::event(QEvent* e)
1944{
1945 if(e->type() == QEvent::KeyPress)
1946 {
1947 QKeyEvent* keyEvent = static_cast<QKeyEvent*>(e);
1948 if(keyEvent->key() == Qt::Key_Tab)
1949 {
1950 // special tab handling here to avoid moving focus
1951 keyPressEvent(keyEvent);
1952 return true;
1953 }
1954 }
1955 return QWidget::event(e);
1956}
1957
1958void MergeResultWindow::keyPressEvent(QKeyEvent* keyEvent)
1959{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected