Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/plugins/folder/foldermodel.h
Show First 20 Lines • Show All 223 Lines • ▼ Show 20 Line(s) | 103 | public: | |||
---|---|---|---|---|---|
224 | 224 | | |||
225 | Q_INVOKABLE QAction* action(const QString& name) const; | 225 | Q_INVOKABLE QAction* action(const QString& name) const; | ||
226 | QObject* newMenu() const; | 226 | QObject* newMenu() const; | ||
227 | Q_INVOKABLE void updateActions(); | 227 | Q_INVOKABLE void updateActions(); | ||
228 | Q_INVOKABLE void openContextMenu(QQuickItem *visualParent = nullptr); | 228 | Q_INVOKABLE void openContextMenu(QQuickItem *visualParent = nullptr); | ||
229 | 229 | | |||
230 | Q_INVOKABLE void linkHere(const QUrl &sourceUrl); | 230 | Q_INVOKABLE void linkHere(const QUrl &sourceUrl); | ||
231 | 231 | | |||
232 | Q_INVOKABLE void openPropertiesDialog(); | ||||
233 | | ||||
232 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; | 234 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const override; | ||
233 | int indexForUrl(const QUrl &url) const; | 235 | int indexForUrl(const QUrl &url) const; | ||
234 | KFileItem itemForIndex(const QModelIndex &index) const; | 236 | KFileItem itemForIndex(const QModelIndex &index) const; | ||
235 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | 237 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | ||
236 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const override; | 238 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const override; | ||
237 | Qt::DropActions supportedDragActions() const override; | 239 | Qt::DropActions supportedDragActions() const override; | ||
238 | 240 | | |||
239 | Q_INVOKABLE void paste(); | 241 | Q_INVOKABLE void paste(); | ||
▲ Show 20 Lines • Show All 114 Lines • Show Last 20 Lines |