From 5f5ee2367157176ed223b86343eb0a9e4022e020 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:52:55 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- superkaramba/src/imagelabel_python.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'superkaramba/src/imagelabel_python.cpp') diff --git a/superkaramba/src/imagelabel_python.cpp b/superkaramba/src/imagelabel_python.cpp index 6564ce5..7cf6d73 100644 --- a/superkaramba/src/imagelabel_python.cpp +++ b/superkaramba/src/imagelabel_python.cpp @@ -27,7 +27,7 @@ #endif #include -#include +#include #include "karamba.h" #include "imagelabel.h" #include "meter_python.h" @@ -37,8 +37,8 @@ ImageLabel* createImageLabel(karamba *theme, long x, long y, char* path, bool bg) { - QString file; - //QString fakefile; + TQString file; + //TQString fakefile; /*tmp->setThemePath(theme->themePath);*/ //FIXME: This is an ugly hack to ensure a unique reference @@ -124,8 +124,8 @@ PyObject* py_createTaskIcon(PyObject *, PyObject *args) qWarning("Task not found."); return (long)NULL ; } - //retrieve the QPixmap that represents this image - QPixmap iconPixmap = KWin::icon(currTask->window()); + //retrieve the TQPixmap that represents this image + TQPixmap iconPixmap = KWin::icon(currTask->window()); ImageLabel *tmp = createImageLabel((karamba*)widget, x, y, 0, 0); tmp->setValue(iconPixmap); @@ -326,6 +326,6 @@ PyObject* py_addImageTooltip(PyObject *, PyObject *args) return NULL; if (!checkKarambaAndMeter(widget, meter, "ImageLabel")) return NULL; - ((ImageLabel*)meter)->setTooltip(PyString2QString(t)); + ((ImageLabel*)meter)->setTooltip(PyString2TQString(t)); return Py_BuildValue((char*)"l", 1); } -- cgit v1.2.3