Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfileplacesmodel.h
| Show First 20 Lines • Show All 84 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
|---|---|---|---|---|---|
| 85 | bool isHidden(const QModelIndex &index) const; | 85 | bool isHidden(const QModelIndex &index) const; | ||
| 86 | /// @since 5.42 | 86 | /// @since 5.42 | ||
| 87 | bool isGroupHidden(const GroupType type) const; | 87 | bool isGroupHidden(const GroupType type) const; | ||
| 88 | /// @since 5.42 | 88 | /// @since 5.42 | ||
| 89 | bool isGroupHidden(const QModelIndex &index) const; | 89 | bool isGroupHidden(const QModelIndex &index) const; | ||
| 90 | bool isDevice(const QModelIndex &index) const; | 90 | bool isDevice(const QModelIndex &index) const; | ||
| 91 | Solid::Device deviceForIndex(const QModelIndex &index) const; | 91 | Solid::Device deviceForIndex(const QModelIndex &index) const; | ||
| 92 | KBookmark bookmarkForIndex(const QModelIndex &index) const; | 92 | KBookmark bookmarkForIndex(const QModelIndex &index) const; | ||
| 93 | /// @since 5.62 | ||||
| 94 | KBookmark bookmarkForUrl(const QUrl &searchUrl); | ||||
| 93 | /// @since 5.42 | 95 | /// @since 5.42 | ||
| 94 | GroupType groupType(const QModelIndex &index) const; | 96 | GroupType groupType(const QModelIndex &index) const; | ||
| 95 | QModelIndexList groupIndexes(const GroupType type) const; | 97 | QModelIndexList groupIndexes(const GroupType type) const; | ||
| 96 | 98 | | |||
| 97 | QAction *teardownActionForIndex(const QModelIndex &index) const; | 99 | QAction *teardownActionForIndex(const QModelIndex &index) const; | ||
pino: this method must be const | |||||
| 98 | QAction *ejectActionForIndex(const QModelIndex &index) const; | 100 | QAction *ejectActionForIndex(const QModelIndex &index) const; | ||
| 99 | void requestTeardown(const QModelIndex &index); | 101 | void requestTeardown(const QModelIndex &index); | ||
| 100 | void requestEject(const QModelIndex &index); | 102 | void requestEject(const QModelIndex &index); | ||
| 101 | void requestSetup(const QModelIndex &index); | 103 | void requestSetup(const QModelIndex &index); | ||
| 102 | 104 | | |||
| 103 | void addPlace(const QString &text, const QUrl &url, const QString &iconName = QString(), const QString &appName = QString()); | 105 | void addPlace(const QString &text, const QUrl &url, const QString &iconName = QString(), const QString &appName = QString()); | ||
| 104 | void addPlace(const QString &text, const QUrl &url, const QString &iconName, const QString &appName, const QModelIndex &after); | 106 | void addPlace(const QString &text, const QUrl &url, const QString &iconName, const QString &appName, const QModelIndex &after); | ||
| 105 | void editPlace(const QModelIndex &index, const QString &text, const QUrl &url, const QString &iconName = QString(), const QString &appName = QString()); | 107 | void editPlace(const QModelIndex &index, const QString &text, const QUrl &url, const QString &iconName = QString(), const QString &appName = QString()); | ||
| ▲ Show 20 Lines • Show All 126 Lines • Show Last 20 Lines | |||||
this method must be const