diff options
Diffstat (limited to 'tqtinterface/qt4/tools/designer/designer/sourcefile.cpp')
-rw-r--r-- | tqtinterface/qt4/tools/designer/designer/sourcefile.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tqtinterface/qt4/tools/designer/designer/sourcefile.cpp b/tqtinterface/qt4/tools/designer/designer/sourcefile.cpp index 747822f..79a7353 100644 --- a/tqtinterface/qt4/tools/designer/designer/sourcefile.cpp +++ b/tqtinterface/qt4/tools/designer/designer/sourcefile.cpp @@ -191,10 +191,10 @@ TQString SourceFile::createUnnamedFileName( const TQString &extension ) extensionCounter = new TQMap<TQString, int>; int count = -1; TQMap<TQString, int>::Iterator it; - if ( ( it = extensionCounter->tqfind( extension ) ) != extensionCounter->end() ) { + if ( ( it = extensionCounter->find( extension ) ) != extensionCounter->end() ) { count = *it; ++count; - extensionCounter->tqreplace( extension, count ); + extensionCounter->replace( extension, count ); } else { count = 1; extensionCounter->insert( extension, count ); @@ -279,10 +279,10 @@ void SourceFile::checkTimeStamp() bool SourceFile::checkFileName( bool allowBreak ) { - SourceFile *sf = pro->tqfindSourceFile( filename, this ); + SourceFile *sf = pro->findSourceFile( filename, this ); if ( sf ) TQMessageBox::warning( MainWindow::self, tr( "Invalid Filename" ), - tr( "The project already tqcontains a source file with \n" + tr( "The project already contains a source file with \n" "filename '%1'. Please choose a new filename." ).arg( filename ) ); while ( sf ) { LanguageInterface *iface = MetaDataBase::languageInterface( pro->language() ); @@ -296,7 +296,7 @@ bool SourceFile::checkFileName( bool allowBreak ) return FALSE; } filename = pro->makeRelative( fn ); - sf = pro->tqfindSourceFile( filename, this ); + sf = pro->findSourceFile( filename, this ); } return TRUE; } |