diff options
Diffstat (limited to 'src/mainwidget.cpp')
-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 { |