How to detect the monitors is plugged in or unplugged out by using QT?

Some body help me ....