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

kdevelop/kdevplatform/vcs

Public Member Functions | Public Attributes | List of all members
VCSDiffPatchSource Class Reference

#include <vcsdiffpatchsources.h>

Inheritance diagram for VCSDiffPatchSource:
Inheritance graph
[legend]

Public Member Functions

 VCSDiffPatchSource (VCSDiffUpdater *updater)
 
 VCSDiffPatchSource (const KDevelop::VcsDiff &diff)
 
 ~VCSDiffPatchSource () override
 
QMap< QUrl,
KDevelop::VcsStatusInfo::State > 
additionalSelectableFiles () const override
 
QUrl baseDir () const override
 
uint depth () const override
 
QUrl file () const override
 
bool isAlreadyApplied () const override
 
QString name () const override
 
void update () override
 
- Public Member Functions inherited from KDevelop::IPatchSource
virtual bool canCancel () const
 
virtual void cancelReview ()
 
virtual bool canSelectFiles () const
 
virtual QWidget * customWidget () const
 
virtual bool finishReview (const QList< QUrl > &selection)
 
virtual QString finishReviewCustomText () const
 
virtual QIcon icon () const
 
- Public Member Functions inherited from QObject
 QObject (QObject *parent)
 
 QObject (QObject *parent, const char *name)
 
virtual  ~QObject ()
 
bool blockSignals (bool block)
 
QObject * child (const char *objName, const char *inheritsClass, bool recursiveSearch) const
 
const QObjectList & children () const
 
const char * className () const
 
bool connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const
 
void deleteLater ()
 
void destroyed (QObject *obj)
 
bool disconnect (const QObject *receiver, const char *method)
 
bool disconnect (const char *signal, const QObject *receiver, const char *method)
 
void dumpObjectInfo ()
 
void dumpObjectTree ()
 
QList< QByteArray > dynamicPropertyNames () const
 
virtual bool event (QEvent *e)
 
virtual bool eventFilter (QObject *watched, QEvent *event)
 
T findChild (const QString &name) const
 
QList< T > findChildren (const QRegExp &regExp) const
 
QList< T > findChildren (const QString &name) const
 
bool inherits (const char *className) const
 
void insertChild (QObject *object)
 
void installEventFilter (QObject *filterObj)
 
bool isA (const char *className) const
 
bool isWidgetType () const
 
void killTimer (int id)
 
virtual const QMetaObject * metaObject () const
 
void moveToThread (QThread *targetThread)
 
const char * name () const
 
const char * name (const char *defaultName) const
 
QString objectName () const
 
QObject * parent () const
 
QVariant property (const char *name) const
 
void removeChild (QObject *object)
 
void removeEventFilter (QObject *obj)
 
void setName (const char *name)
 
void setObjectName (const QString &name)
 
void setParent (QObject *parent)
 
bool setProperty (const char *name, const QVariant &value)
 
bool signalsBlocked () const
 
int startTimer (int interval)
 
QThread * thread () const
 

Public Attributes

QUrl m_base
 
QUrl m_file
 
QList< KDevelop::VcsStatusInfo > m_infos
 
QString m_name
 
QMap< QUrl,
KDevelop::VcsStatusInfo::State > 
m_selectable
 
VCSDiffUpdater * m_updater
 

Additional Inherited Members

- Public Types inherited from KDevelop::IPatchSource
using Ptr = QPointer< IPatchSource >
 
- Signals inherited from KDevelop::IPatchSource
void patchChanged ()
 
- Static Public Member Functions inherited from QObject
bool connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
 
bool connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type)
 
bool disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method)
 
bool disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method)
 
QString tr (const char *sourceText, const char *disambiguation, int n)
 
QString trUtf8 (const char *sourceText, const char *disambiguation, int n)
 
- Protected Member Functions inherited from QObject
bool checkConnectArgs (const char *signal, const QObject *object, const char *method)
 
virtual void childEvent (QChildEvent *event)
 
virtual void connectNotify (const char *signal)
 
virtual void customEvent (QEvent *event)
 
virtual void disconnectNotify (const char *signal)
 
int receivers (const char *signal) const
 
QObject * sender () const
 
int senderSignalIndex () const
 
virtual void timerEvent (QTimerEvent *event)
 
- Static Protected Member Functions inherited from QObject
QByteArray normalizeSignalSlot (const char *signalSlot)
 
- Properties inherited from QObject
 objectName
 

Detailed Description

Definition at line 66 of file vcsdiffpatchsources.h.

Constructor & Destructor Documentation

VCSDiffPatchSource::VCSDiffPatchSource ( VCSDiffUpdater *  updater)
explicit

The ownership of the updater is taken.

Definition at line 129 of file vcsdiffpatchsources.cpp.

VCSDiffPatchSource::VCSDiffPatchSource ( const KDevelop::VcsDiff &  diff)
explicit

Definition at line 157 of file vcsdiffpatchsources.cpp.

VCSDiffPatchSource::~VCSDiffPatchSource ( )
override

Definition at line 163 of file vcsdiffpatchsources.cpp.

Member Function Documentation

QMap< QUrl, KDevelop::VcsStatusInfo::State > VCSDiffPatchSource::additionalSelectableFiles ( ) const
overridevirtual

May return an additional list of selectable files together with short description strings for this patch The default implementation returns an empty list.

Reimplemented from KDevelop::IPatchSource.

Definition at line 227 of file vcsdiffpatchsources.cpp.

QUrl VCSDiffPatchSource::baseDir ( ) const
overridevirtual

Should return the base-dir of the patch.

Implements KDevelop::IPatchSource.

Definition at line 169 of file vcsdiffpatchsources.cpp.

uint VCSDiffPatchSource::depth ( ) const
overridevirtual

Depth - number of directories to left-strip from paths in the patch - see "patch -p" Defaults to 0.

Reimplemented from KDevelop::IPatchSource.

Definition at line 181 of file vcsdiffpatchsources.cpp.

QUrl VCSDiffPatchSource::file ( ) const
overridevirtual

Name of the patch file.

Implements KDevelop::IPatchSource.

Definition at line 173 of file vcsdiffpatchsources.cpp.

bool VCSDiffPatchSource::isAlreadyApplied ( ) const
inlineoverridevirtual

Should tell if the patch is already applied on the local version.

Implements KDevelop::IPatchSource.

Definition at line 84 of file vcsdiffpatchsources.h.

QString VCSDiffPatchSource::name ( ) const
overridevirtual

Name of the patch, that will be shown in a combo box.

Should describe the patch in a useful way, for example "Difference to base in kdevplatform/language"

Implements KDevelop::IPatchSource.

Definition at line 177 of file vcsdiffpatchsources.cpp.

void VCSDiffPatchSource::update ( )
overridevirtual

Explicit updating of the patch: If it is a dynamic patch, it should re-compare the files or whatever needs to be done If the patch has changed, patchChanged needs to be emitted.

Implements KDevelop::IPatchSource.

Definition at line 213 of file vcsdiffpatchsources.cpp.

Member Data Documentation

QUrl VCSDiffPatchSource::m_base

Definition at line 88 of file vcsdiffpatchsources.h.

QUrl VCSDiffPatchSource::m_file

Definition at line 88 of file vcsdiffpatchsources.h.

QList<KDevelop::VcsStatusInfo> VCSDiffPatchSource::m_infos

Definition at line 91 of file vcsdiffpatchsources.h.

QString VCSDiffPatchSource::m_name

Definition at line 89 of file vcsdiffpatchsources.h.

QMap<QUrl, KDevelop::VcsStatusInfo::State> VCSDiffPatchSource::m_selectable

Definition at line 92 of file vcsdiffpatchsources.h.

VCSDiffUpdater* VCSDiffPatchSource::m_updater

Definition at line 90 of file vcsdiffpatchsources.h.


The documentation for this class was generated from the following files:
  • vcsdiffpatchsources.h
  • vcsdiffpatchsources.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2019 The KDE developers.
Generated on Sat Dec 7 2019 04:29:53 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