summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/register.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-07 21:14:06 +0000
commit6aa61ac2c4eb5a0c0882b2255a9dd6789a428bc7 (patch)
tree746f5ab2fbbaf06e7d3293765051a33690f30759 /kmymoney2/widgets/register.cpp
parentfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (diff)
downloadkmymoney-6aa61ac2c4eb5a0c0882b2255a9dd6789a428bc7.tar.gz
kmymoney-6aa61ac2c4eb5a0c0882b2255a9dd6789a428bc7.zip
Rename incorrect instances of tqrepaint[...] to repaint[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1240369 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/widgets/register.cpp')
-rw-r--r--kmymoney2/widgets/register.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kmymoney2/widgets/register.cpp b/kmymoney2/widgets/register.cpp
index 0494d51..79293e1 100644
--- a/kmymoney2/widgets/register.cpp
+++ b/kmymoney2/widgets/register.cpp
@@ -1203,7 +1203,7 @@ void Register::focusInEvent(TQFocusEvent* ev)
TQTable::focusInEvent(ev);
if(m_focusItem) {
m_focusItem->setFocus(true, false);
- tqrepaintItems(m_focusItem);
+ repaintItems(m_focusItem);
}
}
@@ -1211,7 +1211,7 @@ void Register::focusOutEvent(TQFocusEvent* ev)
{
if(m_focusItem) {
m_focusItem->setFocus(false, false);
- tqrepaintItems(m_focusItem);
+ repaintItems(m_focusItem);
}
TQTable::focusOutEvent(ev);
}
@@ -1402,7 +1402,7 @@ void Register::adjustColumn(int col)
#endif
}
-void Register::tqrepaintItems(RegisterItem* first, RegisterItem* last)
+void Register::repaintItems(RegisterItem* first, RegisterItem* last)
{
if(first == 0 && last == 0) {
first = firstItem();
@@ -1415,7 +1415,7 @@ void Register::tqrepaintItems(RegisterItem* first, RegisterItem* last)
if(last == 0)
last = first;
- // qDebug("tqrepaintItems from row %d to row %d", first->startRow(), last->startRow()+last->numRowsRegister()-1);
+ // qDebug("repaintItems from row %d to row %d", first->startRow(), last->startRow()+last->numRowsRegister()-1);
// the following code is based on code I found in
// TQTable::cellGeometry() and TQTable::updateCell() (ipwizard)
@@ -1477,7 +1477,7 @@ void Register::doSelectItems(int from, int to, bool selected)
// anything changed?
if(firstItem || lastItem)
- tqrepaintItems(firstItem, lastItem);
+ repaintItems(firstItem, lastItem);
}
RegisterItem* Register::itemAtRow(int row) const
@@ -1618,7 +1618,7 @@ bool Register::setFocusItem(RegisterItem* focusItem)
m_focusItem->setFocus(false);
// issue a tqrepaint here only if we move the focus
if(m_focusItem != focusItem)
- tqrepaintItems(m_focusItem);
+ repaintItems(m_focusItem);
}
Transaction* item = dynamic_cast<Transaction*>(focusItem);
if(m_focusItem != focusItem && item) {
@@ -1630,7 +1630,7 @@ bool Register::setFocusItem(RegisterItem* focusItem)
if(m_listsDirty)
updateRegister(KMyMoneyGlobalSettings::ledgerLens() | !KMyMoneyGlobalSettings::transactionForm());
ensureItemVisible(m_focusItem);
- tqrepaintItems(m_focusItem);
+ repaintItems(m_focusItem);
return true;
} else
return false;
@@ -1980,7 +1980,7 @@ void Register::slotToggleErronousTransactions(void)
KMyMoneyRegister::RegisterItem* p = m_firstErronous;
while(p && p->prevItem() != m_lastErronous) {
if(p->isErronous())
- tqrepaintItems(p);
+ repaintItems(p);
p = p->nextItem();
}