summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views/kgloballedgerview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/views/kgloballedgerview.cpp')
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index b22e219..87f8890 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -77,8 +77,8 @@ public:
TQTimer m_viewPosTimer;
};
-MousePressFilter::MousePressFilter(TQWidget* tqparent, const char* name) :
- TQObject(tqparent, name),
+MousePressFilter::MousePressFilter(TQWidget* parent, const char* name) :
+ TQObject(parent, name),
m_lastMousePressEvent(0),
m_filterActive(true)
{
@@ -94,10 +94,10 @@ void MousePressFilter::setFilterActive(bool state)
m_filterActive = state;
}
-bool MousePressFilter::isChildOf( TQWidget* child, TQWidget *tqparent )
+bool MousePressFilter::isChildOf( TQWidget* child, TQWidget *parent )
{
while(child) {
- if(child == tqparent)
+ if(child == parent)
return true;
// If one of the ancestors is a KPassivePopup then it's as
// if it is a child of our own
@@ -145,8 +145,8 @@ KGlobalLedgerView::Private::Private() :
TQDate KGlobalLedgerView::m_lastPostDate;
-KGlobalLedgerView::KGlobalLedgerView(TQWidget *tqparent, const char *name )
- : KMyMoneyViewBase(tqparent, name, i18n("Ledgers")),
+KGlobalLedgerView::KGlobalLedgerView(TQWidget *parent, const char *name )
+ : KMyMoneyViewBase(parent, name, i18n("Ledgers")),
d(new Private),
m_needReload(false),
m_newAccountLoaded(true),
@@ -944,7 +944,7 @@ bool KGlobalLedgerView::slotSelectAccount(const TQString& id, const TQString& tr
try {
m_account = MyMoneyFile::instance()->account(id);
// if a stock account is selected, we show the
- // the corresponding tqparent (investment) account
+ // the corresponding parent (investment) account
if(m_account.isInvest()) {
m_account = MyMoneyFile::instance()->account(m_account.parentAccountId());
}
@@ -1089,14 +1089,14 @@ TransactionEditor* KGlobalLedgerView::startEdit(const KMyMoneyRegister::Selected
}
// decide, if we edit in the register or in the form
- TransactionEditorContainer* tqparent;
+ TransactionEditorContainer* parent;
if(m_formFrame->isVisible())
- tqparent = m_form;
+ parent = m_form;
else {
- tqparent = m_register;
+ parent = m_register;
}
- editor = item->createEditor(tqparent, list, m_lastPostDate);
+ editor = item->createEditor(parent, list, m_lastPostDate);
// check that we use the same transaction commodity in all selected transactions
// if not, we need to update this in the editor's list. The user can also bail out
@@ -1111,7 +1111,7 @@ TransactionEditor* KGlobalLedgerView::startEdit(const KMyMoneyRegister::Selected
}
if(editor) {
- if(tqparent == m_register) {
+ if(parent == m_register) {
// make sure, the height of the table is correct
m_register->updateRegister(KMyMoneyGlobalSettings::ledgerLens() | !KMyMoneyGlobalSettings::transactionForm());
}
@@ -1131,7 +1131,7 @@ TransactionEditor* KGlobalLedgerView::startEdit(const KMyMoneyRegister::Selected
connect(editor, TQT_SIGNAL(assignNumber(void)), kmymoney2, TQT_SLOT(slotTransactionAssignNumber()));
connect(editor, TQT_SIGNAL(lastPostDateUsed(const TQDate&)), this, TQT_SLOT(slotKeepPostDate(const TQDate&)));
- // create the widgets, place them in the tqparent and load them with data
+ // create the widgets, place them in the parent and load them with data
// setup tab order
m_tabOrderWidgets.clear();
editor->setup(m_tabOrderWidgets, m_account, d->m_action);
@@ -1209,7 +1209,7 @@ bool KGlobalLedgerView::focusNextPrevChild(bool next)
w = tqApp->tqfocusWidget();
while(w && m_tabOrderWidgets.find(w) == -1) {
- // qDebug("'%s' not in list, use tqparent", w->className());
+ // qDebug("'%s' not in list, use parent", w->className());
w = w->parentWidget();
}
// if(w) qDebug("tab order is at '%s'", w->className());