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

Method quickOpenNavigateFunctions

plugins/quickopen/quickopenplugin.cpp:906–930  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

904};
905
906void QuickOpenPlugin::quickOpenNavigateFunctions()
907{
908 CreateOutlineDialog create;
909 create.start();
910
911 if (!create.dialog) {
912 return;
913 }
914
915 m_currentWidgetHandler = create.dialog;
916
917 QuickOpenLineEdit* line = quickOpenLine(QStringLiteral("Outline"));
918 if (!line) {
919 line = quickOpenLine();
920 }
921
922 if (line) {
923 line->showWithWidget(create.dialog->widget());
924 create.dialog->deleteLater();
925 } else {
926 create.dialog->run();
927 }
928
929 create.finish();
930}
931
932QuickOpenLineEdit::QuickOpenLineEdit(QuickOpenWidgetCreator* creator) : m_widget(nullptr)
933 , m_forceUpdate(false)

Callers

nothing calls this directly

Calls 5

showWithWidgetMethod · 0.80
startMethod · 0.45
widgetMethod · 0.45
runMethod · 0.45
finishMethod · 0.45

Tested by

no test coverage detected