summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kendingbalancedlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kendingbalancedlg.h')
-rw-r--r--kmymoney2/dialogs/kendingbalancedlg.h44
1 files changed, 23 insertions, 21 deletions
diff --git a/kmymoney2/dialogs/kendingbalancedlg.h b/kmymoney2/dialogs/kendingbalancedlg.h
index 3b9de00..67a1098 100644
--- a/kmymoney2/dialogs/kendingbalancedlg.h
+++ b/kmymoney2/dialogs/kendingbalancedlg.h
@@ -20,12 +20,12 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <qwidget.h>
-#include <qgroupbox.h>
-#include <qlabel.h>
-#include <qpushbutton.h>
-#include <qdialog.h>
-#include <qdatetime.h>
+#include <tqwidget.h>
+#include <tqgroupbox.h>
+#include <tqlabel.h>
+#include <tqpushbutton.h>
+#include <tqdialog.h>
+#include <tqdatetime.h>
// ----------------------------------------------------------------------------
// KDE Includes
@@ -51,13 +51,14 @@ class kMyMoneyEdit;
class KEndingBalanceDlg : public KEndingBalanceDlgDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KEndingBalanceDlg(const MyMoneyAccount& account, QWidget *parent=0, const char *name=0);
+ KEndingBalanceDlg(const MyMoneyAccount& account, TQWidget *tqparent=0, const char *name=0);
~KEndingBalanceDlg();
const MyMoneyMoney endingBalance(void) const;
const MyMoneyMoney previousBalance(void) const;
- const QDate statementDate(void) const { return m_statementDate->date(); };
+ const TQDate statementDate(void) const { return m_statementDate->date(); };
const MyMoneyTransaction interestTransaction(void);
const MyMoneyTransaction chargeTransaction(void);
@@ -65,27 +66,27 @@ public:
protected:
bool createTransaction(MyMoneyTransaction& t, const int sign, kMyMoneyEdit *amountEdit, KMyMoneyCategory *categoryEdit, kMyMoneyDateInput* dateEdit);
const MyMoneyMoney adjustedReturnValue(const MyMoneyMoney& v) const;
- void createCategory(const QString& txt, QString& id, const MyMoneyAccount& parent);
+ void createCategory(const TQString& txt, TQString& id, const MyMoneyAccount& tqparent);
protected slots:
void slotCheckPageFinished(void);
void slotReloadEditWidgets(void);
void help(void);
- void slotCreateInterestCategory(const QString& txt, QString& id);
- void slotCreateChargesCategory(const QString& txt, QString& id);
+ void slotCreateInterestCategory(const TQString& txt, TQString& id);
+ void slotCreateChargesCategory(const TQString& txt, TQString& id);
void accept(void);
void slotUpdateBalances(void);
signals:
/**
- * proxy signal for KMyMoneyPayeeCombo::createItem(const QString&, QString&)
+ * proxy signal for KMyMoneyPayeeCombo::createItem(const TQString&, TQString&)
*/
- void createPayee(const QString&, QString&);
+ void createPayee(const TQString&, TQString&);
/**
* emit when a category is about to be created
*/
- void createCategory(MyMoneyAccount& acc, const MyMoneyAccount& parent);
+ void createCategory(MyMoneyAccount& acc, const MyMoneyAccount& tqparent);
private:
/// \internal d-pointer class.
@@ -102,8 +103,9 @@ private:
class KEndingBalanceLoanDlg : public KEndingBalanceDlgDecl
{
Q_OBJECT
+ TQ_OBJECT
public:
- KEndingBalanceLoanDlg(const MyMoneyAccount& account, QWidget *parent=0, const char *name=0);
+ KEndingBalanceLoanDlg(const MyMoneyAccount& account, TQWidget *tqparent=0, const char *name=0);
~KEndingBalanceLoanDlg();
/**
@@ -115,20 +117,20 @@ public:
/**
* This method returns the starting date of the statement as provided
* by the user. The value returned is only valid if the dialog returned
- * with QDialog::accept.
+ * with TQDialog::accept.
*/
- const QDate startDate(void) const { return m_startDateEdit->date(); };
+ const TQDate startDate(void) const { return m_startDateEdit->date(); };
/**
* This method returns the ending date of the statement as provided
* by the user. The value returned is only valid if the dialog returned
- * with QDialog::accept.
+ * with TQDialog::accept.
*/
- const QDate endDate(void) const { return m_endDateEdit->date(); };
+ const TQDate endDate(void) const { return m_endDateEdit->date(); };
protected:
- const MyMoneyMoney totalInterest(const QDate& start, const QDate& end) const;
- const MyMoneyMoney totalAmortization(const QDate& start, const QDate& end) const;
+ const MyMoneyMoney totalInterest(const TQDate& start, const TQDate& end) const;
+ const MyMoneyMoney totalAmortization(const TQDate& start, const TQDate& end) const;
public slots:
void next();