Changeset View
Changeset View
Standalone View
Standalone View
src/filewidgets/kfileplacesmodel.h
Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Line(s) | 44 | public: | |||
---|---|---|---|---|---|
68 | explicit KFilePlacesModel(QObject *parent = nullptr); | 68 | explicit KFilePlacesModel(QObject *parent = nullptr); | ||
69 | /** | 69 | /** | ||
70 | * @brief Construct a new KFilePlacesModel with an alternativeApplicationName | 70 | * @brief Construct a new KFilePlacesModel with an alternativeApplicationName | ||
71 | * @param alternativeApplicationName This value will be used to filter bookmarks in addition to the actual application name | 71 | * @param alternativeApplicationName This value will be used to filter bookmarks in addition to the actual application name | ||
72 | * @param parent Parent object | 72 | * @param parent Parent object | ||
73 | * @since 5.43 | 73 | * @since 5.43 | ||
74 | * @todo kf6: merge constructors | 74 | * @todo kf6: merge constructors | ||
75 | */ | 75 | */ | ||
76 | KFilePlacesModel(const QString &alternativeApplicationName, QObject *parent = nullptr); | 76 | explicit KFilePlacesModel(const QString &alternativeApplicationName, QObject *parent = nullptr); | ||
77 | ~KFilePlacesModel() override; | 77 | ~KFilePlacesModel() override; | ||
78 | 78 | | |||
79 | /** | 79 | /** | ||
80 | * @return The URL of the place at index @p index. | 80 | * @return The URL of the place at index @p index. | ||
81 | */ | 81 | */ | ||
82 | QUrl url(const QModelIndex &index) const; | 82 | QUrl url(const QModelIndex &index) const; | ||
83 | 83 | | |||
84 | /** | 84 | /** | ||
▲ Show 20 Lines • Show All 291 Lines • Show Last 20 Lines |