Switch to QT classes