MCPcopy Create free account
hub / github.com/KDE/kdevelop / keyPressEvent

Method keyPressEvent

plugins/ghprovider/ghlineedit.cpp:28–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28void LineEdit::keyPressEvent(QKeyEvent *e)
29{
30 m_timer->stop();
31 if (e->key() == Qt::Key_Return) {
32 e->accept();
33 emit returnPressed();
34 return;
35 }
36 m_timer->start();
37 QLineEdit::keyPressEvent(e);
38}
39
40void LineEdit::timeOut()
41{

Callers

nothing calls this directly

Calls 4

stopMethod · 0.80
keyMethod · 0.45
acceptMethod · 0.45
startMethod · 0.45

Tested by

no test coverage detected