• 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
standardvcslocationwidget.h
Go to the documentation of this file.
1 /* KDevPlatform Vcs Support
2  *
3  * Copyright 2010 Aleix Pol <[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_STANDARDVCSLOCATIONWIDGET_H
22 #define KDEVPLATFORM_STANDARDVCSLOCATIONWIDGET_H
23 
24 #include <vcs/widgets/vcslocationwidget.h>
25 #include <vcs/vcsexport.h>
26 
27 class QUrl;
28 class KUrlRequester;
29 namespace KDevelop
30 {
31 
32 class KDEVPLATFORMVCS_EXPORT StandardVcsLocationWidget : public VcsLocationWidget
33 {
34  Q_OBJECT
35  public:
36  explicit StandardVcsLocationWidget(QWidget* parent = nullptr, Qt::WindowFlags f = {});
37  VcsLocation location() const override;
38  bool isCorrect() const override;
39  QUrl url() const;
40  QString projectName() const override;
41  void setLocation(const QUrl& remoteLocation) override;
42  void setUrl(const QUrl& url);
43 
44  public Q_SLOTS:
45  void textChanged(const QString& str);
46 
47  private:
48  KUrlRequester* m_urlWidget;
49 };
50 
51 }
52 #endif // KDEVPLATFORM_STANDARDVCSLOCATIONWIDGET_H
QUrl
QWidget
vcslocationwidget.h
KDevelop::StandardVcsLocationWidget
Definition: standardvcslocationwidget.h:32
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 Sat Apr 10 2021 23:31:23 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