summaryrefslogtreecommitdiffstats
path: root/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h')
-rw-r--r--kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h77
1 files changed, 44 insertions, 33 deletions
diff --git a/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h b/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
index b8a7cb1..18af5f2 100644
--- a/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
+++ b/kmymoney2/wizards/newaccountwizard/knewaccountwizard_p.h
@@ -21,7 +21,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qcheckbox.h>
+#include <tqcheckbox.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -62,12 +62,13 @@ namespace NewAccountWizard {
class InstitutionPage : public KInstitutionPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- InstitutionPage(Wizard* parent, const char* name = 0);
+ InstitutionPage(Wizard* tqparent, const char* name = 0);
~InstitutionPage();
KMyMoneyWizardPage* nextPage(void) const;
- QWidget* initialFocusWidget(void) const { return m_institutionComboBox; }
+ TQWidget* initialFocusWidget(void) const { return m_institutionComboBox; }
/**
* Returns the information about an institution if entered by
@@ -91,15 +92,16 @@ private:
class AccountTypePage : public KAccountTypePageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- AccountTypePage(Wizard* parent, const char* name = 0);
+ AccountTypePage(Wizard* tqparent, const char* name = 0);
virtual bool isComplete(void) const;
KMyMoneyWizardPage* nextPage(void) const;
- QWidget* initialFocusWidget(void) const { return m_accountName; }
+ TQWidget* initialFocusWidget(void) const { return m_accountName; }
MyMoneyAccount::accountTypeE accountType(void) const;
- const MyMoneyAccount& parentAccount(void);
+ const MyMoneyAccount& tqparentAccount(void);
bool allowsParentAccount(void) const;
const MyMoneySecurity& currency(void) const;
@@ -113,7 +115,7 @@ private slots:
void slotLoadWidgets(void);
void slotUpdateType(int i);
void slotUpdateCurrency(void);
- void slotUpdateConversionRate(const QString&);
+ void slotUpdateConversionRate(const TQString&);
void slotGetOnlineQuote(void);
void slotPriceWarning(void);
@@ -124,12 +126,13 @@ private:
class BrokeragePage : public KBrokeragePageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- BrokeragePage(Wizard* parent, const char* name = 0);
+ BrokeragePage(Wizard* tqparent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
void enterPage(void);
- QWidget* initialFocusWidget(void) const { return m_createBrokerageButton; }
+ TQWidget* initialFocusWidget(void) const { return m_createBrokerageButton; }
private slots:
void slotLoadWidgets(void);
@@ -138,13 +141,14 @@ private slots:
class CreditCardSchedulePage : public KSchedulePageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- CreditCardSchedulePage(Wizard* parent, const char* name = 0);
+ CreditCardSchedulePage(Wizard* tqparent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
void enterPage(void);
- QWidget* initialFocusWidget(void) const { return m_reminderCheckBox; }
+ TQWidget* initialFocusWidget(void) const { return m_reminderCheckBox; }
private slots:
void slotLoadWidgets(void);
@@ -153,14 +157,15 @@ private slots:
class GeneralLoanInfoPage : public KGeneralLoanInfoPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- GeneralLoanInfoPage(Wizard* parent, const char* name = 0);
+ GeneralLoanInfoPage(Wizard* tqparent, const char* name = 0);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
void enterPage(void);
- const MyMoneyAccount& parentAccount(void);
+ const MyMoneyAccount& tqparentAccount(void);
- QWidget* initialFocusWidget(void) const { return m_loanDirection; }
+ TQWidget* initialFocusWidget(void) const { return m_loanDirection; }
/**
* Returns @p true if the user decided to record all payments, @p false otherwise.
@@ -177,13 +182,14 @@ private:
class LoanDetailsPage : public KLoanDetailsPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- LoanDetailsPage(Wizard* parent, const char* name = 0);
+ LoanDetailsPage(Wizard* tqparent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
virtual bool isComplete(void) const;
- QWidget* initialFocusWidget(void) const { return m_paymentDue; }
+ TQWidget* initialFocusWidget(void) const { return m_paymentDue; }
/**
* This method returns the number of payments depending on
@@ -197,7 +203,7 @@ private:
* according to the length of the given @a term.
* The term is also converted into a string and returned.
*/
- QString updateTermWidgets(const long double term);
+ TQString updateTermWidgets(const long double term);
private:
bool m_needCalculate;
@@ -210,8 +216,9 @@ private slots:
class LoanPaymentPage : public KLoanPaymentPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- LoanPaymentPage(Wizard* parent, const char* name = 0);
+ LoanPaymentPage(Wizard* tqparent, const char* name = 0);
~LoanPaymentPage();
KMyMoneyWizardPage* nextPage(void) const;
@@ -233,7 +240,7 @@ public:
* @note The splits may contain assigned ids which the caller must remove before
* adding the splits to a MyMoneyTransaction object.
*/
- void additionalFeesSplits(QValueList<MyMoneySplit>& list);
+ void additionalFeesSplits(TQValueList<MyMoneySplit>& list);
protected slots:
void slotAdditionalFees(void);
@@ -251,8 +258,9 @@ private:
class LoanSchedulePage : public KLoanSchedulePageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- LoanSchedulePage(Wizard* parent, const char* name = 0);
+ LoanSchedulePage(Wizard* tqparent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
@@ -260,29 +268,30 @@ public:
/**
* This method returns the due date of the first payment to be recorded.
*/
- QDate firstPaymentDueDate(void) const;
+ TQDate firstPaymentDueDate(void) const;
- QWidget* initialFocusWidget(void) const { return m_interestCategory; }
+ TQWidget* initialFocusWidget(void) const { return m_interestCategory; }
private slots:
void slotLoadWidgets(void);
- void slotCreateCategory(const QString& name, QString& id);
+ void slotCreateCategory(const TQString& name, TQString& id);
};
class LoanPayoutPage : public KLoanPayoutPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- LoanPayoutPage(Wizard* parent, const char* name = 0);
+ LoanPayoutPage(Wizard* tqparent, const char* name = 0);
void enterPage(void);
virtual bool isComplete(void) const;
KMyMoneyWizardPage* nextPage(void) const;
- QWidget* initialFocusWidget(void) const { return m_noPayoutTransaction; }
+ TQWidget* initialFocusWidget(void) const { return m_noPayoutTransaction; }
- const QString& payoutAccountId(void) const;
+ const TQString& payoutAccountId(void) const;
private slots:
void slotLoadWidgets(void);
@@ -293,20 +302,21 @@ private slots:
class HierarchyPage : public KHierarchyPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- HierarchyPage(Wizard* parent, const char* name = 0);
+ HierarchyPage(Wizard* tqparent, const char* name = 0);
void enterPage(void);
KMyMoneyWizardPage* nextPage(void) const;
- QWidget* initialFocusWidget(void) const { return m_qlistviewParentAccounts; }
- const MyMoneyAccount& parentAccount(void);
+ TQWidget* initialFocusWidget(void) const { return m_qlistviewParentAccounts; }
+ const MyMoneyAccount& tqparentAccount(void);
private:
KMyMoneyAccountTreeItem* buildAccountTree
- ( KMyMoneyAccountTreeBase* parent
+ ( KMyMoneyAccountTreeBase* tqparent
, const MyMoneyAccount& account
, bool open = false ) const;
KMyMoneyAccountTreeItem* buildAccountTree
- ( KMyMoneyAccountTreeItem* parent
+ ( KMyMoneyAccountTreeItem* tqparent
, const MyMoneyAccount& account
, bool open = false ) const;
MyMoneyAccount m_topAccount; // Last populated top account
@@ -316,10 +326,11 @@ private:
class AccountSummaryPage : public KAccountSummaryPageDecl, public WizardPage<Wizard>
{
Q_OBJECT
+ TQ_OBJECT
public:
- AccountSummaryPage(Wizard* parent, const char* name = 0);
+ AccountSummaryPage(Wizard* tqparent, const char* name = 0);
void enterPage(void);
- QWidget* initialFocusWidget(void) const { return m_dataList; }
+ TQWidget* initialFocusWidget(void) const { return m_dataList; }
};
} // namespace