diff options
Diffstat (limited to 'lib/kformula/kformulaconfigpage.cc')
-rw-r--r-- | lib/kformula/kformulaconfigpage.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kformula/kformulaconfigpage.cc b/lib/kformula/kformulaconfigpage.cc index 143ce49d..add9c840 100644 --- a/lib/kformula/kformulaconfigpage.cc +++ b/lib/kformula/kformulaconfigpage.cc @@ -451,7 +451,7 @@ void ConfigurePage::slotChanged() // TQValueVector<TQString>::iterator MathFontsConfigurePage::findUsedFont( TQString name ) // { -// return std::tqfind( usedFontList.begin(), usedFontList.end(), name ); +// return std::find( usedFontList.begin(), usedFontList.end(), name ); // } // void MathFontsConfigurePage::setupLists( const TQStringList& usedFonts ) @@ -463,7 +463,7 @@ void ConfigurePage::slotChanged() // // symbolTable.findAvailableFonts( &fontMap ); // for ( TQStringList::const_iterator it = usedFonts.begin(); it != usedFonts.end(); ++it ) { -// TQMap<TQString, TQString>::iterator font = fontMap.tqfind( *it ); +// TQMap<TQString, TQString>::iterator font = fontMap.find( *it ); // if ( font != fontMap.end() ) { // fontMap.erase( font ); // new UsedFontItem( this, requestedFonts, *it ); @@ -493,7 +493,7 @@ void ConfigurePage::slotChanged() // TQListViewItem* fontItem = requestedFonts->selectedItem(); // if ( fontItem ) { // TQString fontName = fontItem->text( 0 ); -// TQValueVector<TQString>::iterator it = std::tqfind( usedFontList.begin(), usedFontList.end(), fontName ); +// TQValueVector<TQString>::iterator it = std::find( usedFontList.begin(), usedFontList.end(), fontName ); // if ( it != usedFontList.end() ) { // usedFontList.erase( it ); // } @@ -508,7 +508,7 @@ void ConfigurePage::slotChanged() // TQListViewItem* fontItem = requestedFonts->selectedItem(); // if ( fontItem ) { // TQString fontName = fontItem->text( 0 ); -// TQValueVector<TQString>::iterator it = std::tqfind( usedFontList.begin(), usedFontList.end(), fontName ); +// TQValueVector<TQString>::iterator it = std::find( usedFontList.begin(), usedFontList.end(), fontName ); // if ( it != usedFontList.end() ) { // uint pos = it - usedFontList.begin(); // if ( pos > 0 ) { @@ -525,7 +525,7 @@ void ConfigurePage::slotChanged() // TQListViewItem* fontItem = requestedFonts->selectedItem(); // if ( fontItem ) { // TQString fontName = fontItem->text( 0 ); -// TQValueVector<TQString>::iterator it = std::tqfind( usedFontList.begin(), usedFontList.end(), fontName ); +// TQValueVector<TQString>::iterator it = std::find( usedFontList.begin(), usedFontList.end(), fontName ); // if ( it != usedFontList.end() ) { // uint pos = it - usedFontList.begin(); // if ( pos < usedFontList.size()-1 ) { |