diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 902ba103f2215bcefa22d62b1c9138aa4b88891c (patch) | |
tree | 63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp | |
parent | 7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff) | |
download | kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.tar.gz kmymoney-902ba103f2215bcefa22d62b1c9138aa4b88891c.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp')
-rw-r--r-- | kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp | 20 |
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(); |