kleopatra
filesystemwatcher.cpp
Go to the documentation of this file.
118 static QStringList list_dir_absolute( const QString & path, const QStringList & blacklist, const QStringList & whitelist ) {
136 static QStringList find_new_files( const QStringList & current, const std::set<QString> & seen ) {
154 const QStringList newFiles = find_new_files( list_dir_absolute( path, m_blacklist, m_whitelist ), m_seenPaths );
272 static QStringList resolve( const QStringList & paths, const QStringList & blacklist, const QStringList & whitelist ) {
287 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:118
static bool is_blacklisted(const QString &file, const QStringList &blacklist)
Definition: filesystemwatcher.cpp:95
void setEnabled(bool enable)
Definition: filesystemwatcher.cpp:216
void addPath(const QString &path)
Definition: filesystemwatcher.cpp:294
void whitelistFiles(const QStringList &patterns)
Definition: filesystemwatcher.cpp:264
static QStringList resolve(const QStringList &paths, const QStringList &blacklist, const QStringList &whitelist)
Definition: filesystemwatcher.cpp:272
Definition: filesystemwatcher.h:45
FileSystemWatcher(QObject *parent=0)
Definition: filesystemwatcher.cpp:204
void removePath(const QString &path)
Definition: filesystemwatcher.cpp:309
static QStringList find_new_files(const QStringList ¤t, const std::set< QString > &seen)
Definition: filesystemwatcher.cpp:136
static bool is_matching(const QString &file, const QStringList &list)
Definition: filesystemwatcher.cpp:87
void addPaths(const QStringList &paths)
Definition: filesystemwatcher.cpp:282
void removePaths(const QStringList &path)
Definition: filesystemwatcher.cpp:299
~FileSystemWatcher()
Definition: filesystemwatcher.cpp:238
static bool is_whitelisted(const QString &file, const QStringList &whitelist)
Definition: filesystemwatcher.cpp:99
void blacklistFiles(const QStringList &patterns)
Definition: filesystemwatcher.cpp:253
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:56:41 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.