From 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: rename the following methods: tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/mymoney/mymoneystatement.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'kmymoney2/mymoney/mymoneystatement.cpp') diff --git a/kmymoney2/mymoney/mymoneystatement.cpp b/kmymoney2/mymoney/mymoneystatement.cpp index 3756520..14df720 100644 --- a/kmymoney2/mymoney/mymoneystatement.cpp +++ b/kmymoney2/mymoney/mymoneystatement.cpp @@ -142,7 +142,7 @@ bool MyMoneyStatement::read(const TQDomElement& _e) m_accountId = _e.attribute("accountid"); m_skipCategoryMatching = _e.attribute("skipCategoryMatching"); - int i = kAccountTypeTxt.tqfindIndex(_e.attribute("type",kAccountTypeTxt[1])); + int i = kAccountTypeTxt.findIndex(_e.attribute("type",kAccountTypeTxt[1])); if ( i != -1 ) m_eType = static_cast(i); @@ -162,7 +162,7 @@ bool MyMoneyStatement::read(const TQDomElement& _e) t.m_strPayee = c.attribute("payee"); t.m_strBankID = c.attribute("bankid"); t.m_reconcile = static_cast(c.attribute("reconcile").toInt()); - int i = kActionText.tqfindIndex(c.attribute("action",kActionText[1])); + int i = kActionText.findIndex(c.attribute("action",kActionText[1])); if ( i != -1 ) t.m_eAction = static_cast(i); @@ -219,7 +219,7 @@ bool MyMoneyStatement::read(const TQDomElement& _e) bool MyMoneyStatement::isStatementFile(const TQString& _filename) { - // filename is considered a statement file if it tqcontains + // filename is considered a statement file if it contains // the tag "" in the first 20 lines. bool result = false; @@ -230,7 +230,7 @@ bool MyMoneyStatement::isStatementFile(const TQString& _filename) int lineCount = 20; while ( !ts.atEnd() && !result && lineCount != 0) { - if ( ts.readLine().tqcontains("",false) ) + if ( ts.readLine().contains("",false) ) result = true; --lineCount; } -- cgit v1.2.1