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

KDECore

KURL::List

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]

List of all members.


Public Member Functions

 List (const QStringList &list)
 List (const KURL &url)
 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 187 of file kurl.h.


Constructor & Destructor Documentation

KURL::List::List (  )  [inline]

Creates an empty List.

Definition at line 193 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 427 of file kurl.cpp.

KURL::List::List ( const QStringList &  list  ) 

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

This equivalent to iterating over the input list and using each item as the argument to KURL's constructor, i.e. the resulting list will have as many elements as the input list, but not all entries might be valid.

Parameters:
list the list containing the URLs as strings
See also:
KURL(const QString &, int)

Definition at line 432 of file kurl.cpp.


Member Function Documentation

QStringList KURL::List::toStringList (  )  const

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

This is equivalent to iterating over the list and calling url() on each item. If you need a list of user visible URLs, i.e. not containing password information, iterate over the list yourself and call prettyURL() on each item instead.

Returns:
the list of strings
See also:
KURL::url()

Definition at line 442 of file kurl.cpp.


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

KDECore

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

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
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