CVSFileInfoProvider Class Reference
Provider for CVS file information. More...
#include <cvsfileinfoprovider.h>
Inheritance diagram for CVSFileInfoProvider:


Public Member Functions | |
CVSFileInfoProvider (CvsServicePart *parent, CvsService_stub *cvsService) | |
virtual | ~CVSFileInfoProvider () |
virtual const VCSFileInfoMap * | status (const QString &dirPath) const |
Sync interface Status for the local files in the specified directory: the info are collected locally so they are necessarly in sync with the repository | |
virtual bool | requestStatus (const QString &dirPath, void *callerData) |
Async interface for requesting data Start a request for directory status to the remote repository. | |
Private Member Functions | |
virtual void | slotJobExited (bool normalExit, int exitStatus) |
virtual void | slotReceivedOutput (QString someOutput) |
virtual void | slotReceivedErrors (QString someErrors) |
QString | projectDirectory () const |
Static Private Member Functions | |
VCSFileInfoMap * | parse (QStringList stringStream) |
VCSFileInfo::FileState | String2EnumState (QString stateAsString) |
void | printOutFileInfoMap (const VCSFileInfoMap &map) |
Private Attributes | |
BufferedStringReader | m_bufferedReader |
QStringList | m_statusLines |
void * | m_savedCallerData |
CvsJob_stub * | m_requestStatusJob |
CvsService_stub * | m_cvsService |
QString | m_previousDirPath |
Caching. | |
VCSFileInfoMap * | m_cachedDirEntries |
Detailed Description
Provider for CVS file information.
- Author:
- Mario Scalas
Definition at line 31 of file cvsfileinfoprovider.h.
Constructor & Destructor Documentation
|
Definition at line 33 of file cvsfileinfoprovider.cpp. |
|
Definition at line 41 of file cvsfileinfoprovider.cpp. References m_requestStatusJob. |
Member Function Documentation
|
Definition at line 136 of file cvsfileinfoprovider.cpp. References kdDebug(), String2EnumState(), VCSFileInfo::toString(), and VCSFileInfoMap. Referenced by slotJobExited(). |
|
Definition at line 244 of file cvsfileinfoprovider.cpp. References kdDebug(), VCSFileInfo::toString(), and VCSFileInfoMap. Referenced by slotJobExited(). |
|
Definition at line 129 of file cvsfileinfoprovider.cpp. References KDevVCSFileInfoProvider::owner(), KDevPlugin::project(), and KDevProject::projectDirectory(). Referenced by status(). |
|
Async interface for requesting data Start a request for directory status to the remote repository. Requests and answers are asynchronous for obvious reasons: the caller must connect the statusReady() signal and check for the return value of this method.
Implements KDevVCSFileInfoProvider. Definition at line 67 of file cvsfileinfoprovider.cpp. References DCOPRef::app(), DCOPObject::connectDCOPSignal(), kdDebug(), m_cachedDirEntries, m_cvsService, m_previousDirPath, m_requestStatusJob, m_savedCallerData, and DCOPRef::obj(). |
|
Implements CVSServiceDCOPIface. Definition at line 95 of file cvsfileinfoprovider.cpp. References kdDebug(), m_cachedDirEntries, m_savedCallerData, m_statusLines, parse(), printOutFileInfoMap(), and KDevVCSFileInfoProvider::statusReady(). |
|
Implements CVSServiceDCOPIface. Definition at line 122 of file cvsfileinfoprovider.cpp. |
|
Implements CVSServiceDCOPIface. Definition at line 111 of file cvsfileinfoprovider.cpp. References m_bufferedReader, m_statusLines, and BufferedStringReader::process(). |
|
Sync interface Status for the local files in the specified directory: the info are collected locally so they are necessarly in sync with the repository
Implements KDevVCSFileInfoProvider. Definition at line 51 of file cvsfileinfoprovider.cpp. References CVSDir::cacheableDirStatus(), m_cachedDirEntries, m_previousDirPath, projectDirectory(), and VCSFileInfoMap. |
|
Definition at line 220 of file cvsfileinfoprovider.cpp. Referenced by parse(). |
Member Data Documentation
|
Definition at line 58 of file cvsfileinfoprovider.h. Referenced by slotReceivedOutput(). |
|
Definition at line 67 of file cvsfileinfoprovider.h. Referenced by requestStatus(), slotJobExited(), and status(). |
|
Definition at line 63 of file cvsfileinfoprovider.h. Referenced by requestStatus(). |
|
Caching.
Definition at line 66 of file cvsfileinfoprovider.h. Referenced by requestStatus(), and status(). |
|
Definition at line 62 of file cvsfileinfoprovider.h. Referenced by requestStatus(), and ~CVSFileInfoProvider(). |
|
Definition at line 61 of file cvsfileinfoprovider.h. Referenced by requestStatus(), and slotJobExited(). |
|
Definition at line 59 of file cvsfileinfoprovider.h. Referenced by slotJobExited(), and slotReceivedOutput(). |
The documentation for this class was generated from the following files:
- vcs/cvsservice/cvsfileinfoprovider.h
- vcs/cvsservice/cvsfileinfoprovider.cpp