summaryrefslogtreecommitdiffstats
path: root/kjots/kjotsentry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kjots/kjotsentry.cpp')
-rw-r--r--kjots/kjotsentry.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kjots/kjotsentry.cpp b/kjots/kjotsentry.cpp
index d15bf5c..34c1ca0 100644
--- a/kjots/kjotsentry.cpp
+++ b/kjots/kjotsentry.cpp
@@ -1052,10 +1052,10 @@ TQString KJotsPage::defaultSubject()
{
int page = 0;
- if ( tqparentBook() )
+ if ( parentBook() )
{
//We can't use childCount() here because it will count books, too.
- KJotsEntryBase *entry = dynamic_cast<KJotsEntryBase*>(tqparentBook()->firstChild());
+ KJotsEntryBase *entry = dynamic_cast<KJotsEntryBase*>(parentBook()->firstChild());
while ( entry )
{
if ( entry->isPage() ) ++page;
@@ -1192,12 +1192,12 @@ TQString KJotsPage::generateHtml( KJotsEntryBase *top, bool diskMode )
if ( top != this )
{
- KJotsBook *tqparent = tqparentBook();
+ KJotsBook *tqparent = parentBook();
while ( tqparent )
{
html += TQString("<td><a href=\"#%1\">%2</a></td>").tqarg(tqparent->id()).tqarg(tqparent->subject());
if ( tqparent == top ) break;
- tqparent = tqparent->tqparentBook();
+ tqparent = tqparent->parentBook();
}
}
html += TQString("</tr></table>");