summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_doc.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_doc.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_doc.cc')
-rw-r--r--kspread/kspread_doc.cc26
1 files changed, 13 insertions, 13 deletions
diff --git a/kspread/kspread_doc.cc b/kspread/kspread_doc.cc
index 7340feda..0491e630 100644
--- a/kspread/kspread_doc.cc
+++ b/kspread/kspread_doc.cc
@@ -1273,12 +1273,12 @@ void Doc::loadPaper( TQDomElement const & paper )
fright = right.text();
}
//The macro "<sheet>" formerly was typed as "<table>"
- hleft = hleft.tqreplace( "<table>", "<sheet>" );
- hcenter = hcenter.tqreplace( "<table>", "<sheet>" );
- hright = hright.tqreplace( "<table>", "<sheet>" );
- fleft = fleft.tqreplace( "<table>", "<sheet>" );
- fcenter = fcenter.tqreplace( "<table>", "<sheet>" );
- fright = fright.tqreplace( "<table>", "<sheet>" );
+ hleft = hleft.replace( "<table>", "<sheet>" );
+ hcenter = hcenter.replace( "<table>", "<sheet>" );
+ hright = hright.replace( "<table>", "<sheet>" );
+ fleft = fleft.replace( "<table>", "<sheet>" );
+ fcenter = fcenter.replace( "<table>", "<sheet>" );
+ fright = fright.replace( "<table>", "<sheet>" );
TQPtrListIterator<Sheet> it ( map()->sheetList() );
for( ; it.current(); ++it )
@@ -1319,7 +1319,7 @@ void Doc::deregisterPlugin( Plugin * plugin )
bool Doc::docData( TQString const & xmlTag, TQDomElement & data )
{
- SavedDocParts::iterator iter = m_savedDocParts.tqfind( xmlTag );
+ SavedDocParts::iterator iter = m_savedDocParts.find( xmlTag );
if ( iter == m_savedDocParts.end() )
return false;
@@ -2090,18 +2090,18 @@ void Doc::loadOasisAreaName( const TQDomElement& body )
range = Oasis::decodeFormula( range );
- if ( range.tqfind( ':' ) == -1 )
+ if ( range.find( ':' ) == -1 )
{
Point p( range );
- int n = range.tqfind( '!' );
+ int n = range.find( '!' );
if ( n > 0 )
range = range + ":" + range.right( range.length() - n - 1);
kdDebug() << "=> Area: " << range << endl;
}
- if ( range.tqcontains( '!' ) && range[0] == '$' )
+ if ( range.contains( '!' ) && range[0] == '$' )
{
// cut absolute sheet indicator
range.remove( 0, 1 );
@@ -2168,7 +2168,7 @@ void Doc::loadAreaName( const TQDomElement& element )
void Doc::addStringCompletion(const TQString &stringCompletion)
{
- if ( d->listCompletion.items().tqcontains(stringCompletion) == 0 )
+ if ( d->listCompletion.items().contains(stringCompletion) == 0 )
d->listCompletion.addItem( stringCompletion );
}
@@ -2288,7 +2288,7 @@ void Doc::takeSheet( Sheet * sheet )
void Doc::addIgnoreWordAll( const TQString & word)
{
- if( d->spellListIgnoreAll.tqfindIndex( word )==-1)
+ if( d->spellListIgnoreAll.findIndex( word )==-1)
d->spellListIgnoreAll.append( word );
}
@@ -2438,7 +2438,7 @@ void Doc::setUndoRedoLimit(int val)
void Doc::insertPixmapKey( KoPictureKey key )
{
- if ( !d->usedPictures.tqcontains( key ) )
+ if ( !d->usedPictures.contains( key ) )
d->usedPictures.append( key );
}