summaryrefslogtreecommitdiffstats
path: root/khelpcenter/toc.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:29:23 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-18 18:29:23 -0600
commit628043be55ddd2f534411d028e4f68c8fe4eaabb (patch)
tree29459652112ab6d5dfbf27ac0bbf5b86b7c83bca /khelpcenter/toc.cpp
parent2c01fd64ddde84a6d78b632f7f3b7c3560dc288c (diff)
downloadtdebase-628043be55ddd2f534411d028e4f68c8fe4eaabb.tar.gz
tdebase-628043be55ddd2f534411d028e4f68c8fe4eaabb.zip
Rename old tq methods that no longer need a unique name
Diffstat (limited to 'khelpcenter/toc.cpp')
-rw-r--r--khelpcenter/toc.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/khelpcenter/toc.cpp b/khelpcenter/toc.cpp
index cdc7d92d9..e357abe2a 100644
--- a/khelpcenter/toc.cpp
+++ b/khelpcenter/toc.cpp
@@ -188,9 +188,9 @@ void TOC::fillTree()
TQDomNodeList chapters = doc.documentElement().elementsByTagName( "chapter" );
for ( unsigned int chapterCount = 0; chapterCount < chapters.count(); chapterCount++ ) {
TQDomElement chapElem = chapters.item( chapterCount ).toElement();
- TQDomElement chapTitleElem = childElement( chapElem, TQString::tqfromLatin1( "title" ) );
+ TQDomElement chapTitleElem = childElement( chapElem, TQString::fromLatin1( "title" ) );
TQString chapTitle = chapTitleElem.text().simplifyWhiteSpace();
- TQDomElement chapRefElem = childElement( chapElem, TQString::tqfromLatin1( "anchor" ) );
+ TQDomElement chapRefElem = childElement( chapElem, TQString::fromLatin1( "anchor" ) );
TQString chapRef = chapRefElem.text().stripWhiteSpace();
chapItem = new TOCChapterItem( this, m_parentItem, chapItem, chapTitle, chapRef );
@@ -199,9 +199,9 @@ void TOC::fillTree()
TQDomNodeList sections = chapElem.elementsByTagName( "section" );
for ( unsigned int sectCount = 0; sectCount < sections.count(); sectCount++ ) {
TQDomElement sectElem = sections.item( sectCount ).toElement();
- TQDomElement sectTitleElem = childElement( sectElem, TQString::tqfromLatin1( "title" ) );
+ TQDomElement sectTitleElem = childElement( sectElem, TQString::fromLatin1( "title" ) );
TQString sectTitle = sectTitleElem.text().simplifyWhiteSpace();
- TQDomElement sectRefElem = childElement( sectElem, TQString::tqfromLatin1( "anchor" ) );
+ TQDomElement sectRefElem = childElement( sectElem, TQString::fromLatin1( "anchor" ) );
TQString sectRef = sectRefElem.text().stripWhiteSpace();
sectItem = new TOCSectionItem( this, chapItem, sectItem, sectTitle, sectRef );