CvsOptions Class Reference
#include <cvsoptions.h>
Collaboration diagram for CvsOptions:

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 kdDebug(), and m_instance. |
|
Definition at line 43 of file cvsoptions.cpp. References default_compression, default_contextLines, default_diff, default_revert, default_rsh, kdDebug(), and m_serviceConfig. Referenced by instance(). |
Member Function Documentation
|
Definition at line 263 of file cvsoptions.cpp. |
|
Definition at line 249 of file cvsoptions.cpp. Referenced by CvsServicePartImpl::diff(), CvsOptionsWidget::readConfig(), save(), and CVSDiffPage::startDiff(). |
|
Definition at line 179 of file cvsoptions.cpp. Referenced by CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), save(), and CvsServicePartImpl::update(). |
|
Definition at line 221 of file cvsoptions.cpp. Referenced by CvsServicePartImpl::createNewProject(), CvsOptionsWidget::readConfig(), and save(). |
|
Definition at line 207 of file cvsoptions.cpp. 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 kdDebug(). |
|
|
Definition at line 107 of file cvsoptions.cpp. References default_contextLines, default_diff, default_revert, default_rsh, guessLocation(), kdDebug(), m_contextLines, m_createDirsWhenUpdate, m_cvsRshEnvVar, m_diffOptions, m_pruneEmptyDirsWhenUpdate, m_recursiveWhenCommitRemove, m_recursiveWhenUpdate, m_revertOptions, m_serviceConfig, KDevProject::projectDirectory(), KDevPlugin::projectDom(), DomUtil::readBoolEntry(), KConfigBase::readEntry(), DomUtil::readEntry(), KConfigBase::readUnsignedNumEntry(), and KConfigBase::setGroup(). Referenced by CvsServicePart::slotProjectOpened(). |
|
:pserver:marios@cvs.kde.org:/home/kde) Definition at line 228 of file cvsoptions.cpp. Referenced by CvsServicePartImpl::createNewProject(), and CvsOptionsWidget::readConfig(). |
|
Definition at line 151 of file cvsoptions.cpp. Referenced by CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), save(), and CvsServicePartImpl::update(). |
|
Definition at line 137 of file cvsoptions.cpp. Referenced by CvsServicePartImpl::commit(), CvsOptionsWidget::readConfig(), and save(). |
|
Definition at line 165 of file cvsoptions.cpp. Referenced by CvsOptionsWidget::readConfig(), CvsServicePartImpl::removeStickyFlag(), save(), and CvsServicePartImpl::update(). |
|
Definition at line 193 of file cvsoptions.cpp. Referenced by save(), and CvsServicePartImpl::update(). |
|
|
Definition at line 256 of file cvsoptions.cpp. References m_compressionLevel. |
|
Definition at line 242 of file cvsoptions.cpp. References m_contextLines. Referenced by CvsOptionsWidget::storeConfig(). |
|
Definition at line 172 of file cvsoptions.cpp. References m_createDirsWhenUpdate. Referenced by CvsOptionsWidget::storeConfig(). |
|
Definition at line 214 of file cvsoptions.cpp. References m_cvsRshEnvVar. Referenced by CvsServicePartImpl::createNewProject(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 200 of file cvsoptions.cpp. References m_diffOptions. Referenced by 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. Referenced by CvsServicePartImpl::createNewProject(), and CvsOptionsWidget::storeConfig(). |
|
Definition at line 144 of file cvsoptions.cpp. References m_pruneEmptyDirsWhenUpdate. Referenced by CvsOptionsWidget::storeConfig(). |
|
Definition at line 130 of file cvsoptions.cpp. References m_recursiveWhenCommitRemove. Referenced by CvsOptionsWidget::storeConfig(). |
|
Definition at line 158 of file cvsoptions.cpp. References m_recursiveWhenUpdate. Referenced by CvsOptionsWidget::storeConfig(). |
|
Definition at line 186 of file cvsoptions.cpp. References m_revertOptions. |
Member Data Documentation
|
|
|
Definition at line 92 of file cvsoptions.h. Referenced by setCompressionLevel(). |
|
Definition at line 93 of file cvsoptions.h. Referenced by load(), and setContextLines(). |
|
Definition at line 87 of file cvsoptions.h. Referenced by load(), and setCreateDirsWhenUpdate(). |
|
Definition at line 90 of file cvsoptions.h. Referenced by load(), and setCvsRshEnvVar(). |
|
Definition at line 89 of file cvsoptions.h. Referenced by 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 setLocation(). |
|
Definition at line 85 of file cvsoptions.h. Referenced by load(), and setPruneEmptyDirsWhenUpdate(). |
|
Definition at line 84 of file cvsoptions.h. Referenced by load(), and setRecursiveWhenCommitRemove(). |
|
Definition at line 86 of file cvsoptions.h. Referenced by load(), and setRecursiveWhenUpdate(). |
|
Definition at line 88 of file cvsoptions.h. Referenced by load(), and setRevertOptions(). |
|
So we can access cvssservice configuration (repositories first of all).
Definition at line 95 of file cvsoptions.h. Referenced by CvsOptions(), load(), and save(). |
The documentation for this class was generated from the following files:
- vcs/cvsservice/cvsoptions.h
- vcs/cvsservice/cvsoptions.cpp