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_SVNMOVEJOB_P_H 0008 #define KDEVPLATFORM_PLUGIN_SVNMOVEJOB_P_H 0009 0010 #include "svninternaljobbase.h" 0011 0012 class SvnInternalMoveJob : public SvnInternalJobBase 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit SvnInternalMoveJob( SvnJobBase* parent = nullptr ); 0017 void setSourceLocation( const QUrl& ); 0018 void setDestinationLocation( const QUrl& ); 0019 void setForce( bool ); 0020 0021 QUrl sourceLocation() const; 0022 QUrl destinationLocation() const; 0023 bool force() const; 0024 protected: 0025 void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override; 0026 private: 0027 QUrl m_sourceLocation; 0028 QUrl m_destinationLocation; 0029 bool m_force = false; 0030 }; 0031 0032 0033 #endif