Port various import from QtGui to Qt