Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/plugins/folder/foldermodel.h
Show First 20 Lines • Show All 215 Lines • ▼ Show 20 Line(s) | 96 | public: | |||
---|---|---|---|---|---|
216 | 216 | | |||
217 | Q_INVOKABLE void linkHere(const QUrl &sourceUrl); | 217 | Q_INVOKABLE void linkHere(const QUrl &sourceUrl); | ||
218 | 218 | | |||
219 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | 219 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const Q_DECL_OVERRIDE; | ||
220 | int indexForUrl(const QUrl &url) const; | 220 | int indexForUrl(const QUrl &url) const; | ||
221 | KFileItem itemForIndex(const QModelIndex &index) const; | 221 | KFileItem itemForIndex(const QModelIndex &index) const; | ||
222 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | 222 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | ||
223 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; | 223 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const Q_DECL_OVERRIDE; | ||
224 | Qt::DropActions supportedDragActions() const override; | ||||
224 | 225 | | |||
225 | Q_INVOKABLE void paste(); | 226 | Q_INVOKABLE void paste(); | ||
226 | Q_INVOKABLE void copy(); | 227 | Q_INVOKABLE void copy(); | ||
227 | Q_INVOKABLE void cut(); | 228 | Q_INVOKABLE void cut(); | ||
228 | Q_INVOKABLE void deleteSelected(); | 229 | Q_INVOKABLE void deleteSelected(); | ||
229 | Q_INVOKABLE void openSelected(); | 230 | Q_INVOKABLE void openSelected(); | ||
230 | Q_INVOKABLE void undo(); | 231 | Q_INVOKABLE void undo(); | ||
231 | Q_INVOKABLE void refresh(); | 232 | Q_INVOKABLE void refresh(); | ||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |