KDevelop API Documentation

AppWizardDialog Class Reference

#include <appwizarddlg.h>

Inheritance diagram for AppWizardDialog:

AppWizardDialogBase QWizard List of all members.

Public Member Functions

 AppWizardDialog (AppWizardPart *part, QWidget *parent=0, const char *name=0)
 ~AppWizardDialog ()
QString getProjectName ()
QString getProjectLocation ()
QString getCommandLine ()
QStringList getFilesToOpenAfterGeneration ()

Protected Slots

void pageChanged ()

Protected Member Functions

virtual void templatesTreeViewClicked (QListViewItem *)
virtual void textChanged ()
virtual void licenseChanged ()
virtual void destButtonClicked (const QString &)
virtual void projectNameChanged ()
virtual void projectLocationChanged ()
virtual void accept ()

Private Member Functions

ApplicationInfotemplateForItem (QListViewItem *item)
void insertCategoryIntoTreeView (const QString &completeCategoryPath)
void loadVcs ()

Private Attributes

QPtrList< ApplicationInfom_appsInfo
QValueList< AppWizardFileTemplatem_fileTemplates
QDict< QListViewItemm_categoryMap
 Store the category name and the pointer in the treeview.

QDict< KDevVersionControlm_availVcs
 A list of currently available version control systems.

AppWizardPartm_part
QWidgetm_lastPage
QString m_cmdline
QPtrList< KTempFilem_tempFiles
ApplicationInfom_pCurrentAppInfo
bool m_projectLocationWasChanged
VcsFormm_vcsForm
bool m_pathIsValid

Constructor & Destructor Documentation

AppWizardDialog::AppWizardDialog AppWizardPart part,
QWidget parent = 0,
const char *  name = 0
 

Definition at line 61 of file appwizarddlg.cpp.

References AppWizardDialog(), KURLRequester::button(), ApplicationInfo::category, ApplicationInfo::comment, config, ApplicationInfo::defaultDestDir, endl(), ApplicationInfo::fileTemplates, KStandardDirs::findAllResources(), ApplicationInfo::icon, insertCategoryIntoTreeView(), kdDebug(), loadVcs(), m_appsInfo, m_categoryMap, m_part, m_pathIsValid, m_projectLocationWasChanged, m_tempFiles, ApplicationInfo::name, ApplicationInfo::openFilesAfterGeneration, pageChanged(), KConfigBase::readEntry(), KConfigBase::readListEntry(), KConfigBase::readPathEntry(), KConfigBase::setGroup(), KURLRequester::setMode(), KURLRequester::setURL(), and ApplicationInfo::templateName.

Referenced by AppWizardDialog().

AppWizardDialog::~AppWizardDialog  ) 
 

Definition at line 196 of file appwizarddlg.cpp.


Member Function Documentation

void AppWizardDialog::accept  )  [protected, virtual]
 

Definition at line 358 of file appwizarddlg.cpp.

References KProcess::clearArguments(), VcsForm::combo, KDevVersionControl::createNewProject(), endl(), KTempFile::handle(), kdDebug(), m_cmdline, m_fileTemplates, m_part, m_pCurrentAppInfo, m_tempFiles, m_vcsForm, KDevPlugin::makeFrontend(), KTempFile::name(), projectLocationChanged(), KDevMakeFrontend::queueCommand(), VcsForm::stack, KShellProcess::start(), ApplicationInfo::templateName, and KDevPlugin::versionControlByName().

void AppWizardDialog::destButtonClicked const QString  )  [protected, virtual]
 

Reimplemented from AppWizardDialogBase.

Definition at line 537 of file appwizarddlg.cpp.

References destButtonClicked(), endl(), kdDebug(), KConfigBase::readPathEntry(), KConfigBase::setGroup(), KConfigBase::sync(), and KConfigBase::writePathEntry().

Referenced by destButtonClicked().

QString AppWizardDialog::getCommandLine  )  [inline]
 

Definition at line 76 of file appwizarddlg.h.

References m_cmdline.

Referenced by AppWizardPart::slotNewProject().

QStringList AppWizardDialog::getFilesToOpenAfterGeneration  ) 
 

Definition at line 631 of file appwizarddlg.cpp.

References getProjectName(), m_pCurrentAppInfo, and ApplicationInfo::openFilesAfterGeneration.

Referenced by AppWizardPart::slotNewProject().

QString AppWizardDialog::getProjectLocation  )  [inline]
 

Definition at line 75 of file appwizarddlg.h.

Referenced by AppWizardPart::slotNewProject().

QString AppWizardDialog::getProjectName  )  [inline]
 

Definition at line 74 of file appwizarddlg.h.

Referenced by getFilesToOpenAfterGeneration(), and AppWizardPart::slotNewProject().

void AppWizardDialog::insertCategoryIntoTreeView const QString completeCategoryPath  )  [private]
 

Definition at line 593 of file appwizarddlg.cpp.

References endl(), insertCategoryIntoTreeView(), kdDebug(), and m_categoryMap.

Referenced by AppWizardDialog(), and insertCategoryIntoTreeView().

void AppWizardDialog::licenseChanged  )  [protected, virtual]
 

Reimplemented from AppWizardDialogBase.

Definition at line 245 of file appwizarddlg.cpp.

References m_fileTemplates, and text().

Referenced by textChanged().

void AppWizardDialog::loadVcs  )  [private]
 

Definition at line 199 of file appwizarddlg.cpp.

References VcsForm::combo, endl(), kdDebug(), m_part, m_vcsForm, KDevVersionControl::newProjectWidget(), KDevPlugin::registeredVersionControls(), VcsForm::stack, KDevVersionControl::uid(), and KDevPlugin::versionControlByName().

Referenced by AppWizardDialog().

void AppWizardDialog::pageChanged  )  [protected, slot]
 

Definition at line 642 of file appwizarddlg.cpp.

References endl(), kdDebug(), and projectLocationChanged().

Referenced by AppWizardDialog().

void AppWizardDialog::projectLocationChanged  )  [protected, virtual]
 

Reimplemented from AppWizardDialogBase.

Definition at line 565 of file appwizarddlg.cpp.

References m_lastPage, m_pathIsValid, m_pCurrentAppInfo, and KURLRequester::url.

Referenced by accept(), and pageChanged().

void AppWizardDialog::projectNameChanged  )  [protected, virtual]
 

Reimplemented from AppWizardDialogBase.

Definition at line 559 of file appwizarddlg.cpp.

ApplicationInfo * AppWizardDialog::templateForItem QListViewItem item  )  [private]
 

Definition at line 621 of file appwizarddlg.cpp.

References m_appsInfo, and templateForItem().

Referenced by templateForItem(), and templatesTreeViewClicked().

void AppWizardDialog::templatesTreeViewClicked QListViewItem  )  [protected, virtual]
 

Reimplemented from AppWizardDialogBase.

Definition at line 475 of file appwizarddlg.cpp.

References AppWizardFileTemplate::edit, m_fileTemplates, m_lastPage, m_pCurrentAppInfo, m_projectLocationWasChanged, AppWizardFileTemplate::style, AppWizardFileTemplate::suffix, templateForItem(), templatesTreeViewClicked(), and textChanged().

Referenced by templatesTreeViewClicked().

void AppWizardDialog::textChanged  )  [protected, virtual]
 

Reimplemented from AppWizardDialogBase.

Definition at line 230 of file appwizarddlg.cpp.

References licenseChanged(), m_lastPage, m_pathIsValid, and m_pCurrentAppInfo.

Referenced by templatesTreeViewClicked().


Member Data Documentation

QPtrList<ApplicationInfo> AppWizardDialog::m_appsInfo [private]
 

Definition at line 96 of file appwizarddlg.h.

Referenced by AppWizardDialog(), and templateForItem().

QDict<KDevVersionControl> AppWizardDialog::m_availVcs [private]
 

A list of currently available version control systems.

Definition at line 101 of file appwizarddlg.h.

QDict<QListViewItem> AppWizardDialog::m_categoryMap [private]
 

Store the category name and the pointer in the treeview.

Definition at line 99 of file appwizarddlg.h.

Referenced by AppWizardDialog(), and insertCategoryIntoTreeView().

QString AppWizardDialog::m_cmdline [private]
 

Definition at line 105 of file appwizarddlg.h.

Referenced by accept(), and getCommandLine().

QValueList<AppWizardFileTemplate> AppWizardDialog::m_fileTemplates [private]
 

Definition at line 97 of file appwizarddlg.h.

Referenced by accept(), licenseChanged(), and templatesTreeViewClicked().

QWidget* AppWizardDialog::m_lastPage [private]
 

Definition at line 104 of file appwizarddlg.h.

Referenced by projectLocationChanged(), templatesTreeViewClicked(), and textChanged().

AppWizardPart* AppWizardDialog::m_part [private]
 

Definition at line 103 of file appwizarddlg.h.

Referenced by accept(), AppWizardDialog(), and loadVcs().

bool AppWizardDialog::m_pathIsValid [private]
 

Definition at line 110 of file appwizarddlg.h.

Referenced by AppWizardDialog(), projectLocationChanged(), and textChanged().

ApplicationInfo* AppWizardDialog::m_pCurrentAppInfo [private]
 

Definition at line 107 of file appwizarddlg.h.

Referenced by accept(), getFilesToOpenAfterGeneration(), projectLocationChanged(), templatesTreeViewClicked(), and textChanged().

bool AppWizardDialog::m_projectLocationWasChanged [private]
 

Definition at line 108 of file appwizarddlg.h.

Referenced by AppWizardDialog(), and templatesTreeViewClicked().

QPtrList<KTempFile> AppWizardDialog::m_tempFiles [private]
 

Definition at line 106 of file appwizarddlg.h.

Referenced by accept(), and AppWizardDialog().

VcsForm* AppWizardDialog::m_vcsForm [private]
 

Definition at line 109 of file appwizarddlg.h.

Referenced by accept(), and loadVcs().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:19 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003