From 4fb897b216c41c13f128c71bcc66f60e2dc601c4 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 1 Mar 2012 13:33:40 -0600 Subject: Rename additional global TQt functions --- khtml/xml/dom_docimpl.cpp | 4 ++-- khtml/xml/dom_elementimpl.cpp | 4 ++-- khtml/xml/dom_textimpl.cpp | 4 ++-- khtml/xml/xml_tokenizer.h | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) (limited to 'khtml/xml') diff --git a/khtml/xml/dom_docimpl.cpp b/khtml/xml/dom_docimpl.cpp index 922714a4e..197ceee13 100644 --- a/khtml/xml/dom_docimpl.cpp +++ b/khtml/xml/dom_docimpl.cpp @@ -1108,7 +1108,7 @@ void DocumentImpl::setDocumentChanged(bool b) void DocumentImpl::recalcStyle( StyleChange change ) { -// qDebug("recalcStyle(%p)", this); +// tqDebug("recalcStyle(%p)", this); // TQTime qt; // qt.start(); if (m_inStyleRecalc) @@ -1749,7 +1749,7 @@ bool DocumentImpl::prepareMouseEvent( bool readonly, int _x, int _y, MouseEvent if (renderInfo.URLElement()) { assert(renderInfo.URLElement()->isElementNode()); - //qDebug("urlnode: %s (%d)", getTagName(renderInfo.URLElement()->id()).string().latin1(), renderInfo.URLElement()->id()); + //tqDebug("urlnode: %s (%d)", getTagName(renderInfo.URLElement()->id()).string().latin1(), renderInfo.URLElement()->id()); ElementImpl* e = static_cast(renderInfo.URLElement()); DOMString href = khtml::parseURL(e->getAttribute(ATTR_HREF)); diff --git a/khtml/xml/dom_elementimpl.cpp b/khtml/xml/dom_elementimpl.cpp index c41bef3dc..875c5f2e4 100644 --- a/khtml/xml/dom_elementimpl.cpp +++ b/khtml/xml/dom_elementimpl.cpp @@ -614,7 +614,7 @@ void ElementImpl::recalcStyle( StyleChange change ) case Force: debug = "Force"; break; } - qDebug("recalcStyle(%d: %s, changed: %d)[%p: %s]", change, debug, changed(), this, tagName().string().latin1()); + tqDebug("recalcStyle(%d: %s, changed: %d)[%p: %s]", change, debug, changed(), this, tagName().string().latin1()); #endif if ( hasParentRenderer && (change >= Inherit || changed()) ) { RenderStyle *newStyle = getDocument()->styleSelector()->styleForElement(this); @@ -650,7 +650,7 @@ void ElementImpl::recalcStyle( StyleChange change ) for (n = _first; n; n = n->nextSibling()) { if ( change >= Inherit || n->isTextNode() || n->hasChangedChild() || n->changed() ) { - //qDebug(" (%p) calling recalcStyle on child %p/%s, change=%d", this, n, n->isElementNode() ? ((ElementImpl *)n)->tagName().string().latin1() : n->isTextNode() ? "text" : "unknown", change ); + //tqDebug(" (%p) calling recalcStyle on child %p/%s, change=%d", this, n, n->isElementNode() ? ((ElementImpl *)n)->tagName().string().latin1() : n->isTextNode() ? "text" : "unknown", change ); n->recalcStyle( change ); } } diff --git a/khtml/xml/dom_textimpl.cpp b/khtml/xml/dom_textimpl.cpp index 015135428..86317293d 100644 --- a/khtml/xml/dom_textimpl.cpp +++ b/khtml/xml/dom_textimpl.cpp @@ -430,13 +430,13 @@ NodeImpl::Id TextImpl::id() const void TextImpl::recalcStyle( StyleChange change ) { -// qDebug("textImpl::recalcStyle"); +// tqDebug("textImpl::recalcStyle"); // Create renderer if now needed if ( changed() && !m_render) { createRendererIfNeeded(); } if (change != NoChange && parentNode()) { -// qDebug("DomText::recalcStyle"); +// tqDebug("DomText::recalcStyle"); if(m_render) m_render->setStyle(parentNode()->renderer()->style()); } diff --git a/khtml/xml/xml_tokenizer.h b/khtml/xml/xml_tokenizer.h index 749c423ff..355c41b74 100644 --- a/khtml/xml/xml_tokenizer.h +++ b/khtml/xml/xml_tokenizer.h @@ -168,7 +168,7 @@ public: virtual void write( const TokenizerString &str, bool ); virtual void end(); virtual void finish(); - virtual void setAutoClose(bool b=true) { qWarning("XMLTokenizer::setAutoClose: stub."); (void)b; } + virtual void setAutoClose(bool b=true) { tqWarning("XMLTokenizer::setAutoClose: stub."); (void)b; } // from CachedObjectClient void notifyFinished(khtml::CachedObject *finishedObj); -- cgit v1.2.1