Libkleo
12#include "kleo_export.h"
22class KLEO_EXPORT FileSystemWatcher :
public QObject
26 explicit FileSystemWatcher(QObject *parent =
nullptr);
27 explicit FileSystemWatcher(
const QStringList &paths, QObject *parent =
nullptr);
28 ~FileSystemWatcher()
override;
30 void setDelay(
int ms);
33 void setEnabled(
bool enable);
34 bool isEnabled()
const;
36 void addPaths(
const QStringList &paths);
37 void addPath(
const QString &path);
39 void blacklistFiles(
const QStringList &patterns);
40 void whitelistFiles(
const QStringList &patterns);
42 QStringList files()
const;
43 void removePaths(
const QStringList &path);
44 void removePath(
const QString &path);
47 void directoryChanged(
const QString &path);
48 void fileChanged(
const QString &path);
53 QScopedPointer<Private>
const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:50:12 by
doxygen 1.13.2 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.