summaryrefslogtreecommitdiffstats
path: root/kmymoney2/wizards
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/wizards')
-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
-rw-r--r--kmymoney2/wizards/newuserwizard/knewuserwizard.cpp4
-rw-r--r--kmymoney2/wizards/newuserwizard/knewuserwizard.h2
-rw-r--r--kmymoney2/wizards/newuserwizard/knewuserwizard_p.h14
-rw-r--r--kmymoney2/wizards/wizardpages/accounts.cpp4
-rw-r--r--kmymoney2/wizards/wizardpages/accounts.h2
-rw-r--r--kmymoney2/wizards/wizardpages/currency.cpp4
-rw-r--r--kmymoney2/wizards/wizardpages/currency.h2
-rw-r--r--kmymoney2/wizards/wizardpages/userinfo.cpp4
-rw-r--r--kmymoney2/wizards/wizardpages/userinfo.h2
13 files changed, 46 insertions, 46 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; }
};
diff --git a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
index d8607fc..c1159d9 100644
--- a/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
+++ b/kmymoney2/wizards/newuserwizard/knewuserwizard.cpp
@@ -68,8 +68,8 @@ using namespace NewUserWizard;
static int stepCount;
-NewUserWizard::Wizard::Wizard(TQWidget *tqparent, const char *name, bool modal, WFlags flags) :
- KMyMoneyWizard(tqparent, name, modal, flags),
+NewUserWizard::Wizard::Wizard(TQWidget *parent, const char *name, bool modal, WFlags flags) :
+ KMyMoneyWizard(parent, name, modal, flags),
m_introPage(0)
{
bool isFirstTime = KMyMoneyGlobalSettings::firstTimeRun();
diff --git a/kmymoney2/wizards/newuserwizard/knewuserwizard.h b/kmymoney2/wizards/newuserwizard/knewuserwizard.h
index 25e010f..5de23dd 100644
--- a/kmymoney2/wizards/newuserwizard/knewuserwizard.h
+++ b/kmymoney2/wizards/newuserwizard/knewuserwizard.h
@@ -67,7 +67,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 personal information of the user (e.g. name, address, etc.)
*/
diff --git a/kmymoney2/wizards/newuserwizard/knewuserwizard_p.h b/kmymoney2/wizards/newuserwizard/knewuserwizard_p.h
index ea1910a..ed7036f 100644
--- a/kmymoney2/wizards/newuserwizard/knewuserwizard_p.h
+++ b/kmymoney2/wizards/newuserwizard/knewuserwizard_p.h
@@ -46,7 +46,7 @@ class IntroPage : public KIntroPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- IntroPage(Wizard* tqparent, const char* name = 0);
+ IntroPage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
};
@@ -60,7 +60,7 @@ class GeneralPage : public UserInfo, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- GeneralPage(Wizard* tqparent, const char* name = 0);
+ GeneralPage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
protected slots:
@@ -79,7 +79,7 @@ class CurrencyPage : public Currency, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- CurrencyPage(Wizard* tqparent, const char* name = 0);
+ CurrencyPage(Wizard* parent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
};
@@ -92,7 +92,7 @@ class AccountPage : public KAccountPageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- AccountPage(Wizard* tqparent, const char* name = 0);
+ AccountPage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
@@ -108,7 +108,7 @@ class CategoriesPage : public Accounts, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- CategoriesPage(Wizard* tqparent, const char* name = 0);
+ CategoriesPage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
TQValueList<MyMoneyTemplate> selectedTemplates(void) const;
};
@@ -123,7 +123,7 @@ class PreferencePage : public KPreferencePageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- PreferencePage(Wizard* tqparent, const char* name = 0);
+ PreferencePage(Wizard* parent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
};
@@ -137,7 +137,7 @@ class FilePage : public KFilePageDecl, public WizardPage<Wizard>
Q_OBJECT
TQ_OBJECT
public:
- FilePage(Wizard* tqparent, const char* name = 0);
+ FilePage(Wizard* parent, const char* name = 0);
virtual bool isComplete(void) const;
};
diff --git a/kmymoney2/wizards/wizardpages/accounts.cpp b/kmymoney2/wizards/wizardpages/accounts.cpp
index 21c80ad..cca16d8 100644
--- a/kmymoney2/wizards/wizardpages/accounts.cpp
+++ b/kmymoney2/wizards/wizardpages/accounts.cpp
@@ -31,8 +31,8 @@
#include "accounts.h"
-Accounts::Accounts(TQWidget* tqparent, const char* name) :
- AccountsDecl(tqparent, name)
+Accounts::Accounts(TQWidget* parent, const char* name) :
+ AccountsDecl(parent, name)
{
}
diff --git a/kmymoney2/wizards/wizardpages/accounts.h b/kmymoney2/wizards/wizardpages/accounts.h
index 0c36c31..8e75b5f 100644
--- a/kmymoney2/wizards/wizardpages/accounts.h
+++ b/kmymoney2/wizards/wizardpages/accounts.h
@@ -34,7 +34,7 @@ class Accounts : public AccountsDecl
Q_OBJECT
TQ_OBJECT
public:
- Accounts(TQWidget* tqparent = 0, const char* name = 0);
+ Accounts(TQWidget* parent = 0, const char* name = 0);
private:
};
diff --git a/kmymoney2/wizards/wizardpages/currency.cpp b/kmymoney2/wizards/wizardpages/currency.cpp
index d824f01..cf645ab 100644
--- a/kmymoney2/wizards/wizardpages/currency.cpp
+++ b/kmymoney2/wizards/wizardpages/currency.cpp
@@ -29,8 +29,8 @@
#include "currency.h"
-Currency::Currency(TQWidget* tqparent, const char* name) :
- CurrencyDecl(tqparent, name)
+Currency::Currency(TQWidget* parent, const char* name) :
+ CurrencyDecl(parent, name)
{
m_currencyList->setAllColumnsShowFocus(true);
m_currencyList->setMultiSelection(false);
diff --git a/kmymoney2/wizards/wizardpages/currency.h b/kmymoney2/wizards/wizardpages/currency.h
index d202f35..265059a 100644
--- a/kmymoney2/wizards/wizardpages/currency.h
+++ b/kmymoney2/wizards/wizardpages/currency.h
@@ -37,7 +37,7 @@ class Currency : public CurrencyDecl
Q_OBJECT
TQ_OBJECT
public:
- Currency(TQWidget* tqparent = 0, const char* name = 0);
+ Currency(TQWidget* parent = 0, const char* name = 0);
TQListViewItem* insertCurrency(const MyMoneySecurity& sec);
void selectCurrency(const MyMoneySecurity& sec);
TQString selectedCurrency(void) const;
diff --git a/kmymoney2/wizards/wizardpages/userinfo.cpp b/kmymoney2/wizards/wizardpages/userinfo.cpp
index 01d5e69..5eebf2a 100644
--- a/kmymoney2/wizards/wizardpages/userinfo.cpp
+++ b/kmymoney2/wizards/wizardpages/userinfo.cpp
@@ -30,8 +30,8 @@
#include "userinfo.h"
#include <kmymoney/mymoneypayee.h>
-UserInfo::UserInfo(TQWidget* tqparent, const char* name) :
- UserInfoDecl(tqparent, name)
+UserInfo::UserInfo(TQWidget* parent, const char* name) :
+ UserInfoDecl(parent, name)
{
m_userNameEdit->setFocus();
}
diff --git a/kmymoney2/wizards/wizardpages/userinfo.h b/kmymoney2/wizards/wizardpages/userinfo.h
index 9168bf9..430cad4 100644
--- a/kmymoney2/wizards/wizardpages/userinfo.h
+++ b/kmymoney2/wizards/wizardpages/userinfo.h
@@ -35,7 +35,7 @@ class UserInfo : public UserInfoDecl
Q_OBJECT
TQ_OBJECT
public:
- UserInfo(TQWidget* tqparent = 0, const char* name = 0);
+ UserInfo(TQWidget* parent = 0, const char* name = 0);
MyMoneyPayee user(void) const;
private: