diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-07 21:14:06 +0000 |
commit | 6aa61ac2c4eb5a0c0882b2255a9dd6789a428bc7 (patch) | |
tree | 746f5ab2fbbaf06e7d3293765051a33690f30759 /kmymoney2/widgets | |
parent | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (diff) | |
download | kmymoney-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')
-rw-r--r-- | kmymoney2/widgets/kmymoneydatetbl.cpp | 8 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp | 8 | ||||
-rw-r--r-- | kmymoney2/widgets/kmymoneyscheduleddatetbl.h | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/register.cpp | 16 | ||||
-rw-r--r-- | kmymoney2/widgets/register.h | 2 | ||||
-rw-r--r-- | kmymoney2/widgets/registersearchline.cpp | 2 |
6 files changed, 19 insertions, 19 deletions
diff --git a/kmymoney2/widgets/kmymoneydatetbl.cpp b/kmymoney2/widgets/kmymoneydatetbl.cpp index 08a44e6..1066fc7 100644 --- a/kmymoney2/widgets/kmymoneydatetbl.cpp +++ b/kmymoney2/widgets/kmymoneydatetbl.cpp @@ -490,7 +490,7 @@ kMyMoneyDateTbl::setDate(const TQDate& date_) if (changed) { - tqrepaintContents(false); + repaintContents(false); } emit(dateChanged(date)); @@ -503,16 +503,16 @@ kMyMoneyDateTbl::getDate() const return date; } -// what are those tqrepaintContents() good for? (pfeiffer) +// what are those repaintContents() good for? (pfeiffer) void kMyMoneyDateTbl::focusInEvent( TQFocusEvent *e ) { -// tqrepaintContents(false); +// repaintContents(false); TQGridView::focusInEvent( e ); } void kMyMoneyDateTbl::focusOutEvent( TQFocusEvent *e ) { -// tqrepaintContents(false); +// repaintContents(false); TQGridView::focusOutEvent( e ); } diff --git a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp index 6490b7f..569f873 100644 --- a/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp +++ b/kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp @@ -359,7 +359,7 @@ void kMyMoneyScheduledDateTbl::addDayPostfix(TQString& text) void kMyMoneyScheduledDateTbl::refresh() { - tqrepaintContents(false); + repaintContents(false); } void kMyMoneyScheduledDateTbl::contentsMouseMoveEvent(TQMouseEvent* e) @@ -512,19 +512,19 @@ void kMyMoneyScheduledDateTbl::contentsMouseMoveEvent(TQMouseEvent* e) void kMyMoneyScheduledDateTbl::filterBills(bool enable) { m_filterBills = enable; - tqrepaintContents(false); + repaintContents(false); } void kMyMoneyScheduledDateTbl::filterDeposits(bool enable) { m_filterDeposits = enable; - tqrepaintContents(false); + repaintContents(false); } void kMyMoneyScheduledDateTbl::filterTransfers(bool enable) { m_filterTransfers = enable; - tqrepaintContents(false); + repaintContents(false); } #include "kmymoneyscheduleddatetbl.moc" diff --git a/kmymoney2/widgets/kmymoneyscheduleddatetbl.h b/kmymoney2/widgets/kmymoneyscheduleddatetbl.h index e04097a..9e3e102 100644 --- a/kmymoney2/widgets/kmymoneyscheduleddatetbl.h +++ b/kmymoney2/widgets/kmymoneyscheduleddatetbl.h @@ -54,7 +54,7 @@ public: void filterBills(bool enable); void filterDeposits(bool enable); void filterTransfers(bool enable); - void setFilterAccounts(const TQStringList& list) { m_filterAccounts = list; tqrepaintContents(false); } + void setFilterAccounts(const TQStringList& list) { m_filterAccounts = list; repaintContents(false); } signals: void enterClicked(const MyMoneySchedule&, const TQDate&); 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(); } diff --git a/kmymoney2/widgets/register.h b/kmymoney2/widgets/register.h index bc59ff6..a244c85 100644 --- a/kmymoney2/widgets/register.h +++ b/kmymoney2/widgets/register.h @@ -429,7 +429,7 @@ public: const MyMoneyAccount& account(void) const { return m_account; } - void tqrepaintItems(RegisterItem* first = 0, RegisterItem* last = 0); + void repaintItems(RegisterItem* first = 0, RegisterItem* last = 0); unsigned int drawCounter(void) const { return m_drawCounter; } diff --git a/kmymoney2/widgets/registersearchline.cpp b/kmymoney2/widgets/registersearchline.cpp index 6acace3..f130f68 100644 --- a/kmymoney2/widgets/registersearchline.cpp +++ b/kmymoney2/widgets/registersearchline.cpp @@ -167,7 +167,7 @@ void RegisterSearchLine::updateSearch(const TQString& s) d->reg->updateContents(); d->reg->ensureItemVisible(focusItem); } else - d->reg->tqrepaintContents(); + d->reg->repaintContents(); d->reg->updateScrollBars(); |