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 | Qt::DropActions supportedDropActions() const Q_DECL_OVERRIDE; | 127 | Qt::DropActions supportedDropActions() const Q_DECL_OVERRIDE; | ||
128 | Qt::ItemFlags flags(const QModelIndex &index) const Q_DECL_OVERRIDE; | 128 | Qt::ItemFlags flags(const QModelIndex &index) const Q_DECL_OVERRIDE; | ||
129 | QStringList mimeTypes() const Q_DECL_OVERRIDE; | 129 | QStringList mimeTypes() const Q_DECL_OVERRIDE; | ||
130 | QMimeData *mimeData(const QModelIndexList &indexes) const Q_DECL_OVERRIDE; | 130 | QMimeData *mimeData(const QModelIndexList &indexes) const Q_DECL_OVERRIDE; | ||
131 | bool dropMimeData(const QMimeData *data, Qt::DropAction action, | 131 | bool dropMimeData(const QMimeData *data, Qt::DropAction action, | ||
132 | int row, int column, const QModelIndex &parent) Q_DECL_OVERRIDE; | 132 | int row, int column, const QModelIndex &parent) Q_DECL_OVERRIDE; | ||
133 | 133 | | |||
134 | /** | 134 | /** | ||
135 | * @brief Reload bookmark information | ||||
136 | * @since 5.41 | ||||
137 | */ | ||||
138 | void refresh() const; | ||||
139 | | ||||
140 | /** | ||||
135 | * @brief Converts the URL, which contains "virtual" URLs for system-items like | 141 | * @brief Converts the URL, which contains "virtual" URLs for system-items like | ||
136 | * "timeline:/lastmonth" into a Query-URL "timeline:/2017-10" | 142 | * "timeline:/lastmonth" into a Query-URL "timeline:/2017-10" | ||
137 | * that will be handled by the corresponding IO-slave. | 143 | * that will be handled by the corresponding IO-slave. | ||
138 | * Virtual URLs for bookmarks are used to be independent from | 144 | * Virtual URLs for bookmarks are used to be independent from | ||
139 | * internal format changes. | 145 | * internal format changes. | ||
140 | * @param an url | 146 | * @param an url | ||
141 | * @return the converted URL, which can be handled by an ioslave | 147 | * @return the converted URL, which can be handled by an ioslave | ||
142 | * @since 5.41 | 148 | * @since 5.41 | ||
Show All 22 Lines |