summaryrefslogtreecommitdiffstats
path: root/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp')
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
index 7fe0a70..b4c481b 100644
--- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
+++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp
@@ -76,8 +76,8 @@ namespace NewAccountWizard {
StepFinish
};
};
-NewAccountWizard::Wizard::Wizard(TQWidget *tqparent, const char *name, bool modal, WFlags flags)
- : KMyMoneyWizard(tqparent, name, modal, flags)
+NewAccountWizard::Wizard::Wizard(TQWidget *parent, const char *name, bool modal, WFlags flags)
+ : KMyMoneyWizard(parent, name, modal, flags)
{
setTitle(i18n("KMyMoney New Account Setup"));
addStep(i18n("Institution"));
@@ -1318,15 +1318,15 @@ LoanSchedulePage::LoanSchedulePage(Wizard* wizard, const char* name) :
void LoanSchedulePage::slotCreateCategory(const TQString& name, TQString& id)
{
- MyMoneyAccount acc, tqparent;
+ MyMoneyAccount acc, parent;
acc.setName(name);
if(m_wizard->moneyBorrowed())
- tqparent = MyMoneyFile::instance()->expense();
+ parent = MyMoneyFile::instance()->expense();
else
- tqparent = MyMoneyFile::instance()->income();
+ parent = MyMoneyFile::instance()->income();
- emit m_wizard->createCategory(acc, tqparent);
+ emit m_wizard->createCategory(acc, parent);
// return id
id = acc.id();
@@ -1504,14 +1504,14 @@ void HierarchyPage::enterPage(void)
}
KMyMoneyAccountTreeItem* HierarchyPage::buildAccountTree
- ( KMyMoneyAccountTreeBase* tqparent
+ ( KMyMoneyAccountTreeBase* parent
, const MyMoneyAccount& account
, bool open ) const
{
// Recursively add child accounts to the list
if ( account.accountType() == MyMoneyAccount::Investment)
return NULL;
- KMyMoneyAccountTreeItem* childItem = new KMyMoneyAccountTreeItem( tqparent, account );
+ KMyMoneyAccountTreeItem* childItem = new KMyMoneyAccountTreeItem( parent, account );
if ( open )
childItem->setOpen(true);
for ( TQStringList::ConstIterator it = account.accountList().begin();
@@ -1529,14 +1529,14 @@ KMyMoneyAccountTreeItem* HierarchyPage::buildAccountTree
}
KMyMoneyAccountTreeItem* HierarchyPage::buildAccountTree
- ( KMyMoneyAccountTreeItem* tqparent
+ ( KMyMoneyAccountTreeItem* parent
, const MyMoneyAccount& account
, bool open ) const
{
// Recursively add child accounts to the list
if ( account.accountType() == MyMoneyAccount::Investment)
return NULL;
- KMyMoneyAccountTreeItem* childItem = new KMyMoneyAccountTreeItem( tqparent, account );
+ KMyMoneyAccountTreeItem* childItem = new KMyMoneyAccountTreeItem( parent, account );
if ( open )
childItem->setOpen(true);
for ( TQStringList::ConstIterator it = account.accountList().begin();