summaryrefslogtreecommitdiffstats
path: root/superkaramba
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-07-12 11:38:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-07-13 09:58:51 +0900
commit793159b9690c22c00b6dd78ed24f56c620cd0db8 (patch)
tree27f7cb8d3819879af63967d05771af6326551c27 /superkaramba
parent8a349b7e9ea3f9692976c988090294c78ce35d53 (diff)
downloadtdeutils-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')
-rw-r--r--superkaramba/src/config_python.cpp2
-rw-r--r--superkaramba/src/input_python.cpp2
-rw-r--r--superkaramba/src/noatunsensor.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/superkaramba/src/config_python.cpp b/superkaramba/src/config_python.cpp
index 0b9b34b..1a094eb 100644
--- a/superkaramba/src/config_python.cpp
+++ b/superkaramba/src/config_python.cpp
@@ -172,7 +172,7 @@ PyObject* py_read_config_entry(PyObject *, PyObject *args)
return Py_BuildValue((char*)"l", i);
}
- if (type == TQSTRING_OBJECT_NAME_STRING)
+ if (type == "TQString")
{
return Py_BuildValue((char*)"s", entry.toString().ascii());
}
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);
diff --git a/superkaramba/src/noatunsensor.cpp b/superkaramba/src/noatunsensor.cpp
index 129e8e0..0a06473 100644
--- a/superkaramba/src/noatunsensor.cpp
+++ b/superkaramba/src/noatunsensor.cpp
@@ -144,7 +144,7 @@ TQString NoatunSensor::getTitle()
else
{
TQDataStream reply(replyData, IO_ReadOnly);
- if (replyType == TQSTRING_OBJECT_NAME_STRING)
+ if (replyType == "TQString")
{
reply >> result;
result.replace( TQRegExp("_")," " );