diff options
author | Michele Calgaro <[email protected]> | 2023-07-11 21:42:08 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-07-13 09:04:02 +0900 |
commit | 462dc85dcb12aab8e19797dadf48799656708a54 (patch) | |
tree | 901511cb5d29b2a094b1149d0621add8cb15c0e9 /kexi/formeditor/utils.cpp | |
parent | 75cc9de8f47db776021b5e8153c930d9af2108b6 (diff) | |
download | koffice-462dc85dcb12aab8e19797dadf48799656708a54.tar.gz koffice-462dc85dcb12aab8e19797dadf48799656708a54.zip |
Replace _OBJECT_NAME_STRING defines with actual strings. This relates to the merging of tqtinterface with tqt3.
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 20e4a19b0d7cc800d57be50c56d69023adae4046)
Diffstat (limited to 'kexi/formeditor/utils.cpp')
-rw-r--r-- | kexi/formeditor/utils.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kexi/formeditor/utils.cpp b/kexi/formeditor/utils.cpp index 53a9a15b..b04222f3 100644 --- a/kexi/formeditor/utils.cpp +++ b/kexi/formeditor/utils.cpp @@ -89,14 +89,14 @@ KFormDesigner::setRecursiveCursor(TQWidget *w, Form *form) { ObjectTreeItem *tree = form->objectTree()->lookup(w->name()); if(tree && ((tree->modifiedProperties()->contains("cursor")) || !tree->children()->isEmpty()) - && !w->inherits(TQLINEEDIT_OBJECT_NAME_STRING) && !w->inherits(TQTEXTEDIT_OBJECT_NAME_STRING) + && !w->inherits("TQLineEdit") && !w->inherits("TQTextEdit") ) //fix weird behaviour return; // if the user has set a cursor for this widget or this is a container, don't change it if(w->ownCursor()) w->setCursor(TQt::ArrowCursor); - TQObjectList *l = w->queryList( TQWIDGET_OBJECT_NAME_STRING ); + TQObjectList *l = w->queryList( "TQWidget" ); for(TQObject *o = l->first(); o; o = l->next()) ((TQWidget*)o)->setCursor(TQt::ArrowCursor); delete l; |