Qt restruct