KDevelop API Documentation

ImportDialog Class Reference

#include <importdlg.h>

Inheritance diagram for ImportDialog:

ImportDialogBase QDialog List of all members.

Public Member Functions

 ImportDialog (AppWizardPart *part, QWidget *parent=0, const char *name=0)
 ~ImportDialog ()

Protected Member Functions

virtual void accept ()
virtual void dirChanged ()

Private Slots

void slotFinishedCheckout (QString destinationDir)
void slotFetchModulesFromRepository ()
void slotProjectNameChanged (const QString &_text)

Private Member Functions

void scanAvailableVCS ()
void scanLegacyKDevelopProject (const QString &fileName)
void scanLegacyStudioProject (const QString &fileName)
void scanAutomakeProject (const QString &dirName)
void setProjectType (const QString &type)

Private Attributes

QStringList importNames
AppWizardPartm_part

Constructor & Destructor Documentation

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

Definition at line 43 of file importdlg.cpp.

References KURLRequester::button(), config, KStandardDirs::findAllResources(), ImportDialog(), importNames, KConfigBase::readEntry(), scanAvailableVCS(), KConfigBase::setGroup(), KURLRequester::setMode(), setProjectType(), slotFetchModulesFromRepository(), and slotProjectNameChanged().

Referenced by ImportDialog().

ImportDialog::~ImportDialog  ) 
 

Definition at line 73 of file importdlg.cpp.


Member Function Documentation

void ImportDialog::accept  )  [protected, virtual]
 

Definition at line 81 of file importdlg.cpp.

References KDevPlugin::core(), endl(), importNames, kdDebug(), m_part, KDevCore::openProject(), and KURLRequester::url.

void ImportDialog::dirChanged  )  [protected, virtual]
 

Reimplemented from ImportDialogBase.

Definition at line 173 of file importdlg.cpp.

References dirHasFiles(), scanAutomakeProject(), scanLegacyKDevelopProject(), scanLegacyStudioProject(), setProjectType(), and KURLRequester::url.

void ImportDialog::scanAutomakeProject const QString dirName  )  [private]
 

Definition at line 268 of file importdlg.cpp.

References endl(), kdDebug(), scanAutomakeProject(), and setProjectType().

Referenced by dirChanged(), and scanAutomakeProject().

void ImportDialog::scanAvailableVCS  )  [private]
 

Definition at line 339 of file importdlg.cpp.

References m_part, and KDevPlugin::registeredVersionControls().

Referenced by ImportDialog().

void ImportDialog::scanLegacyKDevelopProject const QString fileName  )  [private]
 

Definition at line 235 of file importdlg.cpp.

References config, endl(), kdDebug(), KConfigBase::readEntry(), scanLegacyKDevelopProject(), KConfigBase::setGroup(), and setProjectType().

Referenced by dirChanged(), and scanLegacyKDevelopProject().

void ImportDialog::scanLegacyStudioProject const QString fileName  )  [private]
 

Definition at line 257 of file importdlg.cpp.

References config, endl(), kdDebug(), KConfigBase::readEntry(), scanLegacyStudioProject(), and KConfigBase::setGroup().

Referenced by dirChanged(), and scanLegacyStudioProject().

void ImportDialog::setProjectType const QString type  )  [private]
 

Definition at line 322 of file importdlg.cpp.

References endl(), importNames, kdDebug(), and setProjectType().

Referenced by dirChanged(), ImportDialog(), scanAutomakeProject(), scanLegacyKDevelopProject(), and setProjectType().

void ImportDialog::slotFetchModulesFromRepository  )  [private, slot]
 

Definition at line 352 of file importdlg.cpp.

References KDevVersionControl::fetchFromRepository(), m_part, slotFinishedCheckout(), and KDevPlugin::versionControlByName().

Referenced by ImportDialog().

void ImportDialog::slotFinishedCheckout QString  destinationDir  )  [private, slot]
 

Definition at line 344 of file importdlg.cpp.

References KURLRequester::setURL(), and slotFinishedCheckout().

Referenced by slotFetchModulesFromRepository(), and slotFinishedCheckout().

void ImportDialog::slotProjectNameChanged const QString _text  )  [private, slot]
 

Definition at line 76 of file importdlg.cpp.

References slotProjectNameChanged().

Referenced by ImportDialog(), and slotProjectNameChanged().


Member Data Documentation

QStringList ImportDialog::importNames [private]
 

Definition at line 45 of file importdlg.h.

Referenced by accept(), ImportDialog(), and setProjectType().

AppWizardPart* ImportDialog::m_part [private]
 

Definition at line 46 of file importdlg.h.

Referenced by accept(), scanAvailableVCS(), and slotFetchModulesFromRepository().


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:25 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003