• 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
  • dvcs
  • ui
dvcsimportmetadatawidget.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright 2007 Robert Gruber <[email protected]> *
3  * Copyright 2007 Andreas Pakulat <[email protected]> *
4  * *
5  * Adapted for Git *
6  * Copyright 2008 Evgeniy Ivanov <[email protected]> *
7  * *
8  * Pimpl-ed and exported *
9  * Copyright 2014 Maciej Poleski *
10  * *
11  * This program is free software; you can redistribute it and/or *
12  * modify it under the terms of the GNU General Public License as *
13  * published by the Free Software Foundation; either version 2 of *
14  * the License or (at your option) version 3 or any later version *
15  * accepted by the membership of KDE e.V. (or its successor approved *
16  * by the membership of KDE e.V.), which shall act as a proxy *
17  * defined in Section 14 of version 3 of the license. *
18  * *
19  * This program is distributed in the hope that it will be useful, *
20  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
21  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
22  * GNU General Public License for more details. *
23  * *
24  * You should have received a copy of the GNU General Public License *
25  * along with this program. If not, see <http://www.gnu.org/licenses/>. *
26  ***************************************************************************/
27 
28 #ifndef KDEVPLATFORM_DVCSIMPORTMETADATAWIDGET_H
29 #define KDEVPLATFORM_DVCSIMPORTMETADATAWIDGET_H
30 
31 #include <vcs/widgets/vcsimportmetadatawidget.h>
32 
33 namespace Ui {
34 class DvcsImportMetadataWidget;
35 }
36 
37 class DvcsImportMetadataWidgetPrivate;
38 
44 class KDEVPLATFORMVCS_EXPORT DvcsImportMetadataWidget : public KDevelop::VcsImportMetadataWidget
45 {
46  Q_OBJECT
47  Q_DECLARE_PRIVATE(DvcsImportMetadataWidget)
48 
49 public:
50  explicit DvcsImportMetadataWidget(QWidget* parent=nullptr);
51  ~DvcsImportMetadataWidget() override;
52 
53  QUrl source() const override;
54  KDevelop::VcsLocation destination() const override;
55  QString message() const override; //Is not used, it returns an empty string
56  void setSourceLocation( const KDevelop::VcsLocation& ) override;
57  void setSourceLocationEditable( bool ) override;
58  void setMessage(const QString& message) override;
59  bool hasValidData() const override;
60 
61 private:
62  DvcsImportMetadataWidgetPrivate *const d_ptr;
63 };
64 
65 #endif
KDevelop::VcsImportMetadataWidget::hasValidData
virtual bool hasValidData() const =0
Check whether the given data is valid.
QUrl
KDevelop::VcsImportMetadataWidget::destination
virtual VcsLocation destination() const =0
KDevelop::VcsImportMetadataWidget::setMessage
virtual void setMessage(const QString &message)=0
KDevelop::VcsImportMetadataWidget
Definition: vcsimportmetadatawidget.h:33
QWidget
DvcsImportMetadataWidget
Asks the user for all options needed to import an existing directory into a Git repository.
Definition: dvcsimportmetadatawidget.h:43
KDevelop::VcsImportMetadataWidget::setSourceLocationEditable
virtual void setSourceLocationEditable(bool)=0
QString
Ui
Definition: branchmanager.h:27
KDevelop::VcsImportMetadataWidget::setSourceLocation
virtual void setSourceLocation(const VcsLocation &)=0
KDevelop::VcsImportMetadataWidget::source
virtual QUrl source() const =0
KDevelop::VcsImportMetadataWidget::message
virtual QString message() const =0
vcsimportmetadatawidget.h
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 Mon Mar 8 2021 23:30:50 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