#include </home/clem/local/src/opie/library/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) |
Private Member Functions | |
| DocLnkSet (const DocLnkSet &) | |
| void | findChildren (const QString &dr, const QValueList< QRegExp > &mimeFilters, QDict< void > &reference, int depth=0) |
Definition at line 189 of file applnk.h.
|
|
Constructs an empty DocLnkSet.
Definition at line 1295 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 1311 of file applnk.cpp. References AppLnkSet::add(), QValueList< T >::append(), QFileInfo::baseName(), QValueList< T >::begin(), children(), QDir::dirName(), QValueList< T >::end(), DocLnk::exec(), FALSE, QFileInfo::filePath(), findChildren(), QString::isNull(), list, match(), AppLnkSet::mFile, QDict< type >::remove(), AppLnk::setFile(), AppLnk::setName(), QStringList::split(), TRUE, and AppLnk::type(). |
|
|
|
|
|
Transfers all DocLnk objects from other to this set. other becomes empty. Definition at line 1357 of file applnk.cpp. References AppLnkSet::mApps. |
|
|
||||||||||||||||||||
|
Definition at line 1369 of file applnk.cpp. References AppLnkSet::add(), QValueList< T >::begin(), QValueList< T >::count(), QValueList< T >::end(), QDir::entryInfoList(), QFileInfo::exists(), QDir::exists(), QFileInfo::extension(), FALSE, AppLnk::file(), QFileInfo::fileName(), QFileInfo::filePath(), QDict< type >::find(), QDict< type >::insert(), QFileInfo::isDir(), list, match(), QDir::remove(), TRUE, and AppLnk::type(). Referenced by DocLnkSet(). |
1.4.2