summaryrefslogtreecommitdiffstats
path: root/khtml/html
diff options
context:
space:
mode:
Diffstat (limited to 'khtml/html')
-rw-r--r--khtml/html/html_elementimpl.cpp10
-rw-r--r--khtml/html/html_formimpl.cpp2
-rw-r--r--khtml/html/htmltokenizer.cpp20
-rw-r--r--khtml/html/htmltokenizer.h2
4 files changed, 17 insertions, 17 deletions
diff --git a/khtml/html/html_elementimpl.cpp b/khtml/html/html_elementimpl.cpp
index f635fcc3d..5c0e4ae0a 100644
--- a/khtml/html/html_elementimpl.cpp
+++ b/khtml/html/html_elementimpl.cpp
@@ -400,7 +400,7 @@ void HTMLElementImpl::addHTMLColor( int id, const DOMString &c )
int basicLength = (color.length() + 2) / 3;
if ( basicLength > 1 ) {
// IE ignores colors with three digits or less
-// qDebug("trying to fix up color '%s'. basicLength=%d, length=%d",
+// tqDebug("trying to fix up color '%s'. basicLength=%d, length=%d",
// color.latin1(), basicLength, color.length() );
int colors[3] = { 0, 0, 0 };
int component = 0;
@@ -424,18 +424,18 @@ void HTMLElementImpl::addHTMLColor( int id, const DOMString &c )
component++;
}
maxDigit = basicLength - maxDigit;
-// qDebug("color is %x %x %x, maxDigit=%d", colors[0], colors[1], colors[2], maxDigit );
+// tqDebug("color is %x %x %x, maxDigit=%d", colors[0], colors[1], colors[2], maxDigit );
// normalize to 00-ff. The highest filled digit counts, minimum is 2 digits
maxDigit -= 2;
colors[0] >>= 4*maxDigit;
colors[1] >>= 4*maxDigit;
colors[2] >>= 4*maxDigit;
-// qDebug("normalized color is %x %x %x", colors[0], colors[1], colors[2] );
+// tqDebug("normalized color is %x %x %x", colors[0], colors[1], colors[2] );
// assert( colors[0] < 0x100 && colors[1] < 0x100 && colors[2] < 0x100 );
color.sprintf("#%02x%02x%02x", colors[0], colors[1], colors[2] );
-// qDebug( "trying to add fixed color string '%s'", color.latin1() );
+// tqDebug( "trying to add fixed color string '%s'", color.latin1() );
if ( m_styleDecls->setProperty(id, DOMString(color), false, true) )
return;
}
@@ -622,7 +622,7 @@ void HTMLElementImpl::setInnerText( const DOMString &text, int& exceptioncode )
void HTMLElementImpl::addHTMLAlignment( DOMString alignment )
{
- //qDebug("alignment is %s", alignment.string().latin1() );
+ //tqDebug("alignment is %s", alignment.string().latin1() );
// vertical alignment with respect to the current baseline of the text
// right or left means floating images
int propfloat = -1;
diff --git a/khtml/html/html_formimpl.cpp b/khtml/html/html_formimpl.cpp
index 2d4428494..adf28d563 100644
--- a/khtml/html/html_formimpl.cpp
+++ b/khtml/html/html_formimpl.cpp
@@ -2199,7 +2199,7 @@ void HTMLSelectElementImpl::restoreState(const TQString &_state)
TQString state = _state;
if(!state.isEmpty() && !state.contains('X') && !m_multiple && m_size <= 1) {
- qWarning("should not happen in restoreState!");
+ tqWarning("should not happen in restoreState!");
state[0] = 'X';
}
diff --git a/khtml/html/htmltokenizer.cpp b/khtml/html/htmltokenizer.cpp
index 5da6edd14..2329e2325 100644
--- a/khtml/html/htmltokenizer.cpp
+++ b/khtml/html/htmltokenizer.cpp
@@ -466,7 +466,7 @@ void HTMLTokenizer::parseComment(TokenizerString &src)
scriptCode[ scriptCodeSize++ ] = *src;
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("comment is now: *%s*", src.toString().left(16).latin1());
+ tqDebug("comment is now: *%s*", src.toString().left(16).latin1());
#endif
if (strict)
@@ -765,7 +765,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
uint l = 0;
while(l < src.length() && (src.toString()[l]).latin1() != '>')
l++;
- qDebug("src is now: *%s*, tquote: %d",
+ tqDebug("src is now: *%s*, tquote: %d",
src.toString().left(l).latin1(), tquote);
#endif
switch(tag) {
@@ -774,7 +774,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case TagName:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("TagName");
+ tqDebug("TagName");
#endif
if (searchCount > 0)
{
@@ -870,7 +870,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case SearchAttribute:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("SearchAttribute");
+ tqDebug("SearchAttribute");
#endif
bool atespace = false;
ushort curchar;
@@ -899,7 +899,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case AttributeName:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("AttributeName");
+ tqDebug("AttributeName");
#endif
ushort curchar;
int ll = kMin(src.length(), CBUFLEN-cBufferPos);
@@ -951,7 +951,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case SearchEqual:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("SearchEqual");
+ tqDebug("SearchEqual");
#endif
ushort curchar;
bool atespace = false;
@@ -1006,7 +1006,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case QuotedValue:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("QuotedValue");
+ tqDebug("QuotedValue");
#endif
ushort curchar;
while(!src.isEmpty()) {
@@ -1045,7 +1045,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case Value:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("Value");
+ tqDebug("Value");
#endif
ushort curchar;
while(!src.isEmpty()) {
@@ -1079,7 +1079,7 @@ void HTMLTokenizer::parseTag(TokenizerString &src)
case SearchEnd:
{
#if defined(TOKEN_DEBUG) && TOKEN_DEBUG > 1
- qDebug("SearchEnd");
+ tqDebug("SearchEnd");
#endif
while(!src.isEmpty()) {
if(*src == '<' || *src == '>')
@@ -1647,7 +1647,7 @@ void HTMLTokenizer::processToken()
{
#if 0
if(currToken.tid) {
- qDebug( "unexpected token id: %d, str: *%s*", currToken.tid,TQConstString( buffer,dest-buffer ).string().latin1() );
+ tqDebug( "unexpected token id: %d, str: *%s*", currToken.tid,TQConstString( buffer,dest-buffer ).string().latin1() );
assert(0);
}
diff --git a/khtml/html/htmltokenizer.h b/khtml/html/htmltokenizer.h
index 8e36353b0..10ef76176 100644
--- a/khtml/html/htmltokenizer.h
+++ b/khtml/html/htmltokenizer.h
@@ -66,7 +66,7 @@ namespace khtml {
attrs = 0;
text = 0;
flat = false;
- //qDebug("new token, creating %08lx", attrs);
+ //tqDebug("new token, creating %08lx", attrs);
}
~Token() {
if(attrs) attrs->deref();