/* This function allows the user to provide an iterator, which will be called for each stored value in the list.  */
void qlist_iter(const QList *qlist, void(*iter)(QObject *obj, void *opaque), void *opaque)
/* This function allows the user to provide an iterator, which will be called for each stored value in the list.  */
void qlist_iter(const QList *qlist, void(*iter)(QObject *obj, void *opaque), void *opaque)
{
    QListEntry *entry;
    QTAILQ_FOREACH(entry, &qlist->head, next)
        iter(entry->value, opaque);
}