summaryrefslogtreecommitdiffstats
path: root/libkdepim/kcmdesignerfields.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 /libkdepim/kcmdesignerfields.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 'libkdepim/kcmdesignerfields.cpp')
-rw-r--r--libkdepim/kcmdesignerfields.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libkdepim/kcmdesignerfields.cpp b/libkdepim/kcmdesignerfields.cpp
index 10edf6f8b..bc7ddb747 100644
--- a/libkdepim/kcmdesignerfields.cpp
+++ b/libkdepim/kcmdesignerfields.cpp
@@ -60,7 +60,7 @@ class PageItem : public TQCheckListItem
: TQCheckListItem( tqparent, "", TQCheckListItem::CheckBox ),
mPath( path ), mIsActive( false )
{
- mName = path.mid( path.tqfindRev( '/' ) + 1 );
+ mName = path.mid( path.findRev( '/' ) + 1 );
TQWidget *wdg = TQWidgetFactory::create( mPath, 0, 0 );
if ( wdg ) {
@@ -85,7 +85,7 @@ class PageItem : public TQCheckListItem
allowedTypes.insert( "KDatePicker", i18n( "Date" ) );
while ( it.current() ) {
- if ( allowedTypes.tqfind( it.current()->className() ) != allowedTypes.end() ) {
+ if ( allowedTypes.find( it.current()->className() ) != allowedTypes.end() ) {
TQString name = it.current()->name();
if ( name.startsWith( "X_" ) ) {
new TQListViewItem( this, name,
@@ -217,7 +217,7 @@ void KCMDesignerFields::loadActivePages(const TQStringList& ai)
while ( it.current() ) {
if ( it.current()->tqparent() == 0 ) {
PageItem *item = static_cast<PageItem*>( it.current() );
- if ( ai.tqfind( item->name() ) != ai.end() ) {
+ if ( ai.find( item->name() ) != ai.end() ) {
item->setOn( true );
item->setIsActive( true );
}
@@ -361,7 +361,7 @@ void KCMDesignerFields::updatePreview( TQListViewItem *item )
"<tr><td align=\"right\"><b>%7</b></td><td>%8</td></tr>"
"</table></qt>" )
.tqarg( i18n( "Key:" ) )
- .tqarg( item->text( 0 ).tqreplace("X_","X-") )
+ .tqarg( item->text( 0 ).replace("X_","X-") )
.tqarg( i18n( "Type:" ) )
.tqarg( item->text( 1 ) )
.tqarg( i18n( "Classname:" ) )