diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 21:42:08 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-11 21:42:08 +0900 |
| commit | 20e4a19b0d7cc800d57be50c56d69023adae4046 (patch) | |
| tree | 522b0ae95b8f7e9ee59a3b405de24b2dd8180bc4 /kexi/core | |
| parent | c2fdb394e63c0df50f1a38eace1077a9151374ce (diff) | |
| download | koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.tar.gz koffice-20e4a19b0d7cc800d57be50c56d69023adae4046.zip | |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 340576960..7b57d6733 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 c4eb3eaa2..c2a3f2a5a 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; |
