diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 7ef01c0f34d9c6732d258154bcd3ba5a88280db9 (patch) | |
tree | 48ff13dab43883d19ecf2272b8ba72a013d5bc57 /arts/builder | |
parent | c05ca496a526b3fc192dbfafe0955e5824b22e08 (diff) | |
download | tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.tar.gz tdemultimedia-7ef01c0f34d9c6732d258154bcd3ba5a88280db9.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdemultimedia@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'arts/builder')
-rw-r--r-- | arts/builder/drawutils.cpp | 2 | ||||
-rw-r--r-- | arts/builder/menumaker.cpp | 4 | ||||
-rw-r--r-- | arts/builder/module.cpp | 4 | ||||
-rw-r--r-- | arts/builder/propertypanel.cpp | 2 | ||||
-rw-r--r-- | arts/builder/qttableview.cpp | 6 | ||||
-rw-r--r-- | arts/builder/structureport.cpp | 2 |
6 files changed, 10 insertions, 10 deletions
diff --git a/arts/builder/drawutils.cpp b/arts/builder/drawutils.cpp index 74dac440..c2c0ef3f 100644 --- a/arts/builder/drawutils.cpp +++ b/arts/builder/drawutils.cpp @@ -26,7 +26,7 @@ TQString DrawUtils::cropText(TQPainter *p, TQString text, int maxlen, int& textw TQString label = text; while(p->fontMetrics().width(label) > maxlen && label.length() > 0) { - int i = label.tqfind('_'); + int i = label.find('_'); if(i != -1) label = label.mid(i+1); diff --git a/arts/builder/menumaker.cpp b/arts/builder/menumaker.cpp index dd08589d..38f28ace 100644 --- a/arts/builder/menumaker.cpp +++ b/arts/builder/menumaker.cpp @@ -148,7 +148,7 @@ TQString MenuMaker::basename(const TQString& name) { TQString result = ""; - int i = name.tqfindRev('/'); + int i = name.findRev('/'); if(i != -1) result = name.left(i); @@ -159,7 +159,7 @@ TQString MenuMaker::basename(const TQString& name) TQString MenuMaker::catname(const TQString& name) { - int i = name.tqfindRev('/'); + int i = name.findRev('/'); if(i >= 0) return name.mid(i+1); 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; diff --git a/arts/builder/propertypanel.cpp b/arts/builder/propertypanel.cpp index 8e543a5f..ed3df208 100644 --- a/arts/builder/propertypanel.cpp +++ b/arts/builder/propertypanel.cpp @@ -156,7 +156,7 @@ void PropertyPanel::setSelectedPort( ModulePort *port ) // select port in combobox - bah, should be easier ;-) portCombo->setCurrentItem( portCombo->listBox()->index( - portCombo->listBox()->tqfindItem( port->description + " (" ) ) ); + portCombo->listBox()->findItem( port->description + " (" ) ) ); } else { diff --git a/arts/builder/qttableview.cpp b/arts/builder/qttableview.cpp index 41c4eb43..bfb5539c 100644 --- a/arts/builder/qttableview.cpp +++ b/arts/builder/qttableview.cpp @@ -1280,7 +1280,7 @@ void QtTableView::paintEvent( TQPaintEvent *e ) TQPainter paint( this ); - if ( !contentsRect().tqcontains( updateR, TRUE ) ) {// update frame ? + if ( !contentsRect().contains( updateR, TRUE ) ) {// update frame ? drawFrame( &paint ); if ( updateR.left() < frameWidth() ) //### updateR.setLeft( frameWidth() ); @@ -1343,7 +1343,7 @@ void QtTableView::paintEvent( TQPaintEvent *e ) matrix.translate( xPos, yPos ); paint.setWorldMatrix( matrix ); if ( testTableFlags(Tbl_clipCellPainting) || - frameWidth() > 0 && !winR.tqcontains( cellR ) ) { //##arnt + frameWidth() > 0 && !winR.contains( cellR ) ) { //##arnt paint.setClipRect( cellUR ); paintCell( &paint, row, col ); paint.setClipping( FALSE ); @@ -1355,7 +1355,7 @@ void QtTableView::paintEvent( TQPaintEvent *e ) #else paint.translate( xPos, yPos ); if ( testTableFlags(Tbl_clipCellPainting) || - frameWidth() > 0 && !winR.tqcontains( cellR ) ) { //##arnt + frameWidth() > 0 && !winR.contains( cellR ) ) { //##arnt paint.setClipRect( cellUR ); paintCell( &paint, row, col ); paint.setClipping( FALSE ); diff --git a/arts/builder/structureport.cpp b/arts/builder/structureport.cpp index 55c15211..e61fa2a9 100644 --- a/arts/builder/structureport.cpp +++ b/arts/builder/structureport.cpp @@ -224,7 +224,7 @@ ModulePort *StructurePort::portAt(int segment, int x, int y) assert(segment == 0); TQPoint clickpoint(x,y); - if(_port->clickrect.tqcontains(clickpoint)) return _port; + if(_port->clickrect.contains(clickpoint)) return _port; return 0; } |