summaryrefslogtreecommitdiffstats
path: root/arts/builder/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'arts/builder/module.cpp')
-rw-r--r--arts/builder/module.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arts/builder/module.cpp b/arts/builder/module.cpp
index 7d9581bf..099f01e7 100644
--- a/arts/builder/module.cpp
+++ b/arts/builder/module.cpp
@@ -128,7 +128,7 @@ void Module::initModule()
_pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User));
if(!_pixmap->height())
{
- iconname.tqreplace( iconname.length() - 4, 3, "png" );
+ iconname.replace( iconname.length() - 4, 3, "png" );
delete _pixmap;
_pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User));
if( !_pixmap->height() )
@@ -413,7 +413,7 @@ ModulePort *Module::portAt(int segment, int x, int y)
if(port)
{
TQPoint clickpoint(x, y);
- if(port->clickrect.tqcontains(clickpoint)) return port;
+ if(port->clickrect.contains(clickpoint)) return port;
}
}
return 0;