anyone know how to paste from clipboard?

i am making a qt gui app so when they click paste it will dump the clipboard contents into a textbox