diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | b6edfe41c9395f2e20784cbf0e630af6426950a3 (patch) | |
tree | 56ed9b871d4296e6c15949c24e16420be1b28697 /lib/kformula/kformulaconfigpage.cc | |
parent | ef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff) | |
download | koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.tar.gz koffice-b6edfe41c9395f2e20784cbf0e630af6426950a3.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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 ) { |