diff options
Diffstat (limited to 'korganizer/koincidenceeditor.cpp')
-rw-r--r-- | korganizer/koincidenceeditor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/koincidenceeditor.cpp b/korganizer/koincidenceeditor.cpp index 9d321221c..ec391c9ec 100644 --- a/korganizer/koincidenceeditor.cpp +++ b/korganizer/koincidenceeditor.cpp @@ -196,8 +196,8 @@ void KOIncidenceEditor::setupDesignerTabs( const TQString &type ) TQStringList list = KGlobal::dirs()->findAllResources( "data", "korganizer/designer/" + type + "/*.ui", true, true ); for ( TQStringList::iterator it = list.begin(); it != list.end(); ++it ) { - const TQString &fn = (*it).mid( (*it).tqfindRev('/') + 1 ); - if ( activePages.tqfind( fn ) != activePages.end() ) { + const TQString &fn = (*it).mid( (*it).findRev('/') + 1 ); + if ( activePages.find( fn ) != activePages.end() ) { addDesignerTab( *it ); } } @@ -316,7 +316,7 @@ void KOIncidenceEditor::createEmbeddedURLPages( Incidence *i ) if ( !mAttachedDesignerFields.isEmpty() ) { for ( TQPtrList<TQWidget>::Iterator it = mAttachedDesignerFields.begin(); it != mAttachedDesignerFields.end(); ++it ) { - if ( mDesignerFieldForWidget.tqcontains( *it ) ) { + if ( mDesignerFieldForWidget.contains( *it ) ) { mDesignerFields.remove( mDesignerFieldForWidget[ *it ] ); } } |