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/dialogs/knewaccountdlg.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/dialogs/knewaccountdlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/knewaccountdlg.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kmymoney2/dialogs/knewaccountdlg.cpp b/kmymoney2/dialogs/knewaccountdlg.cpp index 529fbf8..2f2748b 100644 --- a/kmymoney2/dialogs/knewaccountdlg.cpp +++ b/kmymoney2/dialogs/knewaccountdlg.cpp @@ -88,8 +88,8 @@ #define KMM_KDCHART_PROPSET_NORMAL_DATA KDCHART_PROPSET_NORMAL_DATA #endif -KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *tqparent, const char *name, const TQString& title) - : KNewAccountDlgDecl(tqparent,name,true), +KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bool categoryEditor, TQWidget *parent, const char *name, const TQString& title) + : KNewAccountDlgDecl(parent,name,true), m_account(account), m_bSelectedParentAccount(false), m_categoryEditor(categoryEditor), @@ -393,7 +393,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo m_vatCategory->setChecked(false); m_vatAssignment->setChecked(false); - // make sure our account does not have an id and no tqparent assigned + // make sure our account does not have an id and no parent assigned // and certainly no tqchildren in case we create a new account if(!m_isEditing) { m_account.clearId(); @@ -403,7 +403,7 @@ KNewAccountDlg::KNewAccountDlg(const MyMoneyAccount& account, bool isEditing, bo m_account.removeAccountId(*it); if(m_parentItem == 0) { - // force loading of initial tqparent + // force loading of initial parent m_account.setAccountType(MyMoneyAccount::UnknownAccountType); MyMoneyAccount::_accountTypeE type = account.accountType(); if(type == MyMoneyAccount::UnknownAccountType) @@ -476,10 +476,10 @@ void KNewAccountDlg::okClicked() return; } - MyMoneyAccount tqparent = parentAccount(); - if (tqparent.name().length() == 0) + MyMoneyAccount parent = parentAccount(); + if (parent.name().length() == 0) { - KMessageBox::error(this, i18n("Please select a tqparent account.")); + KMessageBox::error(this, i18n("Please select a parent account.")); return; } @@ -538,10 +538,10 @@ void KNewAccountDlg::okClicked() if (!m_categoryEditor) { acctype = KMyMoneyUtils::stringToAccountType(typeCombo->currentText()); - // If it's a loan, check if the tqparent is asset or liability. In + // If it's a loan, check if the parent is asset or liability. In // case of asset, we change the account type to be AssetLoan if(acctype == MyMoneyAccount::Loan - && tqparent.accountGroup() == MyMoneyAccount::Asset) + && parent.accountGroup() == MyMoneyAccount::Asset) acctype = MyMoneyAccount::AssetLoan; #if 0 @@ -556,10 +556,10 @@ void KNewAccountDlg::okClicked() } else { - acctype = tqparent.accountGroup(); + acctype = parent.accountGroup(); TQString newName; - if(!MyMoneyFile::instance()->isStandardAccount(tqparent.id())) { - newName = MyMoneyFile::instance()->accountToCategory(tqparent.id()) + MyMoneyFile::AccountSeperator; + if(!MyMoneyFile::instance()->isStandardAccount(parent.id())) { + newName = MyMoneyFile::instance()->accountToCategory(parent.id()) + MyMoneyFile::AccountSeperator; } newName += accountNameText; if(!file->categoryToAccount(newName, acctype).isEmpty() @@ -723,7 +723,7 @@ void KNewAccountDlg::initParentWidget(TQString parentId, const TQString& account m_parentItem = 0; m_accountItem = 0; - // Determine the tqparent account + // Determine the parent account try { m_parentAccount = file->account(parentId); @@ -748,7 +748,7 @@ void KNewAccountDlg::initParentWidget(TQString parentId, const TQString& account m_qlistviewParentAccounts->clear(); - // Now scan all 4 account roots to load the list and mark the tqparent + // Now scan all 4 account roots to load the list and mark the parent try { if (!m_categoryEditor) |