kde-extraapps/kdevplatform/plugins/subversion/svnimportmetadatawidget.h
2015-07-26 14:23:17 +03:00

41 lines
1.6 KiB
C++

/***************************************************************************
* Copyright 2007 Dukju Ahn <dukjuahn@gmail.com> *
* Copyright 2007 Andreas Pakulat <apaku@gmx.de> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef KDEVPLATFORM_PLUGIN_SVNIMPORTMETADATAWIDGET_H
#define KDEVPLATFORM_PLUGIN_SVNIMPORTMETADATAWIDGET_H
#include <vcs/widgets/vcsimportmetadatawidget.h>
namespace Ui
{
class SvnImportMetadataWidget;
}
class SvnImportMetadataWidget : public KDevelop::VcsImportMetadataWidget
{
Q_OBJECT
public:
SvnImportMetadataWidget( QWidget *parent );
virtual ~SvnImportMetadataWidget();
virtual void setSourceLocation( const KDevelop::VcsLocation& );
virtual void setSourceLocationEditable( bool );
virtual KUrl source() const;
virtual KDevelop::VcsLocation destination() const;
virtual QString message() const;
virtual void setUseSourceDirForDestination( bool );
virtual bool hasValidData() const;
private:
Ui::SvnImportMetadataWidget *m_ui;
bool useSourceDirForDestination;
};
#endif