summaryrefslogtreecommitdiffstats
path: root/superkaramba/src/imagelabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'superkaramba/src/imagelabel.cpp')
-rw-r--r--superkaramba/src/imagelabel.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/superkaramba/src/imagelabel.cpp b/superkaramba/src/imagelabel.cpp
index 5a28a11..ef38ec0 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.tqfind("red", 0 , false))
+ if (c.find("red", 0 , false))
{
channel = 0;
}
- else if (c.tqfind("green", 0, false))
+ else if (c.find("green", 0, false))
{
channel = 1;
}
- else if (c.tqfind("blue", 0, false))
+ else if (c.find("blue", 0, false))
{
channel = 2;
}
@@ -384,7 +384,7 @@ void ImageLabel::mUpdate(TQPainter* p)
bool ImageLabel::click(TQMouseEvent* e)
{
- if (getBoundingBox().tqcontains(e -> x(), e -> y()) && isEnabled())
+ if (getBoundingBox().contains(e -> x(), e -> y()) && isEnabled())
{
TQString program;
if (e -> button() == Qt::LeftButton)
@@ -530,7 +530,7 @@ void ImageLabel::rolloverImage(TQMouseEvent *e)
if (zoomed)
{
- if (!rect_off.tqcontains(e->pos()))
+ if (!rect_off.contains(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.tqcontains(e->pos()))
+ if (rect_off.contains(e->pos()))
{
// rollover the image to the zoomed image
//setValue(fn_roll);