From 929d7ae4f69d62b8f1f6d3506adf75f017753935 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 9 Jul 2011 02:23:29 +0000 Subject: Remove the tq in front of these incorrectly TQt4-converted methods/data members: tqrepaint[...] tqinvalidate[...] tqparent[...] tqmask[...] tqlayout[...] tqalignment[...] git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- quanta/src/quanta.cpp | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'quanta/src/quanta.cpp') diff --git a/quanta/src/quanta.cpp b/quanta/src/quanta.cpp index 1ca3aa96..cb4795a3 100644 --- a/quanta/src/quanta.cpp +++ b/quanta/src/quanta.cpp @@ -1026,7 +1026,7 @@ void QuantaApp::slotOptionsConfigureKeys() el.setAttribute("shortcut", action->shortcut().toString()); el = node.toElement(); node = node.nextSibling(); - el.tqparentNode().removeChild(el); + el.parentNode().removeChild(el); } else { node = node.nextSibling(); @@ -2846,7 +2846,7 @@ void QuantaApp::slotRenameToolbar(const TQString& name) { if (tb->id(i) == name) { - tb->setTabLabel(tb->page(i)->tqparentWidget(), i18n(p_toolbar->name.utf8())); + tb->setTabLabel(tb->page(i)->parentWidget(), i18n(p_toolbar->name.utf8())); m_tagsMenu->changeItem(m_tagsMenu->idAt(i + 2), i18n(p_toolbar->name.utf8())); break; } @@ -2920,7 +2920,7 @@ void QuantaApp::slotDeleteAction(KAction *action) //we found a toolbar that contains the action if (nodeList.item(j).toElement().attribute("name") == actionName) { - nodeList.item(j).tqparentNode().removeChild(nodeList.item(j)); + nodeList.item(j).parentNode().removeChild(nodeList.item(j)); KXMLGUIFactory::saveConfigFile(guiClient->domDocument(), guiClient->xmlFile()); break; } @@ -2976,7 +2976,7 @@ void QuantaApp::slotRemoveAction(const TQString& toolbarName, const TQString& a_ { action->unplug(ToolbarTabWidget::ref()->page(toolbarName)); action->unplug(p_toolbar->menu); - node.tqparentNode().removeChild(node); + node.parentNode().removeChild(node); } node = node.nextSibling(); } @@ -4445,13 +4445,13 @@ void QuantaApp::slotInsertCSS() while (styleNode && styleNode->tqparent && styleNode->tag->name.lower() != "style" && styleNode->tag->dtd()->name == "text/css") styleNode = styleNode->tqparent; - Node *tqparentNode = node; - if (tqparentNode->tag->type == Tag::XmlTagEnd && tqparentNode->prev) - tqparentNode = tqparentNode->prev; + Node *parentNode = node; + if (parentNode->tag->type == Tag::XmlTagEnd && parentNode->prev) + parentNode = parentNode->prev; else - while (tqparentNode && tqparentNode->tqparent && - tqparentNode->tag->type != Tag::XmlTag) - tqparentNode = tqparentNode->tqparent; + while (parentNode && parentNode->tqparent && + parentNode->tag->type != Tag::XmlTag) + parentNode = parentNode->tqparent; TQString fullDocument = w->editIf->text().stripWhiteSpace(); if (styleNode->tag->name.lower() == "comment block" && styleNode->tqparent) { @@ -4513,29 +4513,29 @@ void QuantaApp::slotInsertCSS() } delete dlg; } else - if (tqparentNode && tqparentNode->tag->type == Tag::XmlTag) + if (parentNode && parentNode->tag->type == Tag::XmlTag) { - kdDebug(24000) << "[CSS editor] We will add a style attribute to: " << tqparentNode->tag->name << endl; + kdDebug(24000) << "[CSS editor] We will add a style attribute to: " << parentNode->tag->name << endl; CSSEditor *dlg = new CSSEditor(this); TQFileInfo fi(ViewManager::ref()->currentURL()); dlg->setFileToPreview(projectBaseURL().path() + fi.baseName(),false); - tqparentNode->tag->beginPos(bLine, bCol); - tqparentNode->tag->endPos(eLine, eCol); + parentNode->tag->beginPos(bLine, bCol); + parentNode->tag->endPos(eLine, eCol); dlg->setFooter(">" + w->text(eLine, eCol + 1, lastLine, lastCol)); TQString temp; - if (tqparentNode->tag->hasAttribute("style")) + if (parentNode->tag->hasAttribute("style")) { - dlg->setInlineStyleContent(tqparentNode->tag->attributeValue("style")); - Tag tempTag(*(tqparentNode->tag)); + dlg->setInlineStyleContent(parentNode->tag->attributeValue("style")); + Tag tempTag(*(parentNode->tag)); tempTag.deleteAttribute("style"); temp = tempTag.toString(); } else { dlg->setInlineStyleContent(TQString()); - temp = tqparentNode->tag->toString(); + temp = parentNode->tag->toString(); } //using TQString::mid sometimes generates strange results; maybe this is due to a (random) blank in temp temp = temp.left(temp.length()-1);//remove > @@ -4545,7 +4545,7 @@ void QuantaApp::slotInsertCSS() dlg->initialize(); if( dlg->exec() ) { - w->changeTagAttribute(tqparentNode->tag, "style", dlg->generateProperties()); + w->changeTagAttribute(parentNode->tag, "style", dlg->generateProperties()); } delete dlg; } else -- cgit v1.2.1