From 05cd892aec1d908c2fb517c374babab0ae13cf40 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: [PATCH] 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 --- src/mainwidget.cpp | 8 ++++---- 1 file 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 {