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

Method showWithWidget

plugins/quickopen/quickopenplugin.cpp:976–988  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

974}
975
976void QuickOpenLineEdit::showWithWidget(QuickOpenWidget* widget)
977{
978 connect(widget, &QuickOpenWidget::destroyed, this, &QuickOpenLineEdit::widgetDestroyed);
979 qCDebug(PLUGIN_QUICKOPEN) << "storing widget" << widget;
980 deactivate();
981 if (m_widget) {
982 qCDebug(PLUGIN_QUICKOPEN) << "deleting" << m_widget;
983 delete m_widget;
984 }
985 m_widget = widget;
986 m_forceUpdate = true;
987 setFocus();
988}
989
990void QuickOpenLineEdit::focusInEvent(QFocusEvent* ev)
991{

Callers 2

showQuickOpenWidgetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected