summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tools/qptrlist.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tools/qptrlist.h b/src/tools/qptrlist.h
index df465fa..de6d2af 100644
--- a/src/tools/qptrlist.h
+++ b/src/tools/qptrlist.h
@@ -103,6 +103,7 @@ public:
uint containsRef( const type *d ) const
{ return QGList::containsRef((QPtrCollection::Item)d); }
bool replace( uint i, const type *d ) { return QGList::replaceAt( i, (QPtrCollection::Item)d ); }
+ type *operator[]( uint i ) { return (type *)QGList::at(i); }
type *at( uint i ) { return (type *)QGList::at(i); }
int at() const { return QGList::at(); }
type *current() const { return (type *)QGList::get(); }