summaryrefslogtreecommitdiffstats
path: root/quanta/project/projectprivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'quanta/project/projectprivate.cpp')
-rw-r--r--quanta/project/projectprivate.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/quanta/project/projectprivate.cpp b/quanta/project/projectprivate.cpp
index e5a9e8e5..a481b309 100644
--- a/quanta/project/projectprivate.cpp
+++ b/quanta/project/projectprivate.cpp
@@ -887,7 +887,7 @@ void ProjectPrivate::slotDeleteProjectView(const TQString &view)
el = node.cloneNode().toElement();
if (el.attribute("name") == view)
{
- node.tqparentNode().removeChild(node);
+ node.parentNode().removeChild(node);
if (currentProjectView == view)
currentProjectView = "";
tqparent->setModified();
@@ -919,7 +919,7 @@ void ProjectPrivate::slotSaveAsProjectView(bool askForName)
KMessageBox::warningContinueCancel(m_mainWindow, i18n("<qt>A project view named <b>%1</b> already exists.<br>Do you want to overwrite it?</qt>")
.tqarg(currentProjectView), TQString(), i18n("Overwrite")) == KMessageBox::Continue)
{
- node.tqparentNode().removeChild(node);
+ node.parentNode().removeChild(node);
break;
} else
{
@@ -1095,7 +1095,7 @@ void ProjectPrivate::getStatusFromTree()
for ( unsigned int i = 0; i < nl.count(); i++ )
{
el = nl.item(i).toElement();
- el.tqparentNode().removeChild( el );
+ el.parentNode().removeChild( el );
i--;
}
TQStringList folderList;
@@ -1263,7 +1263,7 @@ bool ProjectPrivate::saveProject()
el = nl.item(i).toElement();
if ( el.nodeName() == "openfile" )
{
- el.tqparentNode().removeChild( el );
+ el.parentNode().removeChild( el );
i--;
}
}