Changeset View
Changeset View
Standalone View
Standalone View
krusader/FileSystem/defaultfilesystem.h
Show First 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 47 | public: | |||
---|---|---|---|---|---|
62 | bool canMoveToTrash(const QStringList &) const override { return isLocal(); } | 62 | bool canMoveToTrash(const QStringList &) const override { return isLocal(); } | ||
63 | 63 | | |||
64 | QString mountPoint() const override { return _mountPoint; } | 64 | QString mountPoint() const override { return _mountPoint; } | ||
65 | bool hasAutoUpdate() const override { return !_watcher.isNull(); } | 65 | bool hasAutoUpdate() const override { return !_watcher.isNull(); } | ||
66 | void updateFilesystemInfo() override; | 66 | void updateFilesystemInfo() override; | ||
67 | 67 | | |||
68 | protected: | 68 | protected: | ||
69 | bool refreshInternal(const QUrl &origin, bool onlyScan) override; | 69 | bool refreshInternal(const QUrl &origin, bool onlyScan) override; | ||
70 | /** | ||||
71 | * Get the file list from the .hidden file. | ||||
72 | * | ||||
73 | * @param dir the directory containing the .hidden file | ||||
74 | * @return a list containing all files that must be hidden or an empty set | ||||
75 | * if the file cannot be read. | ||||
76 | */ | ||||
77 | QSet<QString> filesInDotHidden(const QString &dir); | ||||
70 | 78 | | |||
71 | protected slots: | 79 | protected slots: | ||
72 | /// Handle result after dir listing job is finished | 80 | /// Handle result after dir listing job is finished | ||
73 | void slotListResult(KJob *job); | 81 | void slotListResult(KJob *job); | ||
74 | /// Fill directory file list with new files from the dir lister | 82 | /// Fill directory file list with new files from the dir lister | ||
75 | void slotAddFiles(KIO::Job *job, const KIO::UDSEntryList &entries); | 83 | void slotAddFiles(KIO::Job *job, const KIO::UDSEntryList &entries); | ||
76 | /// URL redirection signal from dir lister | 84 | /// URL redirection signal from dir lister | ||
77 | void slotRedirection(KIO::Job *job, const QUrl &url); | 85 | void slotRedirection(KIO::Job *job, const QUrl &url); | ||
Show All 19 Lines |