kdevplatform/vcs
#include <vcsannotation.h>
Public Member Functions | |
VcsAnnotation () | |
VcsAnnotation (const VcsAnnotation &) | |
virtual | ~VcsAnnotation () |
bool | containsLine (int lineno) const |
void | insertLine (int lineno, const VcsAnnotationLine &line) |
VcsAnnotationLine | line (int linenumber) const |
int | lineCount () const |
QUrl | location () const |
VcsAnnotation & | operator= (const VcsAnnotation &rhs) |
void | setLocation (const QUrl &location) |
Detailed Description
Annotations for a local file.
This class lets the user fetch information for each line of a local file, including date of last change, author of last change and revision of last change to the line.
Definition at line 115 of file vcsannotation.h.
Constructor & Destructor Documentation
◆ VcsAnnotation() [1/2]
KDevelop::VcsAnnotation::VcsAnnotation | ( | ) |
Definition at line 148 of file vcsannotation.cpp.
◆ VcsAnnotation() [2/2]
KDevelop::VcsAnnotation::VcsAnnotation | ( | const VcsAnnotation & | rhs | ) |
Definition at line 153 of file vcsannotation.cpp.
◆ ~VcsAnnotation()
|
virtualdefault |
Member Function Documentation
◆ containsLine()
bool KDevelop::VcsAnnotation::containsLine | ( | int | lineno | ) | const |
Definition at line 195 of file vcsannotation.cpp.
◆ insertLine()
void KDevelop::VcsAnnotation::insertLine | ( | int | lineno, |
const VcsAnnotationLine & | line | ||
) |
insert a new line to list of lines using the parameters
- Parameters
-
lineno the line for which to insert the content line the annotation line that should be inserted
Definition at line 170 of file vcsannotation.cpp.
◆ line()
VcsAnnotationLine KDevelop::VcsAnnotation::line | ( | int | linenumber | ) | const |
retrieve the annotation line for the given number
Definition at line 184 of file vcsannotation.cpp.
◆ lineCount()
int KDevelop::VcsAnnotation::lineCount | ( | ) | const |
- Returns
- the number of lines in the file
Definition at line 165 of file vcsannotation.cpp.
◆ location()
QUrl KDevelop::VcsAnnotation::location | ( | ) | const |
- Returns
- the local url of the file
Definition at line 160 of file vcsannotation.cpp.
◆ operator=()
VcsAnnotation & KDevelop::VcsAnnotation::operator= | ( | const VcsAnnotation & | rhs | ) |
Definition at line 189 of file vcsannotation.cpp.
◆ setLocation()
void KDevelop::VcsAnnotation::setLocation | ( | const QUrl & | location | ) |
- Parameters
-
location the location of the file
Definition at line 179 of file vcsannotation.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jan 26 2021 23:32:00 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.