• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdelibs
  • Sitemap
  • Contact Us
 

KIO

KFileItemList Class Reference

#include <kfileitem.h>

Inheritance diagram for KFileItemList:

Inheritance graph
[legend]

List of all members.


Detailed Description

List of KFileItems, which adds a few helper methods to QList<KFileItem>.

Definition at line 596 of file kfileitem.h.


Public Member Functions

KFileItem findByName (const QString &fileName) const
KFileItem findByUrl (const KUrl &url) const
 KFileItemList (const QList< KFileItem > &items)
 KFileItemList ()
KUrl::List urlList () const

Constructor & Destructor Documentation

KFileItemList::KFileItemList (  ) 

Creates an empty list of file items.

Definition at line 1321 of file kfileitem.cpp.

KFileItemList::KFileItemList ( const QList< KFileItem > &  items  ) 

Creates a new KFileItemList from a QList of file items.

Definition at line 1325 of file kfileitem.cpp.


Member Function Documentation

KFileItem KFileItemList::findByName ( const QString &  fileName  )  const

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 1330 of file kfileitem.cpp.

KFileItem KFileItemList::findByUrl ( const KUrl &  url  )  const

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 1342 of file kfileitem.cpp.

KUrl::List KFileItemList::urlList (  )  const

Returns:
the list of URLs that those items represent

Definition at line 1353 of file kfileitem.cpp.


The documentation for this class was generated from the following files:
  • kfileitem.h
  • kfileitem.cpp

KIO

Skip menu "KIO"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • KIO
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal