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_SVNIMPORTJOB_P_H 0008 #define KDEVPLATFORM_PLUGIN_SVNIMPORTJOB_P_H 0009 0010 #include "svninternaljobbase.h" 0011 0012 class SvnImportInternalJob : public SvnInternalJobBase 0013 { 0014 Q_OBJECT 0015 public: 0016 explicit SvnImportInternalJob( SvnJobBase* parent = nullptr ); 0017 void setMapping( const QUrl &sourceDirectory, const KDevelop::VcsLocation & destinationRepository); 0018 void setMessage( const QString& ); 0019 0020 QString message() const; 0021 bool isValid() const; 0022 QUrl source() const; 0023 protected: 0024 void run(ThreadWeaver::JobPointer self, ThreadWeaver::Thread* thread) override; 0025 private: 0026 QUrl m_sourceDirectory; 0027 KDevelop::VcsLocation m_destinationRepository; 0028 QString m_message; 0029 }; 0030 0031 #endif