diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-05 06:00:29 +0000 |
commit | fecb0e67b23e8b83ba7fc881bb57bc48c0852d62 (patch) | |
tree | 6b8614802f0d01b353bc9ba78aff2090846c198e /kmymoney2/widgets/kbudgetvalues.h | |
parent | dadc34655c3ab961b0b0b94a10eaaba710f0b5e8 (diff) | |
download | kmymoney-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/widgets/kbudgetvalues.h')
-rw-r--r-- | kmymoney2/widgets/kbudgetvalues.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/kmymoney2/widgets/kbudgetvalues.h b/kmymoney2/widgets/kbudgetvalues.h index 5b8c2cc..e2e7a09 100644 --- a/kmymoney2/widgets/kbudgetvalues.h +++ b/kmymoney2/widgets/kbudgetvalues.h @@ -21,8 +21,8 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qdatetime.h> -class QLabel; +#include <tqdatetime.h> +class TQLabel; // ---------------------------------------------------------------------------- // KDE Includes @@ -40,8 +40,9 @@ class kMyMoneyEdit; class KBudgetValues : public KBudgetValuesDecl { Q_OBJECT + TQ_OBJECT public: - KBudgetValues(QWidget* parent = 0, const char* name = 0); + KBudgetValues(TQWidget* tqparent = 0, const char* name = 0); ~KBudgetValues(); void setBudgetValues(const MyMoneyBudget& budget, const MyMoneyBudget::AccountGroup& budgetAccount); @@ -69,13 +70,13 @@ class KBudgetValues : public KBudgetValuesDecl void slotUpdateClearButton(void); protected: - bool eventFilter(QObject* o, QEvent* e); + bool eventFilter(TQObject* o, TQEvent* e); private: kMyMoneyEdit* m_field[12]; - QLabel* m_label[12]; - QWidget* m_currentTab; - QDate m_budgetDate; + TQLabel* m_label[12]; + TQWidget* m_currentTab; + TQDate m_budgetDate; signals: void valuesChanged(void); |