diff options
Diffstat (limited to 'kexi/core')
-rw-r--r-- | kexi/core/kexidialogbase.cpp | 2 | ||||
-rw-r--r-- | kexi/core/kexiviewbase.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kexi/core/kexidialogbase.cpp b/kexi/core/kexidialogbase.cpp index 34057696..7b57d673 100644 --- a/kexi/core/kexidialogbase.cpp +++ b/kexi/core/kexidialogbase.cpp @@ -100,7 +100,7 @@ void KexiDialogBase::addView(KexiViewBase *view, int mode) // addActionProxyChild( view ); //set focus proxy inside this view - TQWidget *ch = TQT_TQWIDGET(view->child( 0, TQWIDGET_OBJECT_NAME_STRING, false )); + TQWidget *ch = TQT_TQWIDGET(view->child( 0, "TQWidget", false )); if (ch) view->setFocusProxy(ch); diff --git a/kexi/core/kexiviewbase.cpp b/kexi/core/kexiviewbase.cpp index c4eb3eaa..c2a3f2a5 100644 --- a/kexi/core/kexiviewbase.cpp +++ b/kexi/core/kexiviewbase.cpp @@ -212,7 +212,7 @@ bool KexiViewBase::removeDataBlock( const TQString& dataID ) bool KexiViewBase::eventFilter( TQObject *o, TQEvent *e ) { - if (e->type()==TQEvent::FocusIn || e->type()==TQEvent::FocusOut) {// && o->inherits(TQWIDGET_OBJECT_NAME_STRING)) { + if (e->type()==TQEvent::FocusIn || e->type()==TQEvent::FocusOut) {// && o->inherits("TQWidget")) { // //hp==true if currently focused widget is a child of this table view // const bool hp = Kexi::hasParent( static_cast<TQWidget*>(o), focusWidget()); // kexidbg << "KexiViewBase::eventFilter(): " << o->name() << " " << e->type() << endl; |