• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdecore
 

tdecore

  • KURL
  • List
Public Member Functions | List of all members
KURL::List Class Reference

#include <kurl.h>

Inherits TQValueList< T >.

Public Member Functions

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

Detailed Description

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

See also
KURL
QValueList

Definition at line 187 of file kurl.h.

Constructor & Destructor Documentation

◆ List() [1/3]

KURL::List::List ( )
inline

Creates an empty List.

Definition at line 193 of file kurl.h.

◆ List() [2/3]

KURL::List::List ( const KURL &  url)

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

Parameters
urlthe URL to add

Definition at line 433 of file kurl.cpp.

◆ List() [3/3]

KURL::List::List ( const TQStringList &  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
listthe list containing the URLs as strings
See also
KURL(const TQString &, int)

Definition at line 438 of file kurl.cpp.

Member Function Documentation

◆ toStringList()

TQStringList 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 448 of file kurl.cpp.


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

tdecore

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

tdecore

Skip menu "tdecore"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdecore by doxygen 1.9.4
This website is maintained by Timothy Pearson.