Qyoto  4.0.7
Qyoto is a C# language binding for Qt
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties
QtWebKit.QWebElementCollection Class Reference

The QWebElementCollection class represents a collection of web elements. More...

Inheritance diagram for QtWebKit.QWebElementCollection:
Collaboration diagram for QtWebKit.QWebElementCollection:

Classes

class  const_iterator
 
class  iterator
 The QWebElementCollection::iterator class provides an STL-style iterator for QWebElementCollection. More...
 

Public Member Functions

 QWebElementCollection ()
  More...
 
 QWebElementCollection (QWebElementCollection other)
  More...
 
 QWebElementCollection (QWebElement contextElement, string query)
  More...
 
virtual void CreateProxy ()
 
new void Append (QWebElementCollection collection)
  More...
 
new QWebElement At (int i)
  More...
 
new
QWebElementCollection.const_iterator 
Begin ()
  More...
 
new
QWebElementCollection.const_iterator 
End ()
  More...
 
new
System.Collections.Generic.List
< QWebElement
ToList ()
  More...
 
new void Dispose ()
 

Static Public Member Functions

static QWebElementCollection operator+ (QWebElementCollection one, QWebElementCollection other)
  More...
 

Protected Member Functions

 QWebElementCollection (System.Type dummy)
 

Protected Attributes

SmokeInvocation interceptor
 

Properties

QWebElementCollection.const_iterator ConstBegin [get]
  More...
 
QWebElementCollection.const_iterator ConstEnd [get]
  More...
 
int Count [get]
  More...
 
QWebElement First [get]
  More...
 
QWebElement Last [get]
  More...
 
virtual System.IntPtr SmokeObject [get, set]
 

Detailed Description

The QWebElementCollection class represents a collection of web elements.

Elements in a document can be selected using QWebElement::findAll() or using the QWebElement constructor. The collection is composed by choosing all elements in the document that match a specified CSS selector expression.

The number of selected elements is provided through the count() property. Individual elements can be retrieved by index using at().

It is also possible to iterate through all elements in the collection using Qt's foreach macro:

QWebElementCollection collection = document.findAll("p");

foreach (QWebElement paraElement, collection) {

...

}

Constructor & Destructor Documentation

QtWebKit.QWebElementCollection.QWebElementCollection ( System.Type  dummy)
protected
QtWebKit.QWebElementCollection.QWebElementCollection ( )

Constructs an empty collection.

Here is the call graph for this function:

QtWebKit.QWebElementCollection.QWebElementCollection ( QWebElementCollection  other)

Constructs a copy of other.

Here is the call graph for this function:

QtWebKit.QWebElementCollection.QWebElementCollection ( QWebElement  contextElement,
string  query 
)

Constructs a collection of elements from the list of child elements of contextElement that match the specified CSS selector query.

Here is the call graph for this function:

Member Function Documentation

new void QtWebKit.QWebElementCollection.Append ( QWebElementCollection  collection)

Extends the collection by appending all items of other.

The resulting collection may include duplicate elements.

See also operator+=().

new QWebElement QtWebKit.QWebElementCollection.At ( int  i)

Returns the element at index position i in the collection.

Here is the call graph for this function:

new QWebElementCollection.const_iterator QtWebKit.QWebElementCollection.Begin ( )

Returns an STL-style iterator pointing to the first element in the collection.

See also end().

virtual void QtWebKit.QWebElementCollection.CreateProxy ( )
virtual

Here is the caller graph for this function:

new void QtWebKit.QWebElementCollection.Dispose ( )
new QWebElementCollection.const_iterator QtWebKit.QWebElementCollection.End ( )

Returns an STL-style iterator pointing to the imaginary element after the last element in the list.

See also begin().

static QWebElementCollection QtWebKit.QWebElementCollection.operator+ ( QWebElementCollection  one,
QWebElementCollection  other 
)
static

Returns a collection that contains all the elements of this collection followed by all the elements in the other collection. Duplicates may occur in the result.

See also operator+=().

new System.Collections.Generic.List<QWebElement> QtWebKit.QWebElementCollection.ToList ( )

Returns a QList object with the elements contained in this collection.

Here is the call graph for this function:

Member Data Documentation

SmokeInvocation QtWebKit.QWebElementCollection.interceptor
protected

Property Documentation

QWebElementCollection.const_iterator QtWebKit.QWebElementCollection.ConstBegin
get

Returns an STL-style iterator pointing to the first element in the collection.

See also end().

QWebElementCollection.const_iterator QtWebKit.QWebElementCollection.ConstEnd
get

Returns an STL-style iterator pointing to the imaginary element after the last element in the list.

See also begin().

int QtWebKit.QWebElementCollection.Count
get

Returns the number of elements in the collection.

QWebElement QtWebKit.QWebElementCollection.First
get

Returns the first element in the collection.

See also last(), operator[](), at(), and count().

QWebElement QtWebKit.QWebElementCollection.Last
get

Returns the last element in the collection.

See also first(), operator[](), at(), and count().

virtual System.IntPtr QtWebKit.QWebElementCollection.SmokeObject
getset