CvsOptions Class Reference
#include <cvsoptions.h>
Public Member Functions | |
virtual | ~CvsOptions () |
void | save (KDevProject *project) |
void | load (KDevProject *project) |
void | setRecursiveWhenCommitRemove (bool b) |
bool | recursiveWhenCommitRemove () const |
void | setPruneEmptyDirsWhenUpdate (bool b) |
bool | pruneEmptyDirsWhenUpdate () const |
void | setRecursiveWhenUpdate (bool b) |
bool | recursiveWhenUpdate () const |
void | setCreateDirsWhenUpdate (bool b) |
bool | createDirsWhenUpdate () const |
void | setDiffOptions (const QString &p) |
QString | diffOptions () |
void | setRevertOptions (const QString &p) |
QString | revertOptions () |
void | setCvsRshEnvVar (const QString &p) |
QString | cvsRshEnvVar () |
QString | guessLocation (const QString &projectDir) const |
Will try to determine location by using CVS/Root file. | |
void | setLocation (const QString &p) |
Set server path string (this should be called by the part when a new project is created or imported). | |
QString | location () |
| |
void | setContextLines (unsigned int contextLines) |
unsigned int | contextLines () const |
void | setCompressionLevel (unsigned int compressionLevel=0) |
unsigned int | compressionLevel () const |
Static Public Member Functions | |
CvsOptions * | instance () |
Static Public Attributes | |
QString | invalidLocation |
Private Member Functions | |
CvsOptions () | |
Private Attributes | |
bool | m_recursiveWhenCommitRemove |
bool | m_pruneEmptyDirsWhenUpdate |
bool | m_recursiveWhenUpdate |
bool | m_createDirsWhenUpdate |
QString | m_revertOptions |
QString | m_diffOptions |
QString | m_cvsRshEnvVar |
QString | m_location |
unsigned int | m_compressionLevel |
unsigned int | m_contextLines |
KConfig * | m_serviceConfig |
So we can access cvssservice configuration (repositories first of all). | |
Static Private Attributes | |
CvsOptions * | m_instance = 0 |
Constructor & Destructor Documentation
|
Definition at line 61 of file cvsoptions.cpp. References endl(), kdDebug(), m_instance, and m_serviceConfig. |
|
Definition at line 43 of file cvsoptions.cpp. References default_compression, default_contextLines, default_diff, default_revert, default_rsh, endl(), kdDebug(), and m_serviceConfig. Referenced by instance(). |
Member Function Documentation
|
Definition at line 263 of file cvsoptions.cpp. References m_compressionLevel. |
|
Definition at line 249 of file cvsoptions.cpp. References m_contextLines. Referenced by CvsServicePartImpl::diff(), CvsOptionsWidget::readConfig(), save(), and CVSDiffPage::startDiff(). |
|
Definition at line 179 of file cvsoptions.cpp. References m_createDirsWhenUpdate. Referenced by CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), save(), and CvsServicePartImpl::update(). |
|
Definition at line 221 of file cvsoptions.cpp. References m_cvsRshEnvVar. Referenced by CvsServicePartImpl::createNewProject(), CvsOptionsWidget::readConfig(), and save(). |
|
Definition at line 207 of file cvsoptions.cpp. References m_diffOptions. Referenced by CvsServicePartImpl::diff(), CvsOptionsWidget::readConfig(), save(), and CVSDiffPage::startDiff(). |
|
Will try to determine location by using CVS/Root file.
Definition at line 270 of file cvsoptions.cpp. References endl(), guessLocation(), and kdDebug(). Referenced by guessLocation(), load(), and save(). |
|
Definition at line 71 of file cvsoptions.cpp. References CvsOptions(), and m_instance. Referenced by CvsServicePartImpl::createNewProject(), CvsServicePartImpl::diff(), CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), CvsServicePart::slotProjectClosed(), CvsServicePart::slotProjectOpened(), CVSDiffPage::startDiff(), CvsOptionsWidget::storeConfig(), and CvsServicePartImpl::update(). |
|
Definition at line 107 of file cvsoptions.cpp. References default_contextLines, default_diff, default_revert, default_rsh, endl(), guessLocation(), kdDebug(), load(), m_contextLines, m_createDirsWhenUpdate, m_cvsRshEnvVar, m_diffOptions, m_pruneEmptyDirsWhenUpdate, m_recursiveWhenCommitRemove, m_recursiveWhenUpdate, m_revertOptions, m_serviceConfig, KDevProject::projectDirectory(), KDevPlugin::projectDom(), KConfigBase::readEntry(), KConfigBase::readUnsignedNumEntry(), and KConfigBase::setGroup(). Referenced by load(), and CvsServicePart::slotProjectOpened(). |
|
:pserver:marios@cvs.kde.org:/home/kde) Definition at line 228 of file cvsoptions.cpp. References m_location. Referenced by CvsServicePartImpl::createNewProject(), and CvsOptionsWidget::readConfig(). |
|
Definition at line 151 of file cvsoptions.cpp. References m_pruneEmptyDirsWhenUpdate. Referenced by CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), save(), and CvsServicePartImpl::update(). |
|
Definition at line 137 of file cvsoptions.cpp. References m_recursiveWhenCommitRemove. Referenced by CvsOptionsWidget::readConfig(), and save(). |
|
Definition at line 165 of file cvsoptions.cpp. References m_recursiveWhenUpdate. Referenced by CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), save(), and CvsServicePartImpl::update(). |
|
Definition at line 193 of file cvsoptions.cpp. References m_revertOptions. Referenced by save(), and CvsServicePartImpl::update(). |
|
Definition at line 82 of file cvsoptions.cpp. References contextLines(), createDirsWhenUpdate(), cvsRshEnvVar(), diffOptions(), endl(), guessLocation(), kdDebug(), m_serviceConfig, KDevProject::projectDirectory(), KDevPlugin::projectDom(), pruneEmptyDirsWhenUpdate(), recursiveWhenCommitRemove(), recursiveWhenUpdate(), revertOptions(), save(), KConfigBase::setGroup(), and KConfigBase::writeEntry(). Referenced by save(), CvsServicePart::slotProjectClosed(), and CvsServicePart::slotProjectOpened(). |
|
Definition at line 256 of file cvsoptions.cpp. References m_compressionLevel, and setCompressionLevel(). Referenced by setCompressionLevel(). |
|
Definition at line 242 of file cvsoptions.cpp. References m_contextLines, and setContextLines(). Referenced by setContextLines(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 172 of file cvsoptions.cpp. References m_createDirsWhenUpdate, and setCreateDirsWhenUpdate(). Referenced by setCreateDirsWhenUpdate(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 214 of file cvsoptions.cpp. References m_cvsRshEnvVar, and setCvsRshEnvVar(). Referenced by CvsServicePartImpl::createNewProject(), setCvsRshEnvVar(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 200 of file cvsoptions.cpp. References m_diffOptions, and setDiffOptions(). Referenced by setDiffOptions(), and CvsOptionsWidget::storeConfig(). |
|
Set server path string (this should be called by the part when a new project is created or imported).
Definition at line 235 of file cvsoptions.cpp. References m_location, and setLocation(). Referenced by CvsServicePartImpl::createNewProject(), setLocation(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 144 of file cvsoptions.cpp. References m_pruneEmptyDirsWhenUpdate, and setPruneEmptyDirsWhenUpdate(). Referenced by setPruneEmptyDirsWhenUpdate(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 130 of file cvsoptions.cpp. References m_recursiveWhenCommitRemove, and setRecursiveWhenCommitRemove(). Referenced by setRecursiveWhenCommitRemove(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 158 of file cvsoptions.cpp. References m_recursiveWhenUpdate, and setRecursiveWhenUpdate(). Referenced by setRecursiveWhenUpdate(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 186 of file cvsoptions.cpp. References m_revertOptions, and setRevertOptions(). Referenced by setRevertOptions(). |
Member Data Documentation
|
|
|
Definition at line 92 of file cvsoptions.h. Referenced by compressionLevel(), and setCompressionLevel(). |
|
Definition at line 93 of file cvsoptions.h. Referenced by contextLines(), load(), and setContextLines(). |
|
Definition at line 87 of file cvsoptions.h. Referenced by createDirsWhenUpdate(), load(), and setCreateDirsWhenUpdate(). |
|
Definition at line 90 of file cvsoptions.h. Referenced by cvsRshEnvVar(), load(), and setCvsRshEnvVar(). |
|
Definition at line 89 of file cvsoptions.h. Referenced by diffOptions(), load(), and setDiffOptions(). |
|
Definition at line 36 of file cvsoptions.cpp. Referenced by instance(), and ~CvsOptions(). |
|
Definition at line 91 of file cvsoptions.h. Referenced by location(), and setLocation(). |
|
Definition at line 85 of file cvsoptions.h. Referenced by load(), pruneEmptyDirsWhenUpdate(), and setPruneEmptyDirsWhenUpdate(). |
|
Definition at line 84 of file cvsoptions.h. Referenced by load(), recursiveWhenCommitRemove(), and setRecursiveWhenCommitRemove(). |
|
Definition at line 86 of file cvsoptions.h. Referenced by load(), recursiveWhenUpdate(), and setRecursiveWhenUpdate(). |
|
Definition at line 88 of file cvsoptions.h. Referenced by load(), revertOptions(), and setRevertOptions(). |
|
So we can access cvssservice configuration (repositories first of all).
Definition at line 95 of file cvsoptions.h. Referenced by CvsOptions(), load(), save(), and ~CvsOptions(). |
The documentation for this class was generated from the following files:
- vcs/cvsservice/cvsoptions.h
- vcs/cvsservice/cvsoptions.cpp