akonadi
#include <tagfetchscope.h>
Public Member Functions | |
TagFetchScope () | |
TagFetchScope (const TagFetchScope &other) | |
~TagFetchScope () | |
QSet< QByteArray > | attributes () const |
void | fetchAttribute (const QByteArray &type, bool fetch=true) |
template<typename T > | |
void | fetchAttribute (bool fetch=true) |
TagFetchScope & | operator= (const TagFetchScope &other) |
Detailed Description
Specifies which parts of a tag should be fetched from the Akonadi storage.
- Since
- 4.13
Definition at line 33 of file tagfetchscope.h.
Constructor & Destructor Documentation
TagFetchScope::TagFetchScope | ( | ) |
Creates an empty tag fetch scope.
Using an empty scope will only fetch the very basic meta data of tags, e.g. local id, remote id and mime type
Definition at line 30 of file tagfetchscope.cpp.
TagFetchScope::TagFetchScope | ( | const TagFetchScope & | other | ) |
Creates a new tag fetch scope from an other
.
Definition at line 40 of file tagfetchscope.cpp.
TagFetchScope::~TagFetchScope | ( | ) |
Destroys the tag fetch scope.
Definition at line 36 of file tagfetchscope.cpp.
Member Function Documentation
QSet< QByteArray > TagFetchScope::attributes | ( | ) | const |
Returns all explicitly fetched attributes.
Undefined if fetchAllAttributes() returns true.
- See Also
- fetchAttribute()
Definition at line 52 of file tagfetchscope.cpp.
void TagFetchScope::fetchAttribute | ( | const QByteArray & | type, |
bool | fetch = true |
||
) |
Sets whether the attribute of the given type
should be fetched.
- Parameters
-
type The attribute type to fetch. fetch true
if the attribute should be fetched,false
otherwise.
Definition at line 57 of file tagfetchscope.cpp.
|
inline |
Sets whether the attribute of the requested type should be fetched.
- Parameters
-
fetch true
if the attribute should be fetched,false
otherwise.
Definition at line 82 of file tagfetchscope.h.
TagFetchScope & TagFetchScope::operator= | ( | const TagFetchScope & | other | ) |
Assigns the other
to this scope and returns a reference to this scope.
Definition at line 46 of file tagfetchscope.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Jul 21 2014 08:04:02 by doxygen 1.8.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.