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 9047cff95..9d321221c 100644 --- a/korganizer/koincidenceeditor.cpp +++ b/korganizer/koincidenceeditor.cpp @@ -172,12 +172,12 @@ void KOIncidenceEditor::slotLoadTemplate( const TQString& templateName ) if ( fileName.isEmpty() ) { KMessageBox::error( this, i18n("Unable to find template '%1'.") - .arg( fileName ) ); + .tqarg( fileName ) ); } else { ICalFormat format; if ( !format.load( &cal, fileName ) ) { KMessageBox::error( this, i18n("Error loading template file '%1'.") - .arg( fileName ) ); + .tqarg( fileName ) ); return; } } @@ -196,7 +196,7 @@ 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).findRev('/') + 1 ); + const TQString &fn = (*it).mid( (*it).tqfindRev('/') + 1 ); if ( activePages.tqfind( fn ) != activePages.end() ) { addDesignerTab( *it ); } |