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 /kspread/kspread_style_manager.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 'kspread/kspread_style_manager.cc')
-rw-r--r-- | kspread/kspread_style_manager.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kspread/kspread_style_manager.cc b/kspread/kspread_style_manager.cc index 1d570e95..61ca5711 100644 --- a/kspread/kspread_style_manager.cc +++ b/kspread/kspread_style_manager.cc @@ -244,7 +244,7 @@ void StyleManager::createBuiltinStyles() CustomStyle * StyleManager::style( TQString const & name ) const { - Styles::const_iterator iter( m_styles.tqfind( name ) ); + Styles::const_iterator iter( m_styles.find( name ) ); if ( iter != m_styles.end() ) return iter.data(); @@ -270,7 +270,7 @@ void StyleManager::takeStyle( CustomStyle * style ) ++iter; } - Styles::iterator i( m_styles.tqfind( style->name() ) ); + Styles::iterator i( m_styles.find( style->name() ) ); if ( i != m_styles.end() ) { @@ -322,7 +322,7 @@ void StyleManager::changeName( TQString const & oldName, TQString const & newNam ++iter; } - iter = m_styles.tqfind( oldName ); + iter = m_styles.find( oldName ); if ( iter != end ) { CustomStyle * s = iter.data(); @@ -366,7 +366,7 @@ TQDict<Style> StyleManager::loadOasisAutoStyles( KoOasisStyles& oasisStyles ) if ( it.current()->hasAttributeNS( KoXmlNS::style, "tqparent-style-name" ) ) { TQString parentStyleName = it.current()->attributeNS( KoXmlNS::style, "tqparent-style-name", TQString() ); - if ( m_oasisStyles.tqcontains( parentStyleName ) ) + if ( m_oasisStyles.contains( parentStyleName ) ) { autoStyles[name]->setParent( m_oasisStyles[parentStyleName] ); } |