QPlainTextEdit textedit;...QString sendedText = textedit.toPlainText().replace("\"","\\\""); \\ " должна замениться на \"...