Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfileplacesmodel.h
Show First 20 Lines • Show All 126 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
127 | 127 | | |||
128 | /** | 128 | /** | ||
129 | * @return The KBookmark instance of the place at index @p index. | 129 | * @return The KBookmark instance of the place at index @p index. | ||
130 | * If the index is not valid, a default KBookmark instance is returned. | 130 | * If the index is not valid, a default KBookmark instance is returned. | ||
131 | */ | 131 | */ | ||
132 | KBookmark bookmarkForIndex(const QModelIndex &index) const; | 132 | KBookmark bookmarkForIndex(const QModelIndex &index) const; | ||
133 | 133 | | |||
134 | /** | 134 | /** | ||
135 | * @return The KBookmark instance of the place with url @p searchUrl. | ||||
136 | * If the bookmark corresponding to searchUrl is not found, a default KBookmark instance is returned. | ||||
137 | * @since 5.63 | ||||
138 | */ | ||||
139 | KBookmark bookmarkForUrl(const QUrl &searchUrl) const; | ||||
pino: this method must be const | |||||
140 | | ||||
141 | /** | ||||
135 | * @return The group type of the place at index @p index. | 142 | * @return The group type of the place at index @p index. | ||
136 | * @since 5.42 | 143 | * @since 5.42 | ||
137 | */ | 144 | */ | ||
138 | GroupType groupType(const QModelIndex &index) const; | 145 | GroupType groupType(const QModelIndex &index) const; | ||
139 | 146 | | |||
140 | /** | 147 | /** | ||
141 | * @return The list of model indexes that have @ type as their group type. | 148 | * @return The list of model indexes that have @ type as their group type. | ||
142 | * @see groupType() | 149 | * @see groupType() | ||
▲ Show 20 Lines • Show All 226 Lines • Show Last 20 Lines |
this method must be const