Changeset View
Changeset View
Standalone View
Standalone View
vcs/widgets/vcslocationwidget.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 40 | public: | |||
---|---|---|---|---|---|
46 | /** @returns whether we have a correct location in the widget. */ | 46 | /** @returns whether we have a correct location in the widget. */ | ||
47 | virtual bool isCorrect() const=0; | 47 | virtual bool isCorrect() const=0; | ||
48 | 48 | | |||
49 | /** @returns a proposed project name to be used as a hint for an identifier | 49 | /** @returns a proposed project name to be used as a hint for an identifier | ||
50 | * for the VcsLocation. | 50 | * for the VcsLocation. | ||
51 | */ | 51 | */ | ||
52 | virtual QString projectName() const=0; | 52 | virtual QString projectName() const=0; | ||
53 | 53 | | |||
54 | /** Sets the location by a respective URL | ||||
55 | * @param remoteLocation the URL used to access a remote repository | ||||
56 | * @see IBasicVersionControl::isValidRemoteRepositoryUrl | ||||
57 | */ | ||||
58 | virtual void setLocation(const QUrl& remoteLocation) = 0; | ||||
59 | | ||||
54 | signals: | 60 | signals: | ||
55 | void changed(); | 61 | void changed(); | ||
56 | }; | 62 | }; | ||
57 | 63 | | |||
58 | } | 64 | } | ||
59 | #endif | 65 | #endif | ||
60 | 66 | | |||
61 | 67 | |