summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/textlabel_python.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /superkaramba/src/textlabel_python.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/textlabel_python.cpp')
-rw-r--r--superkaramba/src/textlabel_python.cpp6
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);
}