summaryrefslogtreecommitdiffstats
path: root/src/projectsession.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectsession.cpp')
-rw-r--r--src/projectsession.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/projectsession.cpp b/src/projectsession.cpp
index ae54bbfa..cddf5d77 100644
--- a/src/projectsession.cpp
+++ b/src/projectsession.cpp
@@ -221,8 +221,8 @@ void ProjectSession::recreateViews(KURL& url, TQDomElement docEl, bool activate)
}
//// // restore focus
//// if (pFocusedView != 0L) {
-//// if (pFocusedView->tqparentWidget()->inherits("QextMdiChildView")) {
-//// ((QextMdiChildView*)pFocusedView->tqparentWidget())->activate();
+//// if (pFocusedView->parentWidget()->inherits("QextMdiChildView")) {
+//// ((QextMdiChildView*)pFocusedView->parentWidget())->activate();
//// }
//// pFocusedView->setFocus();
//// }
@@ -349,7 +349,7 @@ bool ProjectSession::saveToFile( const TQString & sessionFileName, const TQValue
TQDomElement viewEl = domdoc.createElement( "View"+viewIdStr);
docEl.appendChild( viewEl);
// focus?
-//// viewEl.setAttribute("Focus", (((CEditWidget*)pView->tqparentWidget()) == m_pDocViewMan->currentEditView()));
+//// viewEl.setAttribute("Focus", (((CEditWidget*)pView->parentWidget()) == m_pDocViewMan->currentEditView()));
viewEl.setAttribute("Type", "???");
TQDomElement viewPropertiesEl = domdoc.createElement("AdditionalSettings");