KDevVersionControl Class Reference
This is the abstract base class which encapsulates everything necessary for communicating with version control systems. More...
#include <kdevversioncontrol.h>
Inheritance diagram for KDevVersionControl:


Signals | |
void | finishedFetching (QString destinationDir) |
Emitted when the Version Control has finished importing a module from remote repository. | |
Public Member Functions | |
KDevVersionControl (const QString &pluginName, const QString &icon, QObject *parent, const char *name) | |
Builds the object. | |
virtual | ~KDevVersionControl () |
Destructor. | |
virtual QWidget * | newProjectWidget (QWidget *) |
Return a pointer to the associated configuration widget for this vcs. | |
virtual void | createNewProject (const QString &) |
Creates a new project in the passed path dir . | |
virtual bool | fetchFromRepository () |
Fetch a module from remote repository, so it can be used for importing. | |
virtual KDevVCSFileInfoProvider * | fileInfoProvider () const |
virtual bool | isValidDirectory (const QString &dirPath) const |
Checks if the directory is valid for this version control (for example CVS may check for the presence of "<dirPath>/CVS/" subdir and something else). | |
QString | uid () const |
void | registerVersionControl (KDevVersionControl *vcs) |
Add vcs to the list of the registered VCS. | |
void | setVersionControl (KDevVersionControl *vcsToUse) |
Use the specified version control object as default vcs. | |
KDevVersionControl * | versionControlByName (const QString &uid) const |
Returns the Version Control System having the specified uinque identifier uid . | |
QStringList | registeredVersionControls () const |
Returns a list with unique identifiers among the version control systems. | |
void | unregisterVersionControl (KDevVersionControl *vcs) |
Remove (not delete) vcs from the list of the registered VCS. | |
Private Attributes | |
KDevApi * | m_api |
Detailed Description
This is the abstract base class which encapsulates everything necessary for communicating with version control systems.
Definition at line 39 of file kdevversioncontrol.h.
Constructor & Destructor Documentation
|
Builds the object.
Definition at line 33 of file kdevversioncontrol.cpp. References kdDebug(), m_api, registerVersionControl(), and uid(). |
|
Destructor. Removes current VCS from the list of available ones. Definition at line 46 of file kdevversioncontrol.cpp. References unregisterVersionControl(). |
Member Function Documentation
|
Creates a new project in the passed path
Reimplemented in CvsServicePart, and subversionPart. Definition at line 70 of file kdevversioncontrol.cpp. References main(), KDevPlugin::mainWindow(), and KMessageBox::sorry(). |
|
Fetch a module from remote repository, so it can be used for importing.
Reimplemented in CvsServicePart, and subversionPart. Definition at line 79 of file kdevversioncontrol.cpp. References main(), KDevPlugin::mainWindow(), and KMessageBox::sorry(). |
|
Reimplemented in CvsServicePart, and subversionPart. Definition at line 95 of file kdevversioncontrol.cpp. Referenced by PartWidget::PartWidget(). |
|
Emitted when the Version Control has finished importing a module from remote repository.
Referenced by CvsServicePart::init(). |
|
Checks if the directory is valid for this version control (for example CVS may check for the presence of "<dirPath>/CVS/" subdir and something else).
Reimplemented in CvsServicePart. Definition at line 88 of file kdevversioncontrol.cpp. Referenced by FileTreeWidget::FileTreeWidget(). |
|
Return a pointer to the associated configuration widget for this vcs.
Reimplemented in CvsServicePart, and subversionPart. Definition at line 61 of file kdevversioncontrol.cpp. References main(), KDevPlugin::mainWindow(), and KMessageBox::sorry(). |
|
Returns a list with unique identifiers among the version control systems.
Definition at line 123 of file kdevversioncontrol.cpp. References m_api, and KDevApi::registeredVersionControls(). |
|
Add
Definition at line 109 of file kdevversioncontrol.cpp. References m_api, and KDevApi::registerVersionControl(). Referenced by KDevVersionControl(). |
|
Use the specified version control object as default vcs.
Definition at line 102 of file kdevversioncontrol.cpp. References m_api, and KDevApi::setVersionControl(). |
|
Definition at line 53 of file kdevversioncontrol.cpp. Referenced by KDevVersionControl(), KDevApi::registeredVersionControls(), KDevApi::registerVersionControl(), and KDevApi::unregisterVersionControl(). |
|
Remove (not delete)
Definition at line 116 of file kdevversioncontrol.cpp. References m_api, and KDevApi::unregisterVersionControl(). Referenced by ~KDevVersionControl(). |
|
Returns the Version Control System having the specified uinque identifier
Definition at line 130 of file kdevversioncontrol.cpp. References m_api, and KDevApi::versionControlByName(). |
Member Data Documentation
|
Reimplemented from KDevPlugin. Definition at line 131 of file kdevversioncontrol.h. Referenced by KDevVersionControl(), registeredVersionControls(), registerVersionControl(), setVersionControl(), unregisterVersionControl(), and versionControlByName(). |
The documentation for this class was generated from the following files:
- lib/interfaces/kdevversioncontrol.h
- lib/interfaces/kdevversioncontrol.cpp