Hi,
I'm trying to use the code below, but I have not had success. Could anyone help me?
NewCode this object always null. : /
QDomNode *oldNode
= &this
->documento.
childNodes().
at(2).
childNodes().
at(4).
childNodes().
at(0).
childNodes().
at(indiceLinhaAtual
);
QDomNode newNode
= this
->documento.
childNodes().
at(2).
childNodes().
at(4).
childNodes().
at(0).
replaceChild( nodeAux,
*oldNode
);
QDomNode *oldNode = &this->documento.childNodes().at(2).childNodes().at(4).childNodes().at(0).childNodes().at(indiceLinhaAtual);
QDomNode newNode = this->documento.childNodes().at(2).childNodes().at(4).childNodes().at(0).replaceChild( nodeAux, *oldNode);
To copy to clipboard, switch view to plain text mode
Bookmarks