summaryrefslogtreecommitdiffstats
path: root/libkdepim/kcmdesignerfields.cpp
diff options
context:
space:
mode:
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:" ) )