what type of government did the qing dynasty have