summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/knewloanwizard.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-07-05 06:00:29 +0000
commitfecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch)
tree6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/dialogs/knewloanwizard.h
parentdadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff)
downloadkmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.tar.gz
kmymoney-fecb0e67b23e8b83ba7fc881bb57bc48c0852d62.zip
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
Diffstat (limited to 'kmymoney2/dialogs/knewloanwizard.h')
-rw-r--r--kmymoney2/dialogs/knewloanwizard.h23
1 files changed, 12 insertions, 11 deletions
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 <qwidget.h>
+#include <tqwidget.h>
// ----------------------------------------------------------------------------
// 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;