Baloo::FileMonitor Class
class Baloo::FileMonitorHeader: | #include <Baloo/FileMonitor> |
CMake: | find_package(KF6 REQUIRED COMPONENTS Baloo) target_link_libraries(mytarget PRIVATE KF6::Baloo) |
Inherits: | QObject |
Public Functions
FileMonitor(QObject *parent = nullptr) | |
void | addFile(const QString &fileUrl) |
void | addFile(const QUrl &url) |
void | clear() |
QStringList | files() const |
void | setFiles(const QStringList &fileList) |
Signals
void | fileMetaDataChanged(const QString &fileUrl) |
Detailed Description
Member Function Documentation
[explicit]
FileMonitor::FileMonitor(QObject *parent = nullptr)
void FileMonitor::addFile(const QString &fileUrl)
void FileMonitor::addFile(const QUrl &url)
void FileMonitor::clear()
[signal]
void FileMonitor::fileMetaDataChanged(const QString &fileUrl)
QStringList FileMonitor::files() const
See also setFiles().
void FileMonitor::setFiles(const QStringList &fileList)
See also files().