KIO
#include <kfileitem.h>
Inherits QList< KFileItem >.
Public Member Functions | |
| KFileItemList () | |
| KFileItemList (const QList< KFileItem > &items) | |
| KFileItem | findByName (const QString &fileName) const |
| KFileItem | findByUrl (const KUrl &url) const |
| KUrl::List | targetUrlList () const |
| KUrl::List | urlList () const |
Detailed Description
List of KFileItems, which adds a few helper methods to QList<KFileItem>.
Definition at line 660 of file kfileitem.h.
Constructor & Destructor Documentation
| KFileItemList::KFileItemList | ( | ) |
Creates an empty list of file items.
Definition at line 1496 of file kfileitem.cpp.
| KFileItemList::KFileItemList | ( | const QList< KFileItem > & | items | ) |
Creates a new KFileItemList from a QList of file items.
Definition at line 1500 of file kfileitem.cpp.
Member Function Documentation
Find a KFileItem by name and return it.
- Returns:
- the item with the given name, or a null-item if none was found (see KFileItem::isNull())
Definition at line 1505 of file kfileitem.cpp.
Find a KFileItem by URL and return it.
- Returns:
- the item with the given URL, or a null-item if none was found (see KFileItem::isNull())
Definition at line 1517 of file kfileitem.cpp.
| KUrl::List KFileItemList::targetUrlList | ( | ) | const |
- Returns:
- the list of target URLs that those items represent
- Since:
- 4.2
Definition at line 1538 of file kfileitem.cpp.
| KUrl::List KFileItemList::urlList | ( | ) | const |
- Returns:
- the list of URLs that those items represent
Definition at line 1528 of file kfileitem.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2012 The KDE developers.
Generated on Fri Nov 16 2012 15:10:24 by doxygen 1.8.1 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.