diff options
Diffstat (limited to 'kexi/core/kexiviewbase.cpp')
-rw-r--r-- | kexi/core/kexiviewbase.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/core/kexiviewbase.cpp b/kexi/core/kexiviewbase.cpp index be201c9b..e89f4a4e 100644 --- a/kexi/core/kexiviewbase.cpp +++ b/kexi/core/kexiviewbase.cpp @@ -30,8 +30,8 @@ #include <kdebug.h> -KexiViewBase::KexiViewBase(KexiMainWindow *mainWin, TQWidget *tqparent, const char *name) - : TQWidget(tqparent, name) +KexiViewBase::KexiViewBase(KexiMainWindow *mainWin, TQWidget *parent, const char *name) + : TQWidget(parent, name) , KexiActionProxy(TQT_TQOBJECT(this), mainWin) , m_mainWin(mainWin) , m_viewWidget(0) @@ -218,7 +218,7 @@ bool KexiViewBase::eventFilter( TQObject *o, TQEvent *e ) // kexidbg << "KexiViewBase::eventFilter(): " << o->name() << " " << e->type() << endl; if (KexiUtils::hasParent( TQT_TQOBJECT(this), TQT_TQOBJECT(o))) { if (e->type()==TQEvent::FocusOut && tqfocusWidget() && !KexiUtils::hasParent( TQT_TQOBJECT(this), TQT_TQOBJECT(tqfocusWidget()))) { - //focus out: when currently focused widget is not a tqparent of this view + //focus out: when currently focused widget is not a parent of this view emit focus(false); } else if (e->type()==TQEvent::FocusIn) { emit focus(true); |