QLNode(3qt)

QLNode3qt

Internal class for the #include <qglist.h>

Overview

The QLNode class is an internal class for the QList template collection.

QLNode is a doubly linked list node; it has three pointers:

1

Pointer to the previous node.

2

Pointer to the next node.

3

Pointer to the actual data.

Sometimes it might be practical to have direct access to the list nodes in a QList, but it is seldom required.

Warning: Be very careful if you want to access the list nodes. The heap can easily get corrupted if you make a mistake.

See also QList::currentNode(), QList::removeNode() and QList::takeNode().

Member function documentation

QCollection::Item QLNode::getData()

Returns a pointer (void*) to the actual data in the list node.

Releases

2 releases since Debian 2.2 (Potato); the text changed 1 time.

  1. 2.2
  2. 3.0

Author

Generated automatically from the source code.

Bugs

If you find a bug in Qt, please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports make our job much simpler. Thank you.

In case of content or formattting problems with this manual page, please report them to [email protected]. Please include the name of the manual page (qlnode.3qt) and the Qt version (2.3.1).

From qt-doc 3:2.3.1-22 in Debian 3.0 (Woody). Also shipped by qt-emb-doc. Parsed by carta from the page's man source.