• I have a class that is not a list but has a variety of list objects as children. I need to make a convenient way to get the data out in a controlled way and can't find a QIterator class it Has anyone done this? Have any suggestions, or do I have to implement it from scratch?

    the easiest way would be to just implement two methods for the class

    bool hasNext();
    MyObject next();

    and be done with it, but it would be nice to use something more standard.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.