• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdevelop API Reference
  • KDE Home
  • Contact Us
 

kdevplatform/vcs

  • sources
  • kfour-appscomplete
  • kdevelop
  • kdevplatform
  • vcs
  • widgets
vcsimportmetadatawidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  * This file is part of KDevelop *
3  * Copyright 2007 Andreas Pakulat <[email protected]> *
4  * *
5  * This program is free software; you can redistribute it and/or modify *
6  * it under the terms of the GNU Library General Public License as *
7  * published by the Free Software Foundation; either version 2 of the *
8  * License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU Library General Public *
16  * License along with this program; if not, write to the *
17  * Free Software Foundation, Inc., *
18  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
19  ***************************************************************************/
20 
21 #ifndef KDEVPLATFORM_VCSIMPORTMETADATAWIDGET_H
22 #define KDEVPLATFORM_VCSIMPORTMETADATAWIDGET_H
23 
24 #include <QWidget>
25 #include <vcs/vcsexport.h>
26 
27 class QUrl;
28 
29 namespace KDevelop
30 {
31 
32 class VcsLocation;
33 
34 class KDEVPLATFORMVCS_EXPORT VcsImportMetadataWidget : public QWidget
35 {
36 Q_OBJECT
37 public:
38  explicit VcsImportMetadataWidget( QWidget* parent );
39  ~VcsImportMetadataWidget() override;
40  virtual QUrl source() const = 0;
41  virtual VcsLocation destination() const = 0;
42  virtual QString message() const = 0;
43 
48  virtual bool hasValidData() const = 0;
49 
54  virtual void setUseSourceDirForDestination( bool ) {}
55 Q_SIGNALS:
56  void changed();
57 public Q_SLOTS:
58  virtual void setSourceLocation( const VcsLocation& ) = 0;
59  virtual void setSourceLocationEditable( bool ) = 0;
60  virtual void setMessage(const QString& message) = 0;
61 };
62 
63 }
64 
65 #endif
QUrl
KDevelop::VcsImportMetadataWidget
Definition: vcsimportmetadatawidget.h:33
QWidget
QString
KDevelop
Definition: dvcsevent.h:33
KDevelop::VcsLocation
Denotes a local or repository location for a Vcs system.
Definition: vcslocation.h:42
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Mar 4 2021 23:32:18 by doxygen 1.8.16 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdevplatform/vcs

Skip menu "kdevplatform/vcs"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdevelop API Reference

Skip menu "kdevelop API Reference"
  • kdevplatform
  •   debugger
  •   documentation
  •   interfaces
  •   language
  •     assistant
  •     backgroundparser
  •     checks
  •     classmodel
  •     codecompletion
  •     codegen
  •     duchain
  •     editor
  •     highlighting
  •     interfaces
  •     util
  •   outputview
  •   project
  •   serialization
  •   shell
  •   sublime
  •   tests
  •   util
  •   vcs

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal