summaryrefslogtreecommitdiffstats
path: root/kmymoney2/wizards/newaccountwizard
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit902ba103f2215bcefa22d62b1c9138aa4b88891c (patch)
tree63ef88424b9be33a31e5a8de61343fb8d7633937 /kmymoney2/wizards/newaccountwizard
parent7e51b6d5ddc01fc3bc69f30bc5d3933a7709dbf2 (diff)
downloadkmymoney-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')
-rw-r--r--kmymoney2/wizards/newaccountwizard/khierarchypagedecl.ui2
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard.cpp20
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard.h6
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h26
4 files changed, 27 insertions, 27 deletions
diff --git a/kmymoney2/wizards/newaccountwizard/khierarchypagedecl.ui b/kmymoney2/wizards/newaccountwizard/khierarchypagedecl.ui
index a68f46a..1380be1 100644
--- a/kmymoney2/wizards/newaccountwizard/khierarchypagedecl.ui
+++ b/kmymoney2/wizards/newaccountwizard/khierarchypagedecl.ui
@@ -32,7 +32,7 @@
<enum>NoFocus</enum>
</property>
<property name="text">
- <string>This page allows you to select the tqparent account.</string>
+ <string>This page allows you to select the parent account.</string>
</property>
</widget>
<widget class="TQLabel">
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();
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.h b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.h
index 158df41..c288d11 100644
--- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard.h
+++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard.h
@@ -69,7 +69,7 @@ class Wizard : public KMyMoneyWizard
Q_OBJECT
TQ_OBJECT
public:
- Wizard(TQWidget* tqparent = 0, const char* name = 0, bool modal = false, WFlags flags = 0);
+ Wizard(TQWidget* parent = 0, const char* name = 0, bool modal = false, WFlags flags = 0);
/**
* Returns the information about the account as entered by
@@ -83,10 +83,10 @@ public:
void setAccount(const MyMoneyAccount& acc);
/**
- * Returns the information about the tqparent account as entered by
+ * Returns the information about the parent account as entered by
* the user.
* @note For now it's either fixed as Asset or Liability. We will provide
- * user selected tqparent accounts later.
+ * user selected parent accounts later.
*/
const MyMoneyAccount& parentAccount(void);
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h b/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
index 2d2e612..9838cff 100644
--- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
+++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
@@ -64,7 +64,7 @@ class InstitutionPage : public KInstitutionPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- InstitutionPage(Wizard* tqparent, const char* name = 0);
+ InstitutionPage(Wizard* parent, const char* name = 0);
~InstitutionPage();
KMyMoneyWizardPage* nextPage(void) const;
@@ -94,7 +94,7 @@ class AccountTypePage : public KAccountTypePageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- AccountTypePage(Wizard* tqparent, const char* name = 0);
+ AccountTypePage(Wizard* parent, const char* name = 0);
virtual bool isComplete(void) const;
KMyMoneyWizardPage* nextPage(void) const;
@@ -128,7 +128,7 @@ class BrokeragePage : public KBrokeragePageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- BrokeragePage(Wizard* tqparent, const char* name = 0);
+ BrokeragePage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
void enterPage(void);
@@ -143,7 +143,7 @@ class CreditCardSchedulePage : public KSchedulePageDecl, public WizardPage<Wizar
Q_OBJECT
TQ_OBJECT
public:
- CreditCardSchedulePage(Wizard* tqparent, const char* name = 0);
+ CreditCardSchedulePage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
void enterPage(void);
@@ -159,7 +159,7 @@ class GeneralLoanInfoPage : public KGeneralLoanInfoPageDecl, public WizardPage<W
Q_OBJECT
TQ_OBJECT
public:
- GeneralLoanInfoPage(Wizard* tqparent, const char* name = 0);
+ GeneralLoanInfoPage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
void enterPage(void);
@@ -184,7 +184,7 @@ class LoanDetailsPage : public KLoanDetailsPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- LoanDetailsPage(Wizard* tqparent, const char* name = 0);
+ LoanDetailsPage(Wizard* parent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
@@ -218,7 +218,7 @@ class LoanPaymentPage : public KLoanPaymentPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- LoanPaymentPage(Wizard* tqparent, const char* name = 0);
+ LoanPaymentPage(Wizard* parent, const char* name = 0);
~LoanPaymentPage();
KMyMoneyWizardPage* nextPage(void) const;
@@ -260,7 +260,7 @@ class LoanSchedulePage : public KLoanSchedulePageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- LoanSchedulePage(Wizard* tqparent, const char* name = 0);
+ LoanSchedulePage(Wizard* parent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
@@ -283,7 +283,7 @@ class LoanPayoutPage : public KLoanPayoutPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- LoanPayoutPage(Wizard* tqparent, const char* name = 0);
+ LoanPayoutPage(Wizard* parent, const char* name = 0);
void enterPage(void);
virtual bool isComplete(void) const;
@@ -304,7 +304,7 @@ class HierarchyPage : public KHierarchyPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- HierarchyPage(Wizard* tqparent, const char* name = 0);
+ HierarchyPage(Wizard* parent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
TQWidget* initialFocusWidget(void) const { return m_qlistviewParentAccounts; }
@@ -312,11 +312,11 @@ public:
private:
KMyMoneyAccountTreeItem* buildAccountTree
- ( KMyMoneyAccountTreeBase* tqparent
+ ( KMyMoneyAccountTreeBase* parent
, const MyMoneyAccount& account
, bool open = false ) const;
KMyMoneyAccountTreeItem* buildAccountTree
- ( KMyMoneyAccountTreeItem* tqparent
+ ( KMyMoneyAccountTreeItem* parent
, const MyMoneyAccount& account
, bool open = false ) const;
MyMoneyAccount m_topAccount; // Last populated top account
@@ -328,7 +328,7 @@ class AccountSummaryPage : public KAccountSummaryPageDecl, public WizardPage<Wiz
Q_OBJECT
TQ_OBJECT
public:
- AccountSummaryPage(Wizard* tqparent, const char* name = 0);
+ AccountSummaryPage(Wizard* parent, const char* name = 0);
void enterPage(void);
TQWidget* initialFocusWidget(void) const { return m_dataList; }
};