Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QPlainTextEdit::paste (  )  [slot]

Pastes the text from the clipboard into the text edit at the current cursor position.

If there is no text in the clipboard nothing happens.

To change the behavior of this function, i.e. to modify what QPlainTextEdit can paste and how it is being pasted, reimplement the virtual canInsertFromMimeData() and insertFromMimeData() functions.

See also:
cut() copy()

Definition at line 1422 of file qplaintextedit.cpp.


Generated by  Doxygen 1.6.0   Back to index