diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-12 11:38:31 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-07-13 09:58:51 +0900 |
commit | 793159b9690c22c00b6dd78ed24f56c620cd0db8 (patch) | |
tree | 27f7cb8d3819879af63967d05771af6326551c27 /superkaramba/src/input_python.cpp | |
parent | 8a349b7e9ea3f9692976c988090294c78ce35d53 (diff) | |
download | tdeutils-793159b9690c22c00b6dd78ed24f56c620cd0db8.tar.gz tdeutils-793159b9690c22c00b6dd78ed24f56c620cd0db8.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>
(cherry picked from commit 53c180e71c2d6bc90bb777b4bd304d5f235040e3)
Diffstat (limited to 'superkaramba/src/input_python.cpp')
-rw-r--r-- | superkaramba/src/input_python.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/input_python.cpp b/superkaramba/src/input_python.cpp index fb451bd..727daaa 100644 --- a/superkaramba/src/input_python.cpp +++ b/superkaramba/src/input_python.cpp @@ -348,7 +348,7 @@ PyObject* py_getInputFocus(PyObject *, PyObject *args) // TQWidget *obj = ((karamba*)widget)->focusWidget(); - if(obj->isA(TQLINEEDIT_OBJECT_NAME_STRING)) // SKLineEdit is no TQ_Object, but TQLineEdit can only be here as a SKLineEdit + if(obj->isA("TQLineEdit")) // SKLineEdit is no TQ_Object, but TQLineEdit can only be here as a SKLineEdit return Py_BuildValue((char*)"l", ((SKLineEdit*)obj)->getInput()); return Py_BuildValue((char*)"l", 0); |