Changeset View
Changeset View
Standalone View
Standalone View
kdevplatform/vcs/widgets/vcsdiffpatchsources.h
Context not available. | |||||
48 | virtual KDevelop::VcsDiff update() const = 0; | 48 | virtual KDevelop::VcsDiff update() const = 0; | ||
---|---|---|---|---|---|
49 | virtual KDevelop::IBasicVersionControl* vcs() const = 0; | 49 | virtual KDevelop::IBasicVersionControl* vcs() const = 0; | ||
50 | virtual QUrl url() const = 0; | 50 | virtual QUrl url() const = 0; | ||
51 | void setContextLines(int n) | ||||
52 | { | ||||
53 | m_contextLines = n; | ||||
54 | } | ||||
55 | int contextLines() { return m_contextLines; } | ||||
56 | protected: | ||||
57 | int m_contextLines=-1; | ||||
51 | }; | 58 | }; | ||
52 | 59 | | |||
53 | class KDEVPLATFORMVCS_EXPORT VCSStandardDiffUpdater : public VCSDiffUpdater { | 60 | class KDEVPLATFORMVCS_EXPORT VCSStandardDiffUpdater : public VCSDiffUpdater { | ||
Context not available. |