Changeset View
Changeset View
Standalone View
Standalone View
vcs/widgets/standardvcslocationwidget.h
Show All 32 Lines | |||||
33 | { | 33 | { | ||
34 | Q_OBJECT | 34 | Q_OBJECT | ||
35 | public: | 35 | public: | ||
36 | explicit StandardVcsLocationWidget(QWidget* parent = nullptr, Qt::WindowFlags f = nullptr); | 36 | explicit StandardVcsLocationWidget(QWidget* parent = nullptr, Qt::WindowFlags f = nullptr); | ||
37 | VcsLocation location() const override; | 37 | VcsLocation location() const override; | ||
38 | bool isCorrect() const override; | 38 | bool isCorrect() const override; | ||
39 | QUrl url() const; | 39 | QUrl url() const; | ||
40 | QString projectName() const override; | 40 | QString projectName() const override; | ||
41 | void setLocation(const QUrl& remoteLocation) override; | ||||
42 | void setUrl(const QUrl& url); | ||||
41 | 43 | | |||
42 | public slots: | 44 | public slots: | ||
43 | void textChanged(const QString& str); | 45 | void textChanged(const QString& str); | ||
44 | 46 | | |||
45 | private: | 47 | private: | ||
46 | KUrlRequester* m_urlWidget; | 48 | KUrlRequester* m_urlWidget; | ||
47 | }; | 49 | }; | ||
48 | 50 | | |||
49 | } | 51 | } | ||
50 | #endif // KDEVPLATFORM_STANDARDVCSLOCATIONWIDGET_H | 52 | #endif // KDEVPLATFORM_STANDARDVCSLOCATIONWIDGET_H |