diff options
Diffstat (limited to 'quanta/project/project.cpp')
-rw-r--r-- | quanta/project/project.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/quanta/project/project.cpp b/quanta/project/project.cpp index aa80e4f3..98b21135 100644 --- a/quanta/project/project.cpp +++ b/quanta/project/project.cpp @@ -149,10 +149,10 @@ void Project::insertFile(const KURL& nameURL, bool tqrepaint ) el.setAttribute("url", QuantaCommon::qUrl( QExtFileInfo::toRelative(url, d->baseURL) )); d->dom.firstChild().firstChild().appendChild( el ); KURL u = url.upURL(); - ProjectURL *tqparentURL = d->m_projectFiles.tqfind(u); + ProjectURL *parentURL = d->m_projectFiles.tqfind(u); int uploadtqStatus = 1; - if (tqparentURL) - uploadtqStatus = tqparentURL->uploadtqStatus; + if (parentURL) + uploadtqStatus = parentURL->uploadtqStatus; d->m_projectFiles.insert( new ProjectURL(url, "", uploadtqStatus, false, el) ); } url.setPath(url.directory(false)); @@ -658,14 +658,14 @@ void Project::slotOptions() el = projectNode.namedItem("author").toElement(); if (!el.isNull()) - el.tqparentNode().removeChild(el); + el.parentNode().removeChild(el); el =d->dom.createElement("author"); projectNode.appendChild( el ); el.appendChild(d->dom.createTextNode( d->author ) ); el = projectNode.namedItem("email").toElement(); if (!el.isNull()) - el.tqparentNode().removeChild(el); + el.parentNode().removeChild(el); el =d->dom.createElement("email"); projectNode.appendChild( el ); el.appendChild(d->dom.createTextNode( d->email ) ); @@ -673,7 +673,7 @@ void Project::slotOptions() // Debugger el =projectNode.namedItem("debuggerclient").toElement(); if (!el.isNull()) - el.tqparentNode().removeChild(el); + el.parentNode().removeChild(el); el =d->dom.createElement("debuggerclient"); projectNode.appendChild( el ); el.appendChild(d->dom.createTextNode( d->debuggerClient ) ); @@ -684,7 +684,7 @@ void Project::slotOptions() excludeStr = optionsPage.lineExclude->text(); el =projectNode.namedItem("exclude").toElement(); if (!el.isNull()) - el.tqparentNode().removeChild(el); + el.parentNode().removeChild(el); el =d->dom.createElement("exclude"); if (d->m_excludeCvsignore) el.setAttribute("cvsignore", "true"); @@ -1389,7 +1389,7 @@ void Project::loadCursorPosition(const KURL &url, KTextEditor::ViewCursorInterfa QuantaCommon::setUrl(u2, el.attribute("url")); if (!tqcontains(u2)) { - el.tqparentNode().removeChild(el); + el.parentNode().removeChild(el); } } } |