summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/misc_python.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /superkaramba/src/misc_python.cpp
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz
tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'superkaramba/src/misc_python.cpp')
-rw-r--r--superkaramba/src/misc_python.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/superkaramba/src/misc_python.cpp b/superkaramba/src/misc_python.cpp
index 891d53f..933147c 100644
--- a/superkaramba/src/misc_python.cpp
+++ b/superkaramba/src/misc_python.cpp
@@ -167,7 +167,7 @@ long attachClickArea(long widget, long meter, TQString LeftButton, TQString Midd
Meter* currMeter = (Meter*) meter;
// Look if currMeter has an ClickArea attached.
- bool meterAlreadyClickable = currTheme->clickList->containsRef(currMeter);
+ bool meterAlreadyClickable = currTheme->clickList->tqcontainsRef(currMeter);
// if currMeter is of type ImageLabel*
if (ImageLabel* image = dynamic_cast<ImageLabel*>(currMeter))
@@ -471,7 +471,7 @@ long openNamedTheme(char* path, char *name, bool is_sub_theme) {
if( file.exists() )
{
TQCString prettyName(name);
- KarambaApplication* app = (KarambaApplication*)qApp;
+ KarambaApplication* app = (KarambaApplication*)tqApp;
if (!app->themeExists(prettyName))
{
currTheme = new karamba( filename, prettyName, false ,
@@ -507,7 +507,7 @@ PyObject* py_get_incoming_data(PyObject *, PyObject *args)
long widget;
if (!PyArg_ParseTuple(args, (char*)"l:getIncomingData", &widget))
return NULL;
- return Py_BuildValue((char*)"O", QString2PyString(getIncomingData(widget)));
+ return Py_BuildValue((char*)"O", TQString2PyString(getIncomingData(widget)));
}
PyObject* py_set_incoming_data(PyObject *, PyObject *args)
@@ -778,7 +778,7 @@ PyObject* py_get_ip(PyObject *, PyObject *args)
return NULL;
if (!checkKaramba(widget))
return NULL;
- return Py_BuildValue((char*)"O", QString2PyString(getIp(interface)));
+ return Py_BuildValue((char*)"O", TQString2PyString(getIp(interface)));
}
static void management_popup(long widget)