merged changes from tqtinterface