diff options
Diffstat (limited to 'superkaramba/src/textlabel_python.cpp')
-rw-r--r-- | superkaramba/src/textlabel_python.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/superkaramba/src/textlabel_python.cpp b/superkaramba/src/textlabel_python.cpp index 0802be9..3cf6e3e 100644 --- a/superkaramba/src/textlabel_python.cpp +++ b/superkaramba/src/textlabel_python.cpp @@ -27,7 +27,7 @@ #endif #include <Python.h> -#include <qobject.h> +#include <tqobject.h> #include "karamba.h" #include "textlabel.h" #include "meter_python.h" @@ -43,7 +43,7 @@ PyObject* py_createText(PyObject *, PyObject *args) return NULL; TextLabel *tmp = new TextLabel((karamba*)widget, (int)x, (int)y, (int)w, (int)h); - tmp->setValue(PyString2QString(text)); + tmp->setValue(PyString2TQString(text)); tmp->setTextProps(((karamba*)widget)->getDefaultTextProps()); ((karamba*)widget)->meterList->append(tmp); return (Py_BuildValue((char*)"l", (long)tmp)); @@ -230,6 +230,6 @@ PyObject* py_setTextScroll(PyObject *, PyObject *args) return NULL; if (!checkKarambaAndMeter(widget, textSensor, "TextLabel")) return NULL; - ((TextLabel*)textSensor)->setScroll(type, QPoint(x,y), gap, pause); + ((TextLabel*)textSensor)->setScroll(type, TQPoint(x,y), gap, pause); return Py_BuildValue((char*)"l", 1); } |