Statistics
| Branch: | Revision:

root / qlist.h @ fc22118d

History | View | Annotate | Download (1.3 kB)

# Date Author Comment
41836a9f 05/19/2010 06:45 pm Luiz Capitulino

Fix qtypes' licenses

- Change from GPL to LGPL
- Add license text when missing
- Minor cosmetic changes to make all headers look the same

Signed-off-by: Luiz Capitulino <>

59eb1c85 01/26/2010 11:42 pm Luiz Capitulino

QList: Introduce QLIST_FOREACH_ENTRY()

Iterate over QList entries, it's needed to call qlist_entry_obj()
to retrieve the stored QObject.

I'm not sure if it's ok to have this, because it's not as easy as
qlist_iter() and the QListEntry data type is now exposed to the...

033815fe 11/17/2009 04:49 pm Anthony Liguori

Add operations to qlist to allow it to be used as a stack

This makes lists no longer invariant. It's a very useful bit of functionality
though.

To deal with the fact that lists are no longer invariant, introduce a deep
copy mechanism for lists.

Signed-off-by: Anthony Liguori <>

a6fd08eb 10/09/2009 05:17 am Luiz Capitulino

Introduce QList

QList is a high-level data type that can be used to store QObjects
in a singly-linked list.

The following functions are available:

- qlist_new() Create a new QList
- qlist_append() Append a QObject to the list
- qlist_iter() Iterate over stored QObjects...