summaryrefslogtreecommitdiffstats
path: root/akregator/src/tabwidget.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch)
tree766a8ad7939fcf3eec534184c36bd0e0f80489e2 /akregator/src/tabwidget.cpp
parent469cc56a805bd3d6940d54adbef554877c29853c (diff)
downloadtdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz
tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'akregator/src/tabwidget.cpp')
-rw-r--r--akregator/src/tabwidget.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/akregator/src/tabwidget.cpp b/akregator/src/tabwidget.cpp
index 60ba42b3f..cbd7e737a 100644
--- a/akregator/src/tabwidget.cpp
+++ b/akregator/src/tabwidget.cpp
@@ -218,7 +218,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
newTitle = newTitle.left( newMaxLength-3 ) + "...";
}
- newTitle.tqreplace( '&', "&&" );
+ newTitle.replace( '&', "&&" );
if ( tabLabel( sender ) != newTitle )
changeTab( sender, newTitle );
@@ -235,7 +235,7 @@ void TabWidget::setTitle( const TQString &title , TQWidget* sender)
newTitle = newTitle.left( newMaxLength-3 ) + "...";
}
- newTitle.tqreplace( '&', "&&" );
+ newTitle.replace( '&', "&&" );
if ( newTitle != tabLabel( page( i ) ) )
changeTab( page( i ), newTitle );
}
@@ -298,8 +298,8 @@ void TabWidget::slotCloseTab()
d->currentItem = currentPage();
if (indexOf(d->currentItem) == 0)
return;
- if (d->frames.tqfind(d->currentItem) != NULL)
- removeFrame(d->frames.tqfind(d->currentItem));
+ if (d->frames.find(d->currentItem) != NULL)
+ removeFrame(d->frames.find(d->currentItem));
delete d->currentItem;
d->currentItem = 0;
}
@@ -323,8 +323,8 @@ void TabWidget::initiateDrag(int tab)
void TabWidget::slotCloseRequest(TQWidget* widget)
{
- if (d->frames.tqfind(widget) != NULL)
- removeFrame(d->frames.tqfind(widget));
+ if (d->frames.find(widget) != NULL)
+ removeFrame(d->frames.find(widget));
}
} // namespace Akregator