From 16e768c7ecc5aeb226178faeb39349386da8663d Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 22:19:39 +0000 Subject: rename the following methods: tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kchmviewer@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/kchmmainwindow.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/kchmmainwindow.cpp') diff --git a/src/kchmmainwindow.cpp b/src/kchmmainwindow.cpp index 9246961..7494cf9 100644 --- a/src/kchmmainwindow.cpp +++ b/src/kchmmainwindow.cpp @@ -840,8 +840,8 @@ void KCHMMainWindow::setupSignals( ) #if defined(HAVE_SIGACTION) struct sigaction sa; memset ((char *)&sa, 0, sizeof(sa)); - sigemptyset (&sa.sa_tqmask); - sigaddset (&sa.sa_tqmask, SIGCHLD); + sigemptyset (&sa.sa_mask); + sigaddset (&sa.sa_mask, SIGCHLD); #ifdef SA_RESTART sa.sa_flags = SA_RESTART; @@ -1028,10 +1028,10 @@ void KCHMMainWindow::slotLocateInContentWindow( ) if ( treeitem ) { - KCHMIndTocItem * itemtqparent = treeitem; + KCHMIndTocItem * itemparent = treeitem; - while ( (itemtqparent = (KCHMIndTocItem*) itemtqparent->tqparent()) != 0 ) - itemtqparent->setOpen(true); + while ( (itemparent = (KCHMIndTocItem*) itemparent->parent()) != 0 ) + itemparent->setOpen(true); m_contentsWindow->setCurrentItem (treeitem); m_contentsWindow->ensureItemVisible (treeitem); @@ -1167,9 +1167,9 @@ void KCHMMainWindow::locateInContentTree( const TQString & url ) if ( treeitem ) { - KCHMIndTocItem * itemtqparent = treeitem; - while ( (itemtqparent = (KCHMIndTocItem*) itemtqparent->tqparent()) != 0 ) - itemtqparent->setOpen(true); + KCHMIndTocItem * itemparent = treeitem; + while ( (itemparent = (KCHMIndTocItem*) itemparent->parent()) != 0 ) + itemparent->setOpen(true); m_contentsWindow->setCurrentItem (treeitem); m_contentsWindow->ensureItemVisible (treeitem); -- cgit v1.2.3