Changeset View
Changeset View
Standalone View
Standalone View
kcms/baloo/filteredfoldermodel.h
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Line(s) | 32 | public: | |||
---|---|---|---|---|---|
46 | Q_INVOKABLE void removeFolder(int row); | 46 | Q_INVOKABLE void removeFolder(int row); | ||
47 | QHash<int, QByteArray> roleNames() const override; | 47 | QHash<int, QByteArray> roleNames() const override; | ||
48 | 48 | | |||
49 | public slots: | 49 | public slots: | ||
50 | void updateDirectoryList(); | 50 | void updateDirectoryList(); | ||
51 | 51 | | |||
52 | private: | 52 | private: | ||
53 | QString folderDisplayName(const QString& url) const; | 53 | QString folderDisplayName(const QString& url) const; | ||
54 | bool shouldShowMountPoint(const QString& mountPoint); | | |||
55 | QString fetchMountPoint(const QString& url) const; | 54 | QString fetchMountPoint(const QString& url) const; | ||
56 | void showMessage(const QString& message); | 55 | void showMessage(const QString& message); | ||
57 | 56 | | |||
58 | /** | 57 | /** | ||
59 | * @brief Get the theme valid icon name for \p path. | 58 | * @brief Get the theme valid icon name for \p path. | ||
60 | * | 59 | * | ||
61 | * @param path Path to be analysed. | 60 | * @param path Path to be analysed. | ||
62 | * @return One of: "user-home", "drive-harddisk" or "folder" | 61 | * @return One of: "user-home", "drive-harddisk" or "folder" | ||
Show All 9 Lines |