QObjectListIterator(3qt)
π QObjectListIterator β the manual page, but make it make sense
okay bestie, welcome to QObjectListIterator(3qt) β yes that's the man page name, yes it's a mouthful, no we're not renaming it, it's iconic like that. This is the Qt 3 one. Sit down, grab a boba, we're iterating over QObjectLists together and it's gonna be adorable. π¦
β¨ NAME β¨
QObjectListIterator β literally just an iterator for QObjectLists. That's the whole job. That's the whole girl. π
πΈ SYNOPSIS πΈ
First things first, you gotta let the compiler know she exists:
#include <qobjectlist.h>
She inherits QPtrListIterator<QObject> β so everything that class can do, she can do, but cuter and specifically for QObjects. π
π Public Members
QObjectListIterator ( const QObjectList & list )
QObjectListIterator & operator= ( const QObjectListIterator & it )
Two public members. Two. That's it. Low maintenance queen. β¨
π DESCRIPTION π
So QObjectListIterator provides an iterator for QObjectLists. Periodt.
A QObjectListIterator iterator is a QPtrListIterator<QObject> β like, that's not a vibe, that's a fact, it's in the inheritance line, it's giving "I didn't reinvent the wheel, I just dressed it up". π
If you want to see her in the wild, go peek at QObject::queryList() β there's a whole example of use over there, go look, I'll wait. π«Ά
See also: QObjectList, Collection Classes, and Non-GUI Classes. The whole squad. π
π§ MEMBER FUNCTION DOCUMENTATION π§
QObjectListIterator::QObjectListIterator ( const QObjectList & list )
Constructor behavior, bestie: she builds you an iterator for list, and the current iterator item gets set to point on the first item in the list. So you start at the beginning, like every good story. No skipping to the middle, no main character shortcuts. πΈ
QObjectListIterator & QObjectListIterator::operator= ( const QObjectListIterator & it )
Assignment operator, aka the "copy her whole energy" moment. It makes a copy of the iterator it and returns a reference to this iterator. So you get the copy, and you also get a reference back to yourself. Self-love fr fr. π
π₯ SEE ALSO π₯
π COPYRIGHT π
Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the license file included in the distribution for a complete license statement. Yes, read the license file, bestie, it's right there, don't make it weird. πβ¨
π AUTHOR π
Generated automatically from the source code. So technically nobody wrote her, she just materialized, fully formed, like a legend. π«
π BUGS π
Found a bug in Qt? Not me being dramatic but please report it as described in http://doc.trolltech.com/bughowto.html. Good bug reports help us to help you. Thank you. Genuinely, thank you, you're doing the lord's work. π
The definitive Qt documentation is provided in HTML format; it is located at $QTDIR/doc/html and can be read using Qt Assistant or with a web browser. This man page is provided as a convenience for those users who prefer man pages, although this format is not officially supported by Trolltech. So likeβ¦ she's a gift, not a contract, yk? π
If you find errors in this manual page, please report them to qt-bugs@trolltech.com. And please β PLEASE β include the name of the manual page (qobjectlistiterator.3qt) and the Qt version (3.3.8). If you leave those out we literally cannot help you and that's a tragedy. π
okay that's the whole page, every flag, every function, every link, nothing skipped, we ate and left no crumbs π π
Trolltech AS Β· 2 February 2007 Β· Qt version 3.3.8 β mwah, take care of her, she's vintage now π«Άπ
π¦ where this page comes from
- fedora 43: qt3-devel-docs 3.3.8b-102.fc43 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- fedora 44: qt3-devel-docs 3.3.8b-103.fc44 Β· QPL-1.0 OR GPL-2.0-only OR GPL-3.0-only
- Copyright 1992-2007 Trolltech ASA. All rights reserved. See the
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms