> You are correct. Better add something that simply tells whether such an > item is known. > bool hasItem( int id ) const; [...] >> I would at least like to add some QASSERT or some debug message saying: >> >> Label-id already used. >> >> Is this ok? > > OK. Done. Klaus