DocLnkSet Class Reference
The DocLnkSet class is a set of DocLnk objects. More...
#include <applnk.h>
Inheritance diagram for DocLnkSet:


Public Member Functions | |
| DocLnkSet () | |
| DocLnkSet (const QString &dir, const QString &mimefilter=QString::null) | |
| const QList< DocLnk > & | children () const |
| void | appendFrom (DocLnkSet &other) |
Detailed Description
The DocLnkSet class is a set of DocLnk objects.
Definition at line 189 of file applnk.h.
Constructor & Destructor Documentation
|
|
Constructs an empty DocLnkSet.
Definition at line 1259 of file applnk.cpp. |
|
||||||||||||
|
Constructs a DocLnkSet that contains DocLnk objects representing all the files in the directory (and any subdirectories, recursively).
If mimefilter is not null, only documents with a MIME type matching mimefilter are selected. The value may contain multiple wild-card patterns separated by ";", such as See also Files and Links. Definition at line 1275 of file applnk.cpp. References AppLnkSet::add(), QValueList::append(), QFileInfo::baseName(), QValueList::begin(), children(), QDictIterator::current(), QListIterator::current(), QDictIterator::currentKey(), QDir::dirName(), QValueList::end(), DocLnk::exec(), QFileInfo::filePath(), QDict::remove(), AppLnk::setFile(), AppLnk::setName(), QStringList::split(), and AppLnk::type(). |
Member Function Documentation
|
|
Returns the members of the set. Reimplemented from AppLnkSet. Definition at line 195 of file applnk.h. Referenced by DocLnkSet(). |
|
|
Transfers all DocLnk objects from other to this set. other becomes empty. Definition at line 1321 of file applnk.cpp. References QList< AppLnk >::append(), QList< AppLnk >::clear(), QListIterator::current(), and AppLnkSet::mApps. Referenced by Global::findDocuments(). |
The documentation for this class was generated from the following files:
