copy of http://qtstalker.sourceforge.net/