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_SVNLOGJOB_H 0008 #define KDEVPLATFORM_PLUGIN_SVNLOGJOB_H 0009 0010 #include "svnjobbase.h" 0011 0012 #include <QVariant> 0013 0014 #include <QUrl> 0015 0016 #include <vcs/vcsrevision.h> 0017 #include <vcs/vcsevent.h> 0018 0019 class SvnInternalLogJob; 0020 0021 class SvnLogJob : public SvnJobBaseImpl<SvnInternalLogJob> 0022 { 0023 Q_OBJECT 0024 public: 0025 explicit SvnLogJob( KDevSvnPlugin* parent ); 0026 QVariant fetchResults() override; 0027 void start() override; 0028 void setLocation( const QUrl &location ); 0029 void setLimit( int limit ); 0030 void setEndRevision( const KDevelop::VcsRevision& rev ); 0031 void setStartRevision( const KDevelop::VcsRevision& rev ); 0032 private Q_SLOTS: 0033 void logEventReceived( const KDevelop::VcsEvent& ); 0034 private: 0035 QList<QVariant> m_eventList; 0036 0037 }; 0038 0039 #endif