changing use of QObject for QtEntity::Component