moving pre-Qt stuff