diff options
Diffstat (limited to 'arts/builder/module.cpp')
-rw-r--r-- | arts/builder/module.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arts/builder/module.cpp b/arts/builder/module.cpp index 5432492e..7d9581bf 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.replace( iconname.length() - 4, 3, "png" ); + iconname.tqreplace( iconname.length() - 4, 3, "png" ); delete _pixmap; _pixmap = new TQPixmap(iconloader.loadIcon(iconname, KIcon::User)); if( !_pixmap->height() ) @@ -243,8 +243,8 @@ void Module::drawSegment(TQPainter *p, int cellsize, int segment) mcolor = TQColor(100, 100, 100); mcolorlight = TQColor(160, 160, 160); } - TQColorGroup g( Qt::white, Qt::blue, mcolorlight, mcolor.dark(), mcolor, - Qt::black, Qt::black ); + TQColorGroup g( TQt::white, TQt::blue, mcolorlight, mcolor.dark(), mcolor, + TQt::black, TQt::black ); TQBrush fill( mcolor ); TQPen textpen(TQColor(255, 255, 180), 1); @@ -373,7 +373,7 @@ void Module::drawSegment(TQPainter *p, int cellsize, int segment) if(selected()) { - TQPen pen(Qt::white, 1, Qt::DotLine); + TQPen pen(TQt::white, 1, TQt::DotLine); p->setPen(pen); p->drawLine(0, 0, cellsize - 1, 0); @@ -413,7 +413,7 @@ ModulePort *Module::portAt(int segment, int x, int y) if(port) { TQPoint clickpoint(x, y); - if(port->clickrect.contains(clickpoint)) return port; + if(port->clickrect.tqcontains(clickpoint)) return port; } } return 0; |