summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kmymoney2/dialogs/knewaccountdlg.cpp2
-rw-r--r--kmymoney2/mymoney/storage/mymoneystoragesql.cpp2
-rw-r--r--kmymoney2/views/kaccountsview.cpp2
-rw-r--r--kmymoney2/views/kbudgetview.cpp4
-rw-r--r--kmymoney2/views/kcategoriesview.cpp2
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp4
-rw-r--r--kmymoney2/views/kinstitutionsview.cpp2
-rw-r--r--kmymoney2/views/kpayeesview.cpp2
-rwxr-xr-xkmymoney2/views/kreportsview.cpp2
-rw-r--r--kmymoney2/views/kscheduledview.cpp2
-rw-r--r--kmymoney2/widgets/kmymoneydatetbl.cpp8
-rw-r--r--kmymoney2/widgets/kmymoneyscheduleddatetbl.cpp8
-rw-r--r--kmymoney2/widgets/kmymoneyscheduleddatetbl.h2
-rw-r--r--kmymoney2/widgets/register.cpp16
-rw-r--r--kmymoney2/widgets/register.h2
-rw-r--r--kmymoney2/widgets/registersearchline.cpp2
16 files changed, 31 insertions, 31 deletions
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp
index fb01aef..d8b0cc7 100644
--- a/kmymoney2/dialogs/knewaccountdlg.cpp
+++ b/kmymoney2/dialogs/knewaccountdlg.cpp
@@ -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)
diff --git a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
index 34c9573..12a4aa3 100644
--- a/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
+++ b/kmymoney2/mymoney/storage/mymoneystoragesql.cpp
@@ -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;
diff --git a/kmymoney2/views/kaccountsview.cpp b/kmymoney2/views/kaccountsview.cpp
index f84bf63..c8cffb5 100644
--- a/kmymoney2/views/kaccountsview.cpp
+++ b/kmymoney2/views/kaccountsview.cpp
@@ -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())
diff --git a/kmymoney2/views/kbudgetview.cpp b/kmymoney2/views/kbudgetview.cpp
index c2bf5dc..9907c09 100644
--- a/kmymoney2/views/kbudgetview.cpp
+++ b/kmymoney2/views/kbudgetview.cpp
@@ -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));
diff --git a/kmymoney2/views/kcategoriesview.cpp b/kmymoney2/views/kcategoriesview.cpp
index 3c31f34..7a6dec4 100644
--- a/kmymoney2/views/kcategoriesview.cpp
+++ b/kmymoney2/views/kcategoriesview.cpp
@@ -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())
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 981f5e1..65cfc7b 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -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);
diff --git a/kmymoney2/views/kinstitutionsview.cpp b/kmymoney2/views/kinstitutionsview.cpp
index 5fd9999..4219851 100644
--- a/kmymoney2/views/kinstitutionsview.cpp
+++ b/kmymoney2/views/kinstitutionsview.cpp
@@ -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");
}
diff --git a/kmymoney2/views/kpayeesview.cpp b/kmymoney2/views/kpayeesview.cpp
index 83c7e8f..31f1fed 100644
--- a/kmymoney2/views/kpayeesview.cpp
+++ b/kmymoney2/views/kpayeesview.cpp
@@ -995,7 +995,7 @@ void KPayeesView::loadPayees(void)
// turn updates back on
m_payeesList->setUpdatesEnabled(true);
- m_payeesList->tqrepaintContents();
+ m_payeesList->repaintContents();
slotSelectPayee();
diff --git a/kmymoney2/views/kreportsview.cpp b/kmymoney2/views/kreportsview.cpp
index 36de4c9..95de9a4 100755
--- a/kmymoney2/views/kreportsview.cpp
+++ b/kmymoney2/views/kreportsview.cpp
@@ -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
diff --git a/kmymoney2/views/kscheduledview.cpp b/kmymoney2/views/kscheduledview.cpp
index 7f6ebe0..b5ee054 100644
--- a/kmymoney2/views/kscheduledview.cpp
+++ b/kmymoney2/views/kscheduledview.cpp
@@ -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);
}
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();