From 6b220f98eb885722d8de9dd4813a30b90b12ee2d Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 14 Sep 2015 19:08:42 +0900 Subject: Added operator[] convenience function to TQPtrList, similarly to TQValueList. Signed-off-by: Michele Calgaro --- doc/html/qptrlist-h.html | 1 + 1 file changed, 1 insertion(+) (limited to 'doc') diff --git a/doc/html/qptrlist-h.html b/doc/html/qptrlist-h.html index 73e6f053c..3ed91173f 100644 --- a/doc/html/qptrlist-h.html +++ b/doc/html/qptrlist-h.html @@ -139,6 +139,7 @@ public: uint containsRef( const type *d ) const { return TQGList::containsRef((TQPtrCollection::Item)d); } bool replace( uint i, const type *d ) { return TQGList::replaceAt( i, (TQPtrCollection::Item)d ); } + type *operator[]( uint i ) { return (type *)TQGList::at(i); } type *at( uint i ) { return (type *)TQGList::at(i); } int at() const { return TQGList::at(); } type *current() const { return (type *)TQGList::get(); } -- cgit v1.2.1