class CMyClassList : public QList<CMyClass>{...}
inline CMyClass & CMyClassList::resultAt(int _i){ return (*this)[_i];}
C++ (Qt)CMyClass {.........public: void someFunction ();.........}...................struct CMyClassFunctor {void operator() (CMyClass *c) {c->someFunction ();}}.............QList <CMyClass*> list;std::for_each (list.begin(), list.end(), CMyClassFunctor ());
C++ (Qt)std::for_each (list.begin(), list.end(), CMyClassFunctor ());