summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_style.cc
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitb6edfe41c9395f2e20784cbf0e630af6426950a3 (patch)
tree56ed9b871d4296e6c15949c24e16420be1b28697 /kspread/kspread_style.cc
parentef39e8e4178a8f98cf5f154916ba0f03e4855206 (diff)
downloadkoffice-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.cc')
-rw-r--r--kspread/kspread_style.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/kspread/kspread_style.cc b/kspread/kspread_style.cc
index ef3b91588..e1bbbf52d 100644
--- a/kspread/kspread_style.cc
+++ b/kspread/kspread_style.cc
@@ -207,7 +207,7 @@ void Style::loadOasisDataStyle( KoOasisStyles& oasisStyles, const TQDomElement&
// kdDebug()<< " oasisStyles.dataFormats()[...] suffix :"<< oasisStyles.dataFormats()[element.attributeNS( KoXmlNS::style, "data-style-name" , TQString())].suffix<<endl;
const TQString styleName = element.attributeNS( KoXmlNS::style, "data-style-name", TQString() );
- if ( oasisStyles.dataFormats().tqcontains(styleName) )
+ if ( oasisStyles.dataFormats().contains(styleName) )
{
const KoOasisStyles::NumericStyleFormat dataStyle = oasisStyles.dataFormats()[styleName];
@@ -571,16 +571,16 @@ void Style::loadOasisTextProperties( KoOasisStyles& oasisStyles, const KoStyleSt
static TQString convertDateFormat( const TQString& date )
{
TQString result = date;
- result.tqreplace( "%Y", "yyyy" );
- result.tqreplace( "%y", "yy" );
- result.tqreplace( "%n", "M" );
- result.tqreplace( "%m", "MM" );
- result.tqreplace( "%e", "d" );
- result.tqreplace( "%d", "dd" );
- result.tqreplace( "%b", "MMM" );
- result.tqreplace( "%B", "MMMM" );
- result.tqreplace( "%a", "ddd" );
- result.tqreplace( "%A", "dddd" );
+ result.replace( "%Y", "yyyy" );
+ result.replace( "%y", "yy" );
+ result.replace( "%n", "M" );
+ result.replace( "%m", "MM" );
+ result.replace( "%e", "d" );
+ result.replace( "%d", "dd" );
+ result.replace( "%b", "MMM" );
+ result.replace( "%B", "MMMM" );
+ result.replace( "%a", "ddd" );
+ result.replace( "%A", "dddd" );
return result;
}
@@ -2674,7 +2674,7 @@ TQString Style::colorName( const TQColor& color )
TQRgb rgb = color.rgb();
- if (!map.tqcontains( rgb ))
+ if (!map.contains( rgb ))
{
map[rgb] = color.name();
return map[rgb];