View Full Version : Remove a string from QStringList
bismitapadhy
6th July 2009, 10:02
How can i remove a QString from QStringList.
stringList.remove(); is not working. It is giving a error that remove is not a member of QStringList.
wysota
6th July 2009, 10:06
Use QList::removeAt() or QList::removeAll(). And read the docs next time if you can't guess the method name correctly.
bismitapadhy
6th July 2009, 10:12
Use QList::removeAt() or QList::removeAll(). And read the docs next time if you can't guess the method name correctly.I already read the document.As it is giving a error i posted the Question.
wysota
6th July 2009, 10:14
I already read the document.
What document?
or use some IDE which has code completer instead of plain old text editor.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.