QListWidgetItem
QListWidgetItem *QListWidgetItem::clone() const
{
return new QListWidgetItem(*this);
}
QDomNode
QDomNode QDomNode::cloneNode(bool deep) const
{
if (!impl)
return QDomNode();
return QDomNode(IMPL->cloneNode(deep));
}
QDomNodePrivate* QDomDocumentPrivate::cloneNode(bool deep)
{
QDomNodePrivate *p = new QDomDocumentPrivate(this, deep);
// We are not interested in this node
p->ref.deref();
return p;
}