Nepomuk
filequery.h
Go to the documentation of this file.
168 QueryFiles = 0x1,
169 QueryFolders = 0x2,
171 };
183 void setFileMode( FileMode mode );
190 FileMode fileMode() const;
A Nepomuk desktop query specialized for file searches.
Definition: filequery.h:45
void setIncludeFolders(const KUrl::List &folders)
This is an overloaded member function, provided for convenience. It differs from the above function o...
void setIncludeFolders(const QHash< KUrl, bool > &folders)
This is an overloaded member function, provided for convenience. It differs from the above function o...
QHash< KUrl, bool > allIncludeFolders() const
The hash of include folders set via addIncludeFolder() and setIncludeFolders() including their recurs...
KUrl::List includeFolders() const
The list of include folders set via addIncludeFolder() and setIncludeFolders().
void addIncludeFolder(const KUrl &folder)
Add a folder to include in the search.
void addIncludeFolder(const KUrl &folder, bool recursive)
Add a folder to include in the search path.
FileQuery(const Term &term)
Create a file query with root term term.
void addExcludeFolder(const KUrl &folder)
Add a folder to exclude from the search.
KUrl::List excludeFolders() const
The list of exclude folders set via addExcludeFolder() and setExcludeFolders().
FileModeFlags
An enumeration used in setFileMode() to state wether the query should return files and folders or onl...
Definition: filequery.h:167
void setExcludeFolders(const KUrl::List &folders)
This is an overloaded member function, provided for convenience. It differs from the above function o...
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.