vcs
vcsimportmetadatawidget.h
00001 /*************************************************************************** 00002 * This file is part of KDevelop * 00003 * Copyright 2007 Andreas Pakulat <apaku@gmx.de> * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU Library General Public License as * 00007 * published by the Free Software Foundation; either version 2 of the * 00008 * License, or (at your option) any later version. * 00009 * * 00010 * This program is distributed in the hope that it will be useful, * 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00013 * GNU General Public License for more details. * 00014 * * 00015 * You should have received a copy of the GNU Library General Public * 00016 * License along with this program; if not, write to the * 00017 * Free Software Foundation, Inc., * 00018 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. * 00019 ***************************************************************************/ 00020 00021 #ifndef VCSIMPORTMETADATAWIDGET_H 00022 #define VCSIMPORTMETADATAWIDGET_H 00023 00024 #include <QtGui/QWidget> 00025 #include "../vcsexport.h" 00026 00027 namespace KDevelop 00028 { 00029 00030 class VcsMapping; 00031 class VcsLocation; 00032 00033 class KDEVPLATFORMVCS_EXPORT VcsImportMetadataWidget : public QWidget 00034 { 00035 Q_OBJECT 00036 public: 00037 VcsImportMetadataWidget( QWidget* parent ); 00038 virtual ~VcsImportMetadataWidget(); 00039 virtual VcsMapping mapping() const = 0; 00040 virtual QString message() const = 0; 00041 public Q_SLOTS: 00042 virtual void setSourceLocation( const VcsLocation& ) = 0; 00043 virtual void setSourceLocationEditable( bool ) = 0; 00044 }; 00045 00046 } 00047 00048 #endif 00049 00050 //kate: space-indent on; indent-width 4; replace-tabs on; auto-insert-doxygen on; indent-mode cstyle;
KDE 4.2 API Reference