File indexing completed on 2024-05-05 04:41:02
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_SVNSTATUSJOB_H 0008 #define KDEVPLATFORM_PLUGIN_SVNSTATUSJOB_H 0009 0010 #include "svnjobbase.h" 0011 0012 #include <vcs/vcsstatusinfo.h> 0013 #include <QUrl> 0014 0015 class SvnInternalStatusJob; 0016 0017 class SvnStatusJob : public SvnJobBaseImpl<SvnInternalStatusJob> 0018 { 0019 Q_OBJECT 0020 public: 0021 0022 explicit SvnStatusJob( KDevSvnPlugin* parent ); 0023 QVariant fetchResults() override; 0024 void start() override; 0025 0026 void setLocations( const QList<QUrl>& locations ); 0027 void setRecursive( bool ); 0028 0029 public Q_SLOTS: 0030 void addToStats( const KDevelop::VcsStatusInfo& ); 0031 private: 0032 QList<QVariant> m_stats; 0033 }; 0034 0035 #endif 0036