diff options
Diffstat (limited to 'khelpcenter')
-rw-r--r-- | khelpcenter/glossary.cpp | 2 | ||||
-rw-r--r-- | khelpcenter/toc.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/khelpcenter/glossary.cpp b/khelpcenter/glossary.cpp index 148fe4dd9..46a9ce65b 100644 --- a/khelpcenter/glossary.cpp +++ b/khelpcenter/glossary.cpp @@ -311,7 +311,7 @@ void Glossary::slotSelectGlossEntry( const TQString &id ) if ( curItem != 0 ) { if ( curItem->id() == id ) return; - curItem->tqparent()->setOpen( false ); + curItem->parent()->setOpen( false ); } setCurrentItem( newItem ); diff --git a/khelpcenter/toc.cpp b/khelpcenter/toc.cpp index 0f0e8af07..cdc7d92d9 100644 --- a/khelpcenter/toc.cpp +++ b/khelpcenter/toc.cpp @@ -261,8 +261,8 @@ TOCSectionItem::TOCSectionItem( TOC *toc, TOCChapterItem *parent, TQListViewItem TQString TOCSectionItem::url() { - if ( static_cast<TOCSectionItem *>( tqparent()->firstChild() ) == this ) - return static_cast<TOCChapterItem *>( tqparent() )->url() + "#" + m_name; + if ( static_cast<TOCSectionItem *>( parent()->firstChild() ) == this ) + return static_cast<TOCChapterItem *>( parent() )->url() + "#" + m_name; return "help:" + toc()->application() + "/" + m_name + ".html"; } |