ahh, yes, got it. (sorry)
I was having some trouble with the syntax.
For the MSVC people:
QList<QPushButton*> btnList = qFindChildren<QPushButton*> ( this, "" );
QList<T> qFindChildren ( const QObject * obj, const QString & name )
QList<QPushButton*> btnList = qFindChildren<QPushButton*> ( this, "" );
To copy to clipboard, switch view to plain text mode
works perfectly.
and there's also
QList<QPushButton*> btnList = qFindChildren<QPushButton*> ( this );
QList<QPushButton*> btnList = qFindChildren<QPushButton*> ( this );
To copy to clipboard, switch view to plain text mode
much appreciated
K
Bookmarks