'this' is just a pointer to the object that the current method is being called on. Changing the value behind 'this' (by dereferencing a pointer using '* this' and assigning another object) changes the object of the calling object to become different.
In your example, the calling operator "operator =" can do the following:
GUID guid = guid(...) ; QUuid uid = guid ;
According to the definition of "operator =", this action copies "guid" into a new object of type "QUuid".
Gk80
source share