[Qt-interest] Why do Qt collection classes not offer signals and slots?
william.crocker at analog.com
william.crocker at analog.com
Thu Dec 17 16:47:11 CET 2009
>
> 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?
>
>
Because they are slow enough already.
More information about the Qt-interest-old
mailing list