summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/imagelabel.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/imagelabel.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/imagelabel.cpp')
-rw-r--r--superkaramba/src/imagelabel.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/superkaramba/src/imagelabel.cpp b/superkaramba/src/imagelabel.cpp
index ef38ec0..9c5705c 100644
--- a/superkaramba/src/imagelabel.cpp
+++ b/superkaramba/src/imagelabel.cpp
@@ -86,15 +86,15 @@ ChannelIntensity::ChannelIntensity(ImageLabel* img, float r, TQString c,
ratio = (ratio < -1) ? -1 : ratio;
channel = 0;
- if (c.find("red", 0 , false))
+ if (c.tqfind("red", 0 , false))
{
channel = 0;
}
- else if (c.find("green", 0, false))
+ else if (c.tqfind("green", 0, false))
{
channel = 1;
}
- else if (c.find("blue", 0, false))
+ else if (c.tqfind("blue", 0, false))
{
channel = 2;
}
@@ -384,7 +384,7 @@ void ImageLabel::mUpdate(TQPainter* p)
bool ImageLabel::click(TQMouseEvent* e)
{
- if (getBoundingBox().contains(e -> x(), e -> y()) && isEnabled())
+ if (getBoundingBox().tqcontains(e -> x(), e -> y()) && isEnabled())
{
TQString program;
if (e -> button() == Qt::LeftButton)
@@ -446,7 +446,7 @@ void ImageLabel::parseImages(TQString fn, TQString fn_roll, int _xoff,
{
TQString tmpFile;
#if defined(KDE_3_2)
- if(KIO::NetAccess::download(KURL(path), tmpFile, karambaApp->parentWindow()))
+ if(KIO::NetAccess::download(KURL(path), tmpFile, karambaApp->tqparentWindow()))
#else
if(KIO::NetAccess::download(KURL(path), tmpFile))
#endif
@@ -494,7 +494,7 @@ void ImageLabel::parseImages(TQString fn, TQString fn_roll, int _xoff,
{
TQString tmpFile;
#if defined(KDE_3_2)
- if(KIO::NetAccess::download(KURL(path), tmpFile, karambaApp->parentWindow()))
+ if(KIO::NetAccess::download(KURL(path), tmpFile, karambaApp->tqparentWindow()))
#else
if(KIO::NetAccess::download(KURL(path), tmpFile))
#endif
@@ -530,7 +530,7 @@ void ImageLabel::rolloverImage(TQMouseEvent *e)
if (zoomed)
{
- if (!rect_off.contains(e->pos()))
+ if (!rect_off.tqcontains(e->pos()))
{
// rollover the image to the zoomed image
//setValue(fn_roll);
@@ -545,7 +545,7 @@ void ImageLabel::rolloverImage(TQMouseEvent *e)
}
else
{
- if (rect_off.contains(e->pos()))
+ if (rect_off.tqcontains(e->pos()))
{
// rollover the image to the zoomed image
//setValue(fn_roll);