• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/vcs

  • KDevelop
  • VcsAnnotation
Public Member Functions | List of all members
KDevelop::VcsAnnotation Class Reference

#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()

KDevelop::VcsAnnotation::~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
linenothe line for which to insert the content
linethe 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
locationthe location of the file

Definition at line 179 of file vcsannotation.cpp.


The documentation for this class was generated from the following files:
  • vcsannotation.h
  • vcsannotation.cpp
This file is part of the KDE documentation.
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.

kdevplatform/vcs

Skip menu "kdevplatform/vcs"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal