summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kmymoneysplittable.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commit7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (patch)
tree6a288b084438ed144c0fbd4a34a9a22caf4d6b04 /kmymoney2/dialogs/kmymoneysplittable.cpp
parent154e6e6105157c321cbd578d238c525da419f868 (diff)
downloadkmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.tar.gz
kmymoney-7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2.zip
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
Diffstat (limited to 'kmymoney2/dialogs/kmymoneysplittable.cpp')
-rw-r--r--kmymoney2/dialogs/kmymoneysplittable.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/dialogs/kmymoneysplittable.cpp b/kmymoney2/dialogs/kmymoneysplittable.cpp
index d1182ec..61b8d4e 100644
--- a/kmymoney2/dialogs/kmymoneysplittable.cpp
+++ b/kmymoney2/dialogs/kmymoneysplittable.cpp
@@ -136,7 +136,7 @@ void kMyMoneySplitTable::paintCell(TQPainter *p, int row, int col, const TQRect&
TQString qstringCategory;
TQString qstringMemo;
- int intPos = firsttext.tqfind("|");
+ int intPos = firsttext.find("|");
if(intPos > -1)
{
qstringCategory = firsttext.left(intPos);
@@ -199,7 +199,7 @@ void kMyMoneySplitTable::columnWidthChanged(int col)
}
/** Override the TQTable member function to avoid confusion with our own functionality */
-void kMyMoneySplitTable::endEdit(int /*row*/, int /*col*/, bool /*accept*/, bool /*tqreplace*/ )
+void kMyMoneySplitTable::endEdit(int /*row*/, int /*col*/, bool /*accept*/, bool /*replace*/ )
{
}
@@ -735,7 +735,7 @@ void kMyMoneySplitTable::endEdit(bool keyBoardDriven)
fromValue = s1.value().abs();
// if we had a price info in the beginning, we use it here
- if(m_priceInfo.tqfind(cat.currencyId()) != m_priceInfo.end()) {
+ if(m_priceInfo.find(cat.currencyId()) != m_priceInfo.end()) {
toValue = (fromValue * m_priceInfo[cat.currencyId()]).convert(fract);
}
@@ -969,7 +969,7 @@ bool kMyMoneySplitTable::focusNextPrevChild(bool next)
TQWidget *w = 0;
TQWidget *currentWidget;
- m_tabOrderWidgets.tqfind(tqApp->tqfocusWidget());
+ m_tabOrderWidgets.find(tqApp->tqfocusWidget());
currentWidget = m_tabOrderWidgets.current();
w = next ? m_tabOrderWidgets.next() : m_tabOrderWidgets.prev();