diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 1b93777b6479886165554b763531d7bea5fe6c1f (patch) | |
tree | b23eded921677315389331ca8f877c98e5be6272 /ksayit/src/docbookgenerator.cpp | |
parent | a53c68f02a359d234dee62dfa3bdd12bb17b13b5 (diff) | |
download | tdeaccessibility-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.cpp | 8 |
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; |