diff options
Diffstat (limited to 'kexi/core/kexiviewbase.cpp')
-rw-r--r-- | kexi/core/kexiviewbase.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/core/kexiviewbase.cpp b/kexi/core/kexiviewbase.cpp index d31a15fa..be201c9b 100644 --- a/kexi/core/kexiviewbase.cpp +++ b/kexi/core/kexiviewbase.cpp @@ -41,7 +41,7 @@ KexiViewBase::KexiViewBase(KexiMainWindow *mainWin, TQWidget *tqparent, const ch , m_dirty(false) { TQWidget *wi=this; - while ((wi = wi->tqparentWidget()) && !wi->inherits("KexiDialogBase")) + while ((wi = wi->parentWidget()) && !wi->inherits("KexiDialogBase")) ; m_dialog = (wi && wi->inherits("KexiDialogBase")) ? static_cast<KexiDialogBase*>(wi) : 0; if (m_dialog) { @@ -74,7 +74,7 @@ tristate KexiViewBase::afterSwitchFrom(int /* mode */) TQSize KexiViewBase::preferredSizeHint(const TQSize& otherSize) { - KexiDialogBase* dlg = tqparentDialog(); + KexiDialogBase* dlg = parentDialog(); if (dlg && dlg->mdiParent()) { TQRect r = dlg->mdiParent()->mdiAreaContentsRect(); return otherSize.boundedTo( TQSize( @@ -103,14 +103,14 @@ KoProperty::Set *KexiViewBase::propertySet() void KexiViewBase::propertySetSwitched() { - if (tqparentDialog()) - m_mainWin->propertySetSwitched( tqparentDialog(), false ); + if (parentDialog()) + m_mainWin->propertySetSwitched( parentDialog(), false ); } void KexiViewBase::propertySetReloaded(bool preservePrevSelection, const TQCString& propertyToSelect) { - if (tqparentDialog()) - m_mainWin->propertySetSwitched( tqparentDialog(), true, preservePrevSelection, propertyToSelect ); + if (parentDialog()) + m_mainWin->propertySetSwitched( parentDialog(), true, preservePrevSelection, propertyToSelect ); } void KexiViewBase::setDirty(bool set) @@ -240,7 +240,7 @@ bool KexiViewBase::eventFilter( TQObject *o, TQEvent *e ) if (e->type()==TQEvent::FocusIn && m_actionProxyParent) { m_actionProxyParent->m_focusedChild = this; } -// m_mainWin->tqinvalidateSharedActions(this); +// m_mainWin->invalidateSharedActions(this); } } return false; @@ -286,7 +286,7 @@ void KexiViewBase::setFocus() else setFocusInternal(); } - m_mainWin->tqinvalidateSharedActions(TQT_TQOBJECT(this)); + m_mainWin->invalidateSharedActions(TQT_TQOBJECT(this)); } KAction* KexiViewBase::sharedAction( const char *action_name ) |