From fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 5 Jul 2011 06:00:29 +0000 Subject: TQt4 port kmymoney This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kmymoney@1239855 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmymoney2/dialogs/knewloanwizard.h | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'kmymoney2/dialogs/knewloanwizard.h') diff --git a/kmymoney2/dialogs/knewloanwizard.h b/kmymoney2/dialogs/knewloanwizard.h index 5e291b7..8cf019d 100644 --- a/kmymoney2/dialogs/knewloanwizard.h +++ b/kmymoney2/dialogs/knewloanwizard.h @@ -26,7 +26,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include +#include // ---------------------------------------------------------------------------- // KDE Includes @@ -54,8 +54,9 @@ class KNewLoanWizard : public KNewLoanWizardDecl { Q_OBJECT + TQ_OBJECT public: - KNewLoanWizard(QWidget *parent=0, const char *name=0); + KNewLoanWizard(TQWidget *tqparent=0, const char *name=0); ~KNewLoanWizard(); /** @@ -75,20 +76,20 @@ public: * This method returns the id of the account to/from which * the payout should be created. If the checkbox that allows * to skip the creation of this transaction is checked, this - * method returns QString() + * method returns TQString() * - * @return id of account or empty QString + * @return id of account or empty TQString */ - QString initialPaymentAccount(void) const; + TQString initialPaymentAccount(void) const; /** * This method returns the date of the payout transaction. * If the checkbox that allows to skip the creation of - * this transaction is checked, this method returns QDate() + * this transaction is checked, this method returns TQDate() * - * @return selected date or invalid QDate if checkbox is selected. + * @return selected date or invalid TQDate if checkbox is selected. */ - QDate initialPaymentDate(void) const; + TQDate initialPaymentDate(void) const; protected: /** @@ -114,7 +115,7 @@ protected slots: void slotInterestOnReception(void); void slotCreateCategory(void); virtual void slotAdditionalFees(void); - // void slotNewPayee(const QString&); + // void slotNewPayee(const TQString&); void slotReloadEditWidgets(void); protected: @@ -127,7 +128,7 @@ protected: void updatePayment(void); void updateFinalPayment(void); void updateLoanInfo(void); - QString updateTermWidgets(const long double v); + TQString updateTermWidgets(const long double v); void updatePeriodicPayment(void); void updateSummary(void); int calculateLoan(void); @@ -156,7 +157,7 @@ signals: * @param txt The name of the payee to be created * @param id A connected slot should store the id of the created object in this variable */ - void createPayee(const QString& txt, QString& id); + void createPayee(const TQString& txt, TQString& id); protected: MyMoneyAccountLoan m_account; -- cgit v1.2.1