kdevplatform/vcs
#include <vcsevent.h>
Public Types | |
enum | Action { Added = 1<<0, Deleted = 1<<1, Modified = 1<<2, Copied = 1<<3, Merged = 1<<4, ContentsModified = 1<<5, Replaced = 1<<6 } |
Public Member Functions | |
VcsItemEvent () | |
VcsItemEvent (const VcsItemEvent &) | |
virtual | ~VcsItemEvent () |
Actions | actions () const |
VcsItemEvent & | operator= (const VcsItemEvent &rhs) |
QString | repositoryCopySourceLocation () const |
VcsRevision | repositoryCopySourceRevision () const |
QString | repositoryLocation () const |
void | setActions (Actions) |
void | setRepositoryCopySourceLocation (const QString &) |
void | setRepositoryCopySourceRevision (const KDevelop::VcsRevision &) |
void | setRepositoryLocation (const QString &) |
Detailed Description
Small container class that contains information about a history event of a single repository item.
Definition at line 42 of file vcsevent.h.
Member Enumeration Documentation
◆ Action
Class that tells you what happened to a given repository location in a specific revision.
Combinations of some of the flags are possible, for example Add|Modified, Copy|Modified or Merge|Modified, or when returned from VcsEvent::actions().
Definition at line 52 of file vcsevent.h.
Constructor & Destructor Documentation
◆ VcsItemEvent() [1/2]
KDevelop::VcsItemEvent::VcsItemEvent | ( | ) |
Definition at line 57 of file vcsevent.cpp.
◆ ~VcsItemEvent()
|
virtualdefault |
◆ VcsItemEvent() [2/2]
KDevelop::VcsItemEvent::VcsItemEvent | ( | const VcsItemEvent & | rhs | ) |
Definition at line 64 of file vcsevent.cpp.
Member Function Documentation
◆ actions()
VcsItemEvent::Actions KDevelop::VcsItemEvent::actions | ( | ) | const |
Definition at line 84 of file vcsevent.cpp.
◆ operator=()
VcsItemEvent & KDevelop::VcsItemEvent::operator= | ( | const VcsItemEvent & | rhs | ) |
Definition at line 109 of file vcsevent.cpp.
◆ repositoryCopySourceLocation()
QString KDevelop::VcsItemEvent::repositoryCopySourceLocation | ( | ) | const |
Definition at line 74 of file vcsevent.cpp.
◆ repositoryCopySourceRevision()
VcsRevision KDevelop::VcsItemEvent::repositoryCopySourceRevision | ( | ) | const |
Definition at line 79 of file vcsevent.cpp.
◆ repositoryLocation()
QString KDevelop::VcsItemEvent::repositoryLocation | ( | ) | const |
Definition at line 69 of file vcsevent.cpp.
◆ setActions()
void KDevelop::VcsItemEvent::setActions | ( | Actions | ) |
Definition at line 104 of file vcsevent.cpp.
◆ setRepositoryCopySourceLocation()
void KDevelop::VcsItemEvent::setRepositoryCopySourceLocation | ( | const QString & | l | ) |
Definition at line 94 of file vcsevent.cpp.
◆ setRepositoryCopySourceRevision()
void KDevelop::VcsItemEvent::setRepositoryCopySourceRevision | ( | const KDevelop::VcsRevision & | rev | ) |
Definition at line 99 of file vcsevent.cpp.
◆ setRepositoryLocation()
void KDevelop::VcsItemEvent::setRepositoryLocation | ( | const QString & | l | ) |
Definition at line 89 of file vcsevent.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Sat Jan 16 2021 23:36:06 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.