diff options
Diffstat (limited to 'kexi/main/keximainwindowimpl_p.h')
-rw-r--r-- | kexi/main/keximainwindowimpl_p.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kexi/main/keximainwindowimpl_p.h b/kexi/main/keximainwindowimpl_p.h index 0abd513a..cf5f44c2 100644 --- a/kexi/main/keximainwindowimpl_p.h +++ b/kexi/main/keximainwindowimpl_p.h @@ -202,9 +202,9 @@ public: /* void updatePropEditorDockWidthInfo() { if (propEditor) { - KDockWidget *dw = (KDockWidget *)propEditor->tqparentWidget(); + KDockWidget *dw = (KDockWidget *)propEditor->parentWidget(); #if defined(KDOCKWIDGET_P) - KDockSplitter *ds = (KDockSplitter *)dw->tqparentWidget(); + KDockSplitter *ds = (KDockSplitter *)dw->parentWidget(); if (ds) { propEditorDockSeparatorPos = ds->separatorPosInPercent();*/ /* if (propEditorDockSeparatorPos<=0) { @@ -273,8 +273,8 @@ void updatePropEditorDockWidthInfo() { origFocusWidget->setFocus(); /*moved #if defined(KDOCKWIDGET_P) - KDockWidget *dw = (KDockWidget *)propEditor->tqparentWidget(); - KDockSplitter *ds = (KDockSplitter *)dw->tqparentWidget(); + KDockWidget *dw = (KDockWidget *)propEditor->parentWidget(); + KDockSplitter *ds = (KDockSplitter *)dw->parentWidget(); ds->setSeparatorPosInPercent(config->readNumEntry("RightDockPosition", 80));//% #endif*/ } @@ -285,8 +285,8 @@ void updatePropEditorDockWidthInfo() { { #if defined(KDOCKWIDGET_P) if (wnd->mdiMode()==KMdi::ChildframeMode || wnd->mdiMode()==KMdi::TabPageMode) { - KDockWidget *dw = (KDockWidget *)nav->tqparentWidget(); - KDockSplitter *ds = (KDockSplitter *)dw->tqparentWidget(); + KDockWidget *dw = (KDockWidget *)nav->parentWidget(); + KDockSplitter *ds = (KDockSplitter *)dw->parentWidget(); // ds->setKeepSize(true); config->setGroup("MainWindow"); |