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 | 05cd892aec1d908c2fb517c374babab0ae13cf40 (patch) | |
tree | 18c9427513be0ad79d429fc06213551e24c737b9 | |
parent | ea19403948084642ce6fcbec69877d33fc0faaeb (diff) | |
download | potracegui-05cd892aec1d908c2fb517c374babab0ae13cf40.tar.gz potracegui-05cd892aec1d908c2fb517c374babab0ae13cf40.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/potracegui@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
-rw-r--r-- | src/mainwidget.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mainwidget.cpp b/src/mainwidget.cpp index 6863fcb..9cba2de 100644 --- a/src/mainwidget.cpp +++ b/src/mainwidget.cpp @@ -416,7 +416,7 @@ void MainWidget::readOptions() { { //pgm format antialiasGamma->setValue(((**m_currentState)["antialiasGamma"]).toFloat()); //Scale - if(((**m_currentState)["scale"]).tqfind('x')==-1) + if(((**m_currentState)["scale"]).find('x')==-1) { //only one value scaleAll->setValue(((**m_currentState)["scale"]).toFloat()); scaleAllBTN->setChecked(true); @@ -450,7 +450,7 @@ void MainWidget::readOptions() { rotation->setValue(((**m_currentState)["rotation"]).toFloat()); //Resolution - if(((**m_currentState)["resolution"]).tqfind('x')==-1) + if(((**m_currentState)["resolution"]).find('x')==-1) { //only one value resolutionAll->setValue(((**m_currentState)["resolution"]).toFloat()); resolutionAllBTN->setChecked(true); @@ -561,7 +561,7 @@ void MainWidget::getAutotraceOptions( ) { //input output TQString tmp=autotraceOutputFormat->currentText(); - tmp.truncate(tmp.tqfind(" ")); + tmp.truncate(tmp.find(" ")); opt->setValue("outputFormat",tmp); if(autotraceDpiCheckbox->isChecked() && autotraceDpiInput->value()!=0) opt->setValue("dpi",TQString::number(autotraceDpiInput->value())); @@ -750,7 +750,7 @@ TQStringList MainWidget::createPotraceCommandLine( ) { //Margins if((**m_currentState)["margins"]!="0" && (**m_currentState)["margins"]!="0x0x0x0") { - if((**m_currentState)["margins"].tqfind('x')==-1) + if((**m_currentState)["margins"].find('x')==-1) toReturn+="-M"+(**m_currentState)["margins"]+"cm"; else { |