[Qt-interest] Why do Qt collection classes not offer signals and slots?
Hendrik Fuß
fuss at molecular-machines.com
Thu Dec 17 16:42:57 CET 2009
Hi folks,
I was just wondering, I thought this was the most obvious thing to have... If Qt containers supported signals and slots, you could write e.g.:
QVector<int> * myVector = new QVector<int>();
connect(myVector, SIGNAL(elementAdded(int)), this, updateList());
Is there a reason for the lack of signals in Qt's collection classes? Or am I missing something?
cheers
Hendrik
More information about the Qt-interest-old
mailing list