Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/plugins/folder/foldermodel.h
Show First 20 Lines • Show All 233 Lines • ▼ Show 20 Line(s) | 104 | public: | |||
---|---|---|---|---|---|
234 | Q_INVOKABLE void openPropertiesDialog(); | 234 | Q_INVOKABLE void openPropertiesDialog(); | ||
235 | 235 | | |||
236 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; | 236 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; | ||
237 | int indexForUrl(const QUrl &url) const; | 237 | int indexForUrl(const QUrl &url) const; | ||
238 | KFileItem itemForIndex(const QModelIndex &index) const; | 238 | KFileItem itemForIndex(const QModelIndex &index) const; | ||
239 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | 239 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | ||
240 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const override; | 240 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const override; | ||
241 | Qt::DropActions supportedDragActions() const override; | 241 | Qt::DropActions supportedDragActions() const override; | ||
242 | Qt::DropActions supportedDropActions() const override; | ||||
242 | 243 | | |||
243 | Q_INVOKABLE void paste(); | 244 | Q_INVOKABLE void paste(); | ||
244 | Q_INVOKABLE void copy(); | 245 | Q_INVOKABLE void copy(); | ||
245 | Q_INVOKABLE void cut(); | 246 | Q_INVOKABLE void cut(); | ||
246 | Q_INVOKABLE void deleteSelected(); | 247 | Q_INVOKABLE void deleteSelected(); | ||
247 | Q_INVOKABLE void openSelected(); | 248 | Q_INVOKABLE void openSelected(); | ||
248 | Q_INVOKABLE void undo(); | 249 | Q_INVOKABLE void undo(); | ||
249 | Q_INVOKABLE void refresh(); | 250 | Q_INVOKABLE void refresh(); | ||
▲ Show 20 Lines • Show All 116 Lines • Show Last 20 Lines |