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
v3.5.13-sru
tpearson 14 years ago
parent fecb0e67b2
commit 6aa61ac2c4

@ -451,7 +451,7 @@ void KNewAccountDlg::timerDone(void)
if(m_parentItem) m_qlistviewParentAccounts->ensureItemVisible(m_parentItem);
// KNewAccountDlgDecl::resizeEvent(0);
m_qlistviewParentAccounts->setColumnWidth(m_qlistviewParentAccounts->nameColumn(), m_qlistviewParentAccounts->visibleWidth());
m_qlistviewParentAccounts->tqrepaintContents(false);
m_qlistviewParentAccounts->repaintContents(false);
}
void KNewAccountDlg::setOpeningBalance(const MyMoneyMoney& balance)

@ -916,7 +916,7 @@ bool MyMoneyStorageSql::endCommitUnit (const TQString& callingFunction) {
DBG("*** Entering MyMoneyStorageSql::endCommitUnit");
// for now, we don't know if there were any changes made to the data so
// we expect the data to have changed. This assumption causes some unnecessary
// tqrepaints of the UI here and there, but for now it's ok. If we can determine
// repaints of the UI here and there, but for now it's ok. If we can determine
// that the commit() really changes the data, we can return that information
// as value of this method.
bool rc = true;

@ -407,7 +407,7 @@ void KAccountsView::loadListView(void)
// turn updates back on
m_accountTree->setUpdatesEnabled(true);
m_accountTree->tqrepaintContents();
m_accountTree->repaintContents();
// and in case we need to show things expanded, we'll do so
if(KMyMoneyGlobalSettings::showAccountsExpanded())

@ -266,7 +266,7 @@ void KBudgetView::loadBudgets(void)
// turn updates back on
m_budgetList->setUpdatesEnabled(true);
m_budgetList->tqrepaintContents();
m_budgetList->repaintContents();
// reset the status of the buttons
m_updateButton->setEnabled(false);
@ -403,7 +403,7 @@ void KBudgetView::loadAccounts(void)
// turn updates back on
m_accountTree->setUpdatesEnabled(true);
m_accountTree->tqrepaintContents();
m_accountTree->repaintContents();
m_updateButton->setEnabled(!(selectedBudget() == m_budget));
m_resetButton->setEnabled(!(selectedBudget() == m_budget));

@ -217,7 +217,7 @@ void KCategoriesView::loadAccounts(void)
// turn updates back on
m_accountTree->setUpdatesEnabled(true);
m_accountTree->tqrepaintContents();
m_accountTree->repaintContents();
// and in case we need to show things expanded, we'll do so
if(KMyMoneyGlobalSettings::showAccountsExpanded())

@ -789,7 +789,7 @@ void KGlobalLedgerView::slotUpdateViewPos(void)
m_register->updateContents();
} else {
m_register->setContentsPos(d->m_startPoint.x(), d->m_startPoint.y());
m_register->tqrepaintContents();
m_register->repaintContents();
}
d->m_inLoading = false;
}
@ -879,7 +879,7 @@ void KGlobalLedgerView::slotSelectAllTransactions(void)
}
p = p->nextItem();
}
m_register->tqrepaintItems();
m_register->repaintItems();
// inform everyone else about the selected items
KMyMoneyRegister::SelectedTransactions list(m_register);

@ -194,7 +194,7 @@ void KInstitutionsView::loadAccounts(void)
// turn updates back on
m_accountTree->setUpdatesEnabled(true);
m_accountTree->tqrepaintContents();
m_accountTree->repaintContents();
::timetrace("done load institutions view");
}

@ -995,7 +995,7 @@ void KPayeesView::loadPayees(void)
// turn updates back on
m_payeesList->setUpdatesEnabled(true);
m_payeesList->tqrepaintContents();
m_payeesList->repaintContents();
slotSelectPayee();

@ -504,7 +504,7 @@ void KReportsView::loadView(void)
// turn updates back on
m_reportListView->setUpdatesEnabled(true);
m_reportListView->tqrepaintContents();
m_reportListView->repaintContents();
//
// Go through the tabs to set their update flag or delete them if needed

@ -275,7 +275,7 @@ void KScheduledView::slotTimerDone(void)
// force a tqrepaint of all items to update the branches
for(item = m_qlistviewScheduled->firstChild(); item != 0; item = item->itemBelow()) {
m_qlistviewScheduled->tqrepaintItem(item);
m_qlistviewScheduled->repaintItem(item);
}
resize(width(), height()+1);
}

@ -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 );
}

@ -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"

@ -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&);

@ -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();
}

@ -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; }

@ -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();

Loading…
Cancel
Save