summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/html/qptrlist-h.html1
-rw-r--r--src/tools/ntqptrlist.h1
2 files changed, 2 insertions, 0 deletions
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(); }
diff --git a/src/tools/ntqptrlist.h b/src/tools/ntqptrlist.h
index 4482d0a9b..7418e5418 100644
--- a/src/tools/ntqptrlist.h
+++ b/src/tools/ntqptrlist.h
@@ -103,6 +103,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(); }