File indexing completed on 2024-05-05 04:41:01
0001 /* 0002 SPDX-FileCopyrightText: 2007 Andreas Pakulat <apaku@gmx.de> 0003 0004 SPDX-License-Identifier: LGPL-2.0-or-later 0005 */ 0006 0007 #ifndef KDEVPLATFORM_PLUGIN_SVNDIFFJOB_H 0008 #define KDEVPLATFORM_PLUGIN_SVNDIFFJOB_H 0009 0010 0011 #include "svnjobbase.h" 0012 0013 #include <vcs/vcsdiff.h> 0014 0015 namespace KDevelop 0016 { 0017 class VcsRevision; 0018 class VcsLocation; 0019 } 0020 0021 class SvnInternalDiffJob; 0022 0023 class SvnDiffJob : public SvnJobBaseImpl<SvnInternalDiffJob> 0024 { 0025 Q_OBJECT 0026 public: 0027 explicit SvnDiffJob( KDevSvnPlugin* parent ); 0028 QVariant fetchResults() override; 0029 void start() override; 0030 void setSource( const KDevelop::VcsLocation& ); 0031 void setDestination( const KDevelop::VcsLocation& ); 0032 void setPegRevision( const KDevelop::VcsRevision& ); 0033 void setSrcRevision( const KDevelop::VcsRevision& ); 0034 void setDstRevision( const KDevelop::VcsRevision& ); 0035 void setRecursive( bool ); 0036 void setIgnoreAncestry( bool ); 0037 void setIgnoreContentType( bool ); 0038 void setNoDiffOnDelete( bool ); 0039 0040 public Q_SLOTS: 0041 void setDiff( const QString& ); 0042 0043 private: 0044 KDevelop::VcsDiff m_diff; 0045 }; 0046 0047 0048 #endif 0049