| 47 | } |
| 48 | |
| 49 | ApplicationInfo 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 | |
| 73 | void AppWizardDialog::pageValid( QWidget* w ) |
no test coverage detected