summaryrefslogtreecommitdiffstats
path: root/kmplot/kmplot/kminmax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmplot/kmplot/kminmax.cpp')
-rw-r--r--kmplot/kmplot/kminmax.cpp38
1 files changed, 19 insertions, 19 deletions
diff --git a/kmplot/kmplot/kminmax.cpp b/kmplot/kmplot/kminmax.cpp
index a67d8f9b..cda39f54 100644
--- a/kmplot/kmplot/kminmax.cpp
+++ b/kmplot/kmplot/kminmax.cpp
@@ -148,7 +148,7 @@ void KMinMax::updateFunctions()
if ( it->f1_mode ) //1st derivative
{
TQString function (it->fstr);
- int i= function.tqfind('(');
+ int i= function.find('(');
function.truncate(i);
function +="\'";
list->insertItem(function );
@@ -156,7 +156,7 @@ void KMinMax::updateFunctions()
if ( it->f2_mode )//2nd derivative
{
TQString function (it->fstr);
- int i= function.tqfind('(');
+ int i= function.find('(');
function.truncate(i);
function +="\'\'";
list->insertItem(function );
@@ -164,7 +164,7 @@ void KMinMax::updateFunctions()
if ( it->integral_mode )//integral
{
TQString function (it->fstr);
- int i= function.tqfind('(');
+ int i= function.find('(');
function.truncate(i);
function = function.upper();
list->insertItem(function );
@@ -177,7 +177,7 @@ void KMinMax::updateFunctions()
else
cmdFind->setEnabled(true);
selectItem();
- TQListBoxItem *found_item = list->tqfindItem(selected_item,TQt::ExactMatch);
+ TQListBoxItem *found_item = list->findItem(selected_item,TQt::ExactMatch);
if ( found_item && m_view->csmode < 0)
list->setSelected(found_item,true);
}
@@ -192,18 +192,18 @@ void KMinMax::selectItem()
TQString function = ufkt->fstr;
if ( m_view->cstype == 2)
{
- int i= function.tqfind('(');
+ int i= function.find('(');
function.truncate(i);
function +="\'\'";
}
else if ( m_view->cstype == 1)
{
- int i= function.tqfind('(');
+ int i= function.find('(');
function.truncate(i);
function +="\'";
}
//kdDebug() << "function: " << function << endl;
- TQListBoxItem *item = list->tqfindItem(function,TQt::ExactMatch);
+ TQListBoxItem *item = list->findItem(function,TQt::ExactMatch);
list->setSelected(item,true);
if ( !ufkt->parameters.isEmpty() )
@@ -258,16 +258,16 @@ void KMinMax::cmdFind_clicked()
TQString function( list->currentText() );
char p_mode = 0;
- if ( function.tqcontains('\'') == 1)
+ if ( function.contains('\'') == 1)
{
p_mode = 1;
- int pos = function.tqfind('\'');
+ int pos = function.find('\'');
function.remove(pos,1);
}
- else if ( function.tqcontains('\'') == 2)
+ else if ( function.contains('\'') == 2)
{
p_mode = 2;
- int pos = function.tqfind('\'');
+ int pos = function.find('\'');
function.remove(pos,2);
}
else if ( function.at(0).category() == TQChar::Letter_Uppercase)
@@ -352,16 +352,16 @@ void KMinMax::list_highlighted(TQListBoxItem* item)
}
TQString function( list->currentText() );
char p_mode = 0;
- if ( function.tqcontains('\'') == 1)
+ if ( function.contains('\'') == 1)
{
p_mode = 1;
- int pos = function.tqfind('\'');
+ int pos = function.find('\'');
function.remove(pos,1);
}
- else if ( function.tqcontains('\'') == 2)
+ else if ( function.contains('\'') == 2)
{
p_mode = 2;
- int pos = function.tqfind('\'');
+ int pos = function.find('\'');
function.remove(pos,2);
}
else if ( function.at(0).category() == TQChar::Letter_Uppercase)
@@ -390,16 +390,16 @@ void KMinMax::cmdParameter_clicked()
{
TQString function( list->currentText() );
char p_mode = 0;
- if ( function.tqcontains('\'') == 1)
+ if ( function.contains('\'') == 1)
{
p_mode = 1;
- int pos = function.tqfind('\'');
+ int pos = function.find('\'');
function.remove(pos,1);
}
- else if ( function.tqcontains('\'') == 2)
+ else if ( function.contains('\'') == 2)
{
p_mode = 2;
- int pos = function.tqfind('\'');
+ int pos = function.find('\'');
function.remove(pos,2);
}
else if ( function.at(0).category() == TQChar::Letter_Uppercase)