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

Method scrollDiffTextWindow

src/pdiff.cpp:521–529  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

519}
520
521void KDiff3App::scrollDiffTextWindow(qint32 deltaX, qint32 deltaY)
522{
523 if(deltaY != 0 && DiffTextWindow::mVScrollBar != nullptr)
524 {
525 DiffTextWindow::mVScrollBar->setValue(DiffTextWindow::mVScrollBar->value() + deltaY);
526 }
527 if(deltaX != 0 && m_pHScrollBar != nullptr)
528 m_pHScrollBar->QScrollBar::setValue(m_pHScrollBar->value() + deltaX);
529}
530
531void KDiff3App::scrollMergeResultWindow(qint32 deltaX, qint32 deltaY)
532{

Callers

nothing calls this directly

Calls 2

setValueMethod · 0.80
valueMethod · 0.80

Tested by

no test coverage detected