summaryrefslogtreecommitdiffstats
path: root/khtml/html/html_tableimpl.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /khtml/html/html_tableimpl.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khtml/html/html_tableimpl.cpp')
-rw-r--r--khtml/html/html_tableimpl.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/khtml/html/html_tableimpl.cpp b/khtml/html/html_tableimpl.cpp
index 2c2e6567d..1c982a624 100644
--- a/khtml/html/html_tableimpl.cpp
+++ b/khtml/html/html_tableimpl.cpp
@@ -81,7 +81,7 @@ NodeImpl* HTMLTableElementImpl::setCaption( HTMLTableCaptionElementImpl *c )
int exceptioncode = 0;
NodeImpl* r;
if(ElementImpl* cap = caption()) {
- replaceChild ( c, cap, exceptioncode );
+ tqreplaceChild ( c, cap, exceptioncode );
r = c;
}
else
@@ -95,7 +95,7 @@ NodeImpl* HTMLTableElementImpl::setTHead( HTMLTableSectionElementImpl *s )
int exceptioncode = 0;
NodeImpl* r;
if( ElementImpl* head = tHead() ) {
- replaceChild( s, head, exceptioncode );
+ tqreplaceChild( s, head, exceptioncode );
r = s;
}
else if(ElementImpl* foot = tFoot())
@@ -114,7 +114,7 @@ NodeImpl* HTMLTableElementImpl::setTFoot( HTMLTableSectionElementImpl *s )
int exceptioncode = 0;
NodeImpl* r;
if(ElementImpl* foot = tFoot()) {
- replaceChild ( s, foot, exceptioncode );
+ tqreplaceChild ( s, foot, exceptioncode );
r = s;
} else if(ElementImpl* firstBody = tFirstBody())
r = insertBefore( s, firstBody, exceptioncode );
@@ -130,7 +130,7 @@ NodeImpl* HTMLTableElementImpl::setTBody( HTMLTableSectionElementImpl *s )
NodeImpl* r;
if(ElementImpl* firstBody = tFirstBody()) {
- replaceChild ( s, firstBody, exceptioncode );
+ tqreplaceChild ( s, firstBody, exceptioncode );
r = s;
} else
r = appendChild( s, exceptioncode );
@@ -205,7 +205,7 @@ void HTMLTableElementImpl::deleteCaption( )
}
/**
- Helper. This checks whether the section contains the desired index, and if so,
+ Helper. This checks whether the section tqcontains the desired index, and if so,
returns the section. Otherwise, it adjust the index, and returns 0.
indeces < 0 are considered to be infinite.
@@ -227,7 +227,7 @@ static inline HTMLTableSectionElementImpl* processSection(HTMLTableSectionElemen
}
-bool HTMLTableElementImpl::findRowSection(long index,
+bool HTMLTableElementImpl::tqfindRowSection(long index,
HTMLTableSectionElementImpl*& outSection,
long& outIndex) const
{
@@ -280,7 +280,7 @@ HTMLElementImpl *HTMLTableElementImpl::insertRow( long index, int &exceptioncode
long sectionIndex;
HTMLTableSectionElementImpl* section;
- if ( findRowSection( index, section, sectionIndex ) )
+ if ( tqfindRowSection( index, section, sectionIndex ) )
return section->insertRow( sectionIndex, exceptioncode );
else if ( index == -1 || sectionIndex == 0 )
return section->insertRow( section->numRows(), exceptioncode );
@@ -294,7 +294,7 @@ void HTMLTableElementImpl::deleteRow( long index, int &exceptioncode )
{
long sectionIndex;
HTMLTableSectionElementImpl* section;
- if ( findRowSection( index, section, sectionIndex ) )
+ if ( tqfindRowSection( index, section, sectionIndex ) )
section->deleteRow( sectionIndex, exceptioncode );
else if ( section && index == -1 )
section->deleteRow( -1, exceptioncode );
@@ -389,10 +389,10 @@ NodeImpl *HTMLTableElementImpl::insertBefore ( NodeImpl *newChild, NodeImpl *ref
return retval;
}
-void HTMLTableElementImpl::replaceChild ( NodeImpl *newChild, NodeImpl *oldChild, int &exceptioncode )
+void HTMLTableElementImpl::tqreplaceChild ( NodeImpl *newChild, NodeImpl *oldChild, int &exceptioncode )
{
handleChildRemove( oldChild ); //Always safe.
- HTMLElementImpl::replaceChild( newChild, oldChild, exceptioncode );
+ HTMLElementImpl::tqreplaceChild( newChild, oldChild, exceptioncode );
if ( !exceptioncode )
handleChildAdd( newChild );
}