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

Method appInfo

plugins/appwizard/appwizarddialog.cpp:49–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49ApplicationInfo AppWizardDialog::appInfo() const
50{
51 ApplicationInfo a;
52 a.name = m_selectionPage->projectName();
53 a.location = m_selectionPage->location();
54 a.appTemplate = m_selectionPage->selectedTemplate();
55 a.vcsPluginName = m_vcsPage->pluginName();
56
57 if( !m_vcsPage->pluginName().isEmpty() )
58 {
59 a.repository = m_vcsPage->destination();
60 a.sourceLocation = m_vcsPage->source();
61 a.importCommitMessage = m_vcsPage->commitMessage();
62 }
63 else
64 {
65 a.repository = KDevelop::VcsLocation();
66 a.sourceLocation.clear();
67 a.importCommitMessage.clear();
68 }
69 return a;
70}
71
72
73void AppWizardDialog::pageValid( QWidget* w )

Callers 2

validateDataMethod · 0.80
slotNewProjectMethod · 0.80

Calls 10

pluginNameMethod · 0.80
VcsLocationClass · 0.70
projectNameMethod · 0.45
locationMethod · 0.45
selectedTemplateMethod · 0.45
isEmptyMethod · 0.45
destinationMethod · 0.45
sourceMethod · 0.45
commitMessageMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected