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_P_H 0008 #define KDEVPLATFORM_PLUGIN_SVNSTATUSJOB_P_H 0009 0010 #include "svninternaljobbase.h" 0011 0012 #include <vcs/vcsstatusinfo.h> 0013 #include <QUrl> 0014 0015 class SvnInternalStatusJob : public SvnInternalJobBase 0016 { 0017 Q_OBJECT 0018 public: 0019 explicit SvnInternalStatusJob( SvnJobBase* parent = nullptr ); 0020 void setLocations( const QList<QUrl>& ); 0021 void setRecursive( bool ); 0022 0023 bool recursive() const; 0024 QList<QUrl> locations() const; 0025 Q_SIGNALS: 0026 void gotNewStatus( const KDevelop::VcsStatusInfo& ); 0027 protected: 0028 void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override; 0029 private: 0030 QList<QUrl> m_locations; 0031 bool m_recursive = false; 0032 }; 0033 0034 #endif 0035