kdevversioncontrol.h
Go to the documentation of this file.
83 return "(" + fileName + ", " + workRevision + ", " + repoRevision + ", " + state2String( state ) + ")";
217 virtual bool requestStatus( const TQString &dirPath, void *callerData, bool recursive = true, bool checkRepos = true ) = 0;
Basic interface for providing info on file registered in a version control repository repository.
Definition kdevversioncontrol.h:186
KDevVCSFileInfoProvider(KDevVersionControl *parent, const char *name)
Constructor.
Definition kdevversioncontrol.h:193
virtual const VCSFileInfoMap * status(const TQString &dirPath)=0
Gets the status for local files in the specified directory: the info are collected locally so they ar...
virtual bool requestStatus(const TQString &dirPath, void *callerData, bool recursive=true, bool checkRepos=true)=0
Starts a request for directory status to the remote repository.
void statusReady(const VCSFileInfoMap &fileInfoMap, void *callerData)
Emitted when the status request to remote repository has finished.
virtual KDevVCSFileInfoProvider * fileInfoProvider() const =0
virtual bool fetchFromRepository()=0
Fetches a module from remote repository, so it can be used for importing.
KDevVersionControl(const KDevPluginInfo *info, TQObject *parent, const char *name)
Constructs a VCS plugin.
Definition kdevversioncontrol.h:150
virtual void createNewProject(const TQString &dir)=0
Creates a new project in the passed path dir.
virtual bool isValidDirectory(const TQString &dirPath) const =0
Checks if the directory is valid for this version control (for example CVS may check for the presence...
void finishedFetching(TQString destinationDir)
Emitted when the Version Control has finished importing a module from remote repository.
static TQString state2String(FileState state)
Definition kdevversioncontrol.h:87
VCSFileInfo(TQString fn, TQString workRev, TQString repoRev, FileState aState)
Constructor.
Definition kdevversioncontrol.h:68
@ Replaced
File was scheduled for deletion, and then a new file with the same name was scheduled for addition in...
Definition kdevversioncontrol.h:58
@ Uptodate
File was updated or it is already at up to date version.
Definition kdevversioncontrol.h:50
Trinity API Reference