[Qt-interest] to remove currently appended text in QString

Chandru... sekarwagmare at gmail.com
Fri Jul 24 12:21:48 CEST 2009


hi friends,
i am just asking a perfect way of removing the text that i currently added
to my QString
ex:
textItem->setPlainText(QString("%1 One").arg(defaultText));

than how can i remove the last appended text ..

currently i am resetting the text to original text
textItem->setPlainText(defaultText);

but is there any other elegant way ... please help


-- 
WAGMARE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090724/2c14d632/attachment.html 


More information about the Qt-interest-old mailing list