File indexing completed on 2024-05-05 04:41:01

0001 /*
0002     SPDX-FileCopyrightText: 2007 Dukju Ahn <dukjuahn@gmail.com>
0003     SPDX-FileCopyrightText: 2007 Andreas Pakulat <apaku@gmx.de>
0004 
0005     SPDX-License-Identifier: GPL-2.0-or-later
0006 */
0007 
0008 #ifndef KDEVPLATFORM_PLUGIN_SVNIMPORTMETADATAWIDGET_H
0009 #define KDEVPLATFORM_PLUGIN_SVNIMPORTMETADATAWIDGET_H
0010 
0011 #include <vcs/widgets/vcsimportmetadatawidget.h>
0012 
0013 namespace Ui
0014 {
0015     class SvnImportMetadataWidget;
0016 }
0017 
0018 class SvnImportMetadataWidget : public KDevelop::VcsImportMetadataWidget
0019 {
0020     Q_OBJECT
0021 public:
0022     explicit SvnImportMetadataWidget( QWidget *parent );
0023     ~SvnImportMetadataWidget() override;
0024 
0025     void setSourceLocation( const KDevelop::VcsLocation& ) override;
0026     void setSourceLocationEditable( bool ) override;
0027     QUrl source() const override;
0028     KDevelop::VcsLocation destination() const override;
0029     QString message() const override;
0030     void setUseSourceDirForDestination( bool ) override;
0031     void setMessage(const QString& message) override;
0032     bool hasValidData() const override;
0033 private:
0034     Ui::SvnImportMetadataWidget *m_ui;
0035     bool useSourceDirForDestination;
0036 };
0037 
0038 #endif