Changeset View
Changeset View
Standalone View
Standalone View
containments/desktop/plugins/folder/foldermodel.h
Show First 20 Lines • Show All 192 Lines • ▼ Show 20 Line(s) | 95 | public: | |||
---|---|---|---|---|---|
193 | Q_INVOKABLE void drop(QQuickItem *target, QObject *dropEvent, int row); | 193 | Q_INVOKABLE void drop(QQuickItem *target, QObject *dropEvent, int row); | ||
194 | Q_INVOKABLE void dropCwd(QObject *dropEvent); | 194 | Q_INVOKABLE void dropCwd(QObject *dropEvent); | ||
195 | 195 | | |||
196 | Q_INVOKABLE bool isBlank(int row) const; | 196 | Q_INVOKABLE bool isBlank(int row) const; | ||
197 | 197 | | |||
198 | Q_INVOKABLE QAction* action(const QString& name) const; | 198 | Q_INVOKABLE QAction* action(const QString& name) const; | ||
199 | QObject* newMenu() const; | 199 | QObject* newMenu() const; | ||
200 | Q_INVOKABLE void updateActions(); | 200 | Q_INVOKABLE void updateActions(); | ||
201 | Q_INVOKABLE void openContextMenu(); | 201 | Q_INVOKABLE void openContextMenu(QQuickItem *visualParent = nullptr); | ||
202 | 202 | | |||
203 | Q_INVOKABLE void linkHere(const QUrl &sourceUrl); | 203 | Q_INVOKABLE void linkHere(const QUrl &sourceUrl); | ||
204 | 204 | | |||
205 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; | 205 | QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const; | ||
206 | int indexForUrl(const QUrl &url) const; | 206 | int indexForUrl(const QUrl &url) const; | ||
207 | KFileItem itemForIndex(const QModelIndex &index) const; | 207 | KFileItem itemForIndex(const QModelIndex &index) const; | ||
208 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | 208 | bool isDir(const QModelIndex &index, const KDirModel *dirModel) const; | ||
209 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const; | 209 | bool lessThan(const QModelIndex &left, const QModelIndex &right) const; | ||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |