21 #include "colourlist.h" 26 while (colours->isValid()) 27 mList.append((*colours++).rgb()); 32 TQRgb rgb = colour.rgb(); 33 for (TQValueListIterator<TQRgb> it = mList.begin(); it != mList.end(); ++it) 38 mList.insert(it, rgb); ColourList() Constructs an empty list.
void insert(const TQColor &c) Adds the specified colour c to the list.
|