summaryrefslogtreecommitdiffstats
path: root/ksayit/src/docbookgenerator.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit1b93777b6479886165554b763531d7bea5fe6c1f (patch)
treeb23eded921677315389331ca8f877c98e5be6272 /ksayit/src/docbookgenerator.cpp
parenta53c68f02a359d234dee62dfa3bdd12bb17b13b5 (diff)
downloadtdeaccessibility-1b93777b6479886165554b763531d7bea5fe6c1f.tar.gz
tdeaccessibility-1b93777b6479886165554b763531d7bea5fe6c1f.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksayit/src/docbookgenerator.cpp')
-rw-r--r--ksayit/src/docbookgenerator.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ksayit/src/docbookgenerator.cpp b/ksayit/src/docbookgenerator.cpp
index a6f8a72..d9ab809 100644
--- a/ksayit/src/docbookgenerator.cpp
+++ b/ksayit/src/docbookgenerator.cpp
@@ -105,10 +105,10 @@ void DocbookGenerator::writeTitleOfBook(TQTextStream &doc, ListViewInterface *it
if ( whoAmI != "BookInfo" )
return;
- // Documents title is stored in root element (tqparent of BookInfo)
- ListViewInterface *tqparent = static_cast<ListViewInterface*>(item->tqparent());
- if ( tqparent ){
- TQString title = tqparent->text(0);
+ // Documents title is stored in root element (parent of BookInfo)
+ ListViewInterface *parent = static_cast<ListViewInterface*>(item->parent());
+ if ( parent ){
+ TQString title = parent->text(0);
// add node to document
doc << "<Title>" << title << "</Title>" << endl;