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

kdevelop/kdevplatform/vcs

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

#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

enum KDevelop::VcsItemEvent::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().

Enumerator
Added 

Item was added.

Deleted 

Item was deleted.

Modified 

Item was modified, for example by editing.

Copied 

Item was copied.

Merged 

Item had changes merged into it.

ContentsModified 

Directory was not changed (only contents changed).

Replaced 

Item was replaced.

Definition at line 52 of file vcsevent.h.

Constructor & Destructor Documentation

KDevelop::VcsItemEvent::VcsItemEvent ( )

Definition at line 41 of file vcsevent.cpp.

KDevelop::VcsItemEvent::~VcsItemEvent ( )
virtualdefault
KDevelop::VcsItemEvent::VcsItemEvent ( const VcsItemEvent &  rhs)

Definition at line 48 of file vcsevent.cpp.

Member Function Documentation

VcsItemEvent::Actions KDevelop::VcsItemEvent::actions ( ) const

Definition at line 68 of file vcsevent.cpp.

VcsItemEvent & KDevelop::VcsItemEvent::operator= ( const VcsItemEvent &  rhs)

Definition at line 93 of file vcsevent.cpp.

QString KDevelop::VcsItemEvent::repositoryCopySourceLocation ( ) const

Definition at line 58 of file vcsevent.cpp.

VcsRevision KDevelop::VcsItemEvent::repositoryCopySourceRevision ( ) const

Definition at line 63 of file vcsevent.cpp.

QString KDevelop::VcsItemEvent::repositoryLocation ( ) const

Definition at line 53 of file vcsevent.cpp.

void KDevelop::VcsItemEvent::setActions ( Actions  )

Definition at line 88 of file vcsevent.cpp.

void KDevelop::VcsItemEvent::setRepositoryCopySourceLocation ( const QString &  l)

Definition at line 78 of file vcsevent.cpp.

void KDevelop::VcsItemEvent::setRepositoryCopySourceRevision ( const KDevelop::VcsRevision &  rev)

Definition at line 83 of file vcsevent.cpp.

void KDevelop::VcsItemEvent::setRepositoryLocation ( const QString &  l)

Definition at line 73 of file vcsevent.cpp.


The documentation for this class was generated from the following files:
  • vcsevent.h
  • vcsevent.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Thu Dec 12 2019 03:35:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevelop/kdevplatform/vcs

Skip menu "kdevelop/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