summaryrefslogtreecommitdiffstats
path: root/src/kchmmainwindow.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
commit16e768c7ecc5aeb226178faeb39349386da8663d (patch)
treee875e5221ce4f80b741a58a6e7019016bf4ef6e3 /src/kchmmainwindow.cpp
parent8cbd3f41229fc385698bfd9a5524ba2610777543 (diff)
downloadkchmviewer-16e768c7ecc5aeb226178faeb39349386da8663d.tar.gz
kchmviewer-16e768c7ecc5aeb226178faeb39349386da8663d.zip
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
Diffstat (limited to 'src/kchmmainwindow.cpp')
-rw-r--r--src/kchmmainwindow.cpp16
1 files changed, 8 insertions, 8 deletions
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);