summaryrefslogtreecommitdiffstats
path: root/superkaramba/src
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-12 11:38:31 +0900
commit53c180e71c2d6bc90bb777b4bd304d5f235040e3 (patch)
tree27f7cb8d3819879af63967d05771af6326551c27 /superkaramba/src
parentd11c6b6bde873dff19cbb832e52e1a21cc5ea4a3 (diff)
downloadtdeutils-53c180e71c2d6bc90bb777b4bd304d5f235040e3.tar.gz
tdeutils-53c180e71c2d6bc90bb777b4bd304d5f235040e3.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 'superkaramba/src')
-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("_")," " );