summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/input_python.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-24 07:08:32 +0000
commitf1abfebcc47015631f230077f2c2b18ac03aa782 (patch)
tree87c298dd9894e5dade028bb360c15c7147a690f2 /superkaramba/src/input_python.cpp
parent2f456b8523e3e9702857ecee4c2a432dcef6619f (diff)
downloadtdeutils-f1abfebcc47015631f230077f2c2b18ac03aa782.tar.gz
tdeutils-f1abfebcc47015631f230077f2c2b18ac03aa782.zip
Fix a number of runtime object identification problems which led to an even larger array of minor glitches
NOTE: kdevelop and kdewebdev still need to be fully repaired git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1222475 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/input_python.cpp')
-rw-r--r--superkaramba/src/input_python.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/superkaramba/src/input_python.cpp b/superkaramba/src/input_python.cpp
index fc1d9ad..d839536 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")) // SKLineEdit is no Q_Object, but TQLineEdit can only be here as a SKLineEdit
+ if(obj->isA(TQLINEEDIT_OBJECT_NAME_STRING)) // SKLineEdit is no Q_Object, but TQLineEdit can only be here as a SKLineEdit
return Py_BuildValue((char*)"l", ((SKLineEdit*)obj)->getInput());
return Py_BuildValue((char*)"l", 0);