kdecore Library API Documentation

KURL::List Class Reference

KURL::List is a QValueList that contains KURLs with a few convenience methods. More...

#include <kurl.h>

Inheritance diagram for KURL::List:

Inheritance graph
[legend]
Collaboration diagram for KURL::List:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 List ()
 List (const KURL &url)
 List (const QStringList &list)
QStringList toStringList () const

Detailed Description

KURL::List is a QValueList that contains KURLs with a few convenience methods.

See also:
KURL

QValueList

Definition at line 169 of file kurl.h.


Constructor & Destructor Documentation

KURL::List::List  )  [inline]
 

Creates an empty List.

Definition at line 175 of file kurl.h.

KURL::List::List const KURL url  ) 
 

Creates a list that contains the given URL as only item.

Parameters:
url the url to add.

Definition at line 419 of file kurl.cpp.

References QValueList< KURL >::append().

KURL::List::List const QStringList list  ) 
 

Creates a list that contains the URLs from the given list.

Parameters:
list the list containing the URLs as strings

Definition at line 424 of file kurl.cpp.

References QValueList< KURL >::append(), and KURL::KURL().


Member Function Documentation

QStringList KURL::List::toStringList  )  const
 

Converts the URLs of this list to a list of strings.

Returns:
the list of strings

Definition at line 434 of file kurl.cpp.

References QValueList< KURL >::begin(), QValueList< KURL >::ConstIterator(), and QValueList< KURL >::end().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdecore Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 13:47:18 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003