Qt doesn't deal with things like that. Use mechanisms provided by the programming language you are using.