• 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
vcslocationwidget.h
Go to the documentation of this file.
1 /* This file is part of KDevelop
2  *
3  * Copyright 2010 Aleix Pol Gonzalez <[email protected]>
4  *
5  * This program is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU General Public License
7  * as published by the Free Software Foundation; either version 2
8  * of the 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 General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
18  * 02110-1301, USA.
19  */
20 
21 #ifndef KDEVPLATFORM_VCSLOCATIONWIDGET_H
22 #define KDEVPLATFORM_VCSLOCATIONWIDGET_H
23 
24 #include <QWidget>
25 #include <vcs/vcsexport.h>
26 
27 namespace KDevelop
28 {
29 class VcsLocation;
30 
37 class KDEVPLATFORMVCS_EXPORT VcsLocationWidget : public QWidget
38 {
39  Q_OBJECT
40  public:
41  explicit VcsLocationWidget(QWidget* parent = nullptr, Qt::WindowFlags f = {});
42 
44  virtual VcsLocation location() const=0;
45 
47  virtual bool isCorrect() const=0;
48 
52  virtual QString projectName() const=0;
53 
58  virtual void setLocation(const QUrl& remoteLocation) = 0;
59 
60  Q_SIGNALS:
61  void changed();
62 };
63 
64 }
65 #endif
66 
67 
QUrl
QWidget
QString
KDevelop::VcsLocationWidget
Provides a widget to be used to ask the user for a VersionControl location.
Definition: vcslocationwidget.h:37
KDevelop
Definition: dvcsevent.h:33
Qt::WindowFlags
typedef WindowFlags
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 Apr 15 2021 23:31:11 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