kleopatra
filesystemwatcher.cpp
Go to the documentation of this file.
120 static QStringList list_dir_absolute( const QString & path, const QStringList & blacklist, const QStringList & whitelist ) {
138 static QStringList find_new_files( const QStringList & current, const std::set<QString> & seen ) {
156 const QStringList newFiles = find_new_files( list_dir_absolute( path, m_blacklist, m_whitelist ), m_seenPaths );
274 static QStringList resolve( const QStringList & paths, const QStringList & blacklist, const QStringList & whitelist ) {
289 kDebug( !newPaths.empty() ) << "adding\n " << newPaths.join( QLatin1String("\n ") ) << "\n/end";
static QStringList list_dir_absolute(const QString &path, const QStringList &blacklist, const QStringList &whitelist)
Definition: filesystemwatcher.cpp:120
static bool is_blacklisted(const QString &file, const QStringList &blacklist)
Definition: filesystemwatcher.cpp:97
void setEnabled(bool enable)
Definition: filesystemwatcher.cpp:218
void addPath(const QString &path)
Definition: filesystemwatcher.cpp:296
void whitelistFiles(const QStringList &patterns)
Definition: filesystemwatcher.cpp:266
iterator erase(iterator pos)
QString join(const QString &separator) const
static QStringList resolve(const QStringList &paths, const QStringList &blacklist, const QStringList &whitelist)
Definition: filesystemwatcher.cpp:274
QString & insert(int position, QChar ch)
bool empty() const
Definition: filesystemwatcher.h:45
FileSystemWatcher(QObject *parent=0)
Definition: filesystemwatcher.cpp:206
void removePath(const QString &path)
Definition: filesystemwatcher.cpp:311
static QStringList find_new_files(const QStringList ¤t, const std::set< QString > &seen)
Definition: filesystemwatcher.cpp:138
iterator end()
static bool is_matching(const QString &file, const QStringList &list)
Definition: filesystemwatcher.cpp:89
void insert(int i, const T &value)
void addPaths(const QStringList &paths)
Definition: filesystemwatcher.cpp:284
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
void removePaths(const QStringList &path)
Definition: filesystemwatcher.cpp:301
QString absoluteFilePath(const QString &fileName) const
~FileSystemWatcher()
Definition: filesystemwatcher.cpp:240
iterator begin()
static bool is_whitelisted(const QString &file, const QStringList &whitelist)
Definition: filesystemwatcher.cpp:101
void blacklistFiles(const QStringList &patterns)
Definition: filesystemwatcher.cpp:255
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:11 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.