summaryrefslogtreecommitdiffstats
path: root/kspread/dialogs/kspread_dlg_formula.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/dialogs/kspread_dlg_formula.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/dialogs/kspread_dlg_formula.cc')
-rw-r--r--kspread/dialogs/kspread_dlg_formula.cc18
1 files changed, 9 insertions, 9 deletions
diff --git a/kspread/dialogs/kspread_dlg_formula.cc b/kspread/dialogs/kspread_dlg_formula.cc
index 0981a4e7..d8d7e9d7 100644
--- a/kspread/dialogs/kspread_dlg_formula.cc
+++ b/kspread/dialogs/kspread_dlg_formula.cc
@@ -224,8 +224,8 @@ FormulaDialog::FormulaDialog( View* tqparent, const char* name,const TQString& f
// Was a function name passed along with the constructor ? Then activate it.
if( !formulaName.isEmpty() )
{
- functions->setCurrentItem( functions->index( functions->tqfindItem( formulaName ) ) );
- slotDoubleClicked( functions->tqfindItem( formulaName ) );
+ functions->setCurrentItem( functions->index( functions->findItem( formulaName ) ) );
+ slotDoubleClicked( functions->findItem( formulaName ) );
}
else
{
@@ -266,7 +266,7 @@ void FormulaDialog::slotSearchText(const TQString &_text)
{
TQString result = listFunct.makeCompletion( _text.upper() );
if( !result.isNull() )
- functions->setCurrentItem( functions->index( functions->tqfindItem( result ) ) );
+ functions->setCurrentItem( functions->index( functions->findItem( result ) ) );
}
bool FormulaDialog::eventFilter( TQObject* obj, TQEvent* ev )
@@ -364,7 +364,7 @@ void FormulaDialog::slotSelectButton()
{
if( functions->currentItem() != -1 )
{
- slotDoubleClicked(functions->tqfindItem(functions->text(functions->currentItem())));
+ slotDoubleClicked(functions->findItem(functions->text(functions->currentItem())));
}
}
@@ -473,10 +473,10 @@ TQString FormulaDialog::createParameter( const TQString& _text, int param )
TQString tmp = _text;
int pos;
int start = 1;
- while( ( pos = tmp.tqfind( '"', start ) ) != -1 )
+ while( ( pos = tmp.find( '"', start ) ) != -1 )
{
if (tmp[pos - 1] != '\\')
- tmp.tqreplace( pos, 1, "\\\"" );
+ tmp.replace( pos, 1, "\\\"" );
else
start = pos + 1;
}
@@ -497,10 +497,10 @@ TQString FormulaDialog::createParameter( const TQString& _text, int param )
TQString tmp = _text;
int pos;
int start = 1;
- while( ( pos = tmp.tqfind( '"', start ) ) != -1 )
+ while( ( pos = tmp.find( '"', start ) ) != -1 )
{
if (tmp[pos - 1] != '\\')
- tmp.tqreplace( pos, 1, "\\\"" );
+ tmp.replace( pos, 1, "\\\"" );
else
start = pos + 1;
}
@@ -712,7 +712,7 @@ void FormulaDialog::slotShowFunction( const TQString& function )
slotActivated( category );
// select the function
- TQListBoxItem* item = functions->tqfindItem( function,
+ TQListBoxItem* item = functions->findItem( function,
TQt::ExactMatch | TQt::CaseSensitive );
if( item ) functions->setCurrentItem( item );