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/dialogs/knewbudgetdlg.cpp | |
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/dialogs/knewbudgetdlg.cpp')
-rw-r--r-- | kmymoney2/dialogs/knewbudgetdlg.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kmymoney2/dialogs/knewbudgetdlg.cpp b/kmymoney2/dialogs/knewbudgetdlg.cpp index 5971e54..67fcbda 100644 --- a/kmymoney2/dialogs/knewbudgetdlg.cpp +++ b/kmymoney2/dialogs/knewbudgetdlg.cpp @@ -18,7 +18,7 @@ // ---------------------------------------------------------------------------- // QT Includes -#include <qcheckbox.h> +#include <tqcheckbox.h> // ---------------------------------------------------------------------------- // KDE Includes @@ -37,19 +37,19 @@ const int KNewBudgetDlg::m_icFutureYears = 5; const int KNewBudgetDlg::m_icPastYears = 2; -KNewBudgetDlg::KNewBudgetDlg(QWidget* parent, const char *name) : - KNewBudgetDlgDecl(parent, name) +KNewBudgetDlg::KNewBudgetDlg(TQWidget* tqparent, const char *name) : + KNewBudgetDlgDecl(tqparent, name) { - QStringList slYear; - QDate dToday = QDate::currentDate(); + TQStringList slYear; + TQDate dToday = TQDate::tqcurrentDate(); int iYear = dToday.year(); for (int i=0; i<=m_icFutureYears; i++) - m_cbYear->insertItem( QString::number(iYear++) ); + m_cbYear->insertItem( TQString::number(iYear++) ); iYear = dToday.year(); for (int i=0; i<=m_icFutureYears; i++) - m_cbYear->insertItem( QString::number(--iYear) ); + m_cbYear->insertItem( TQString::number(--iYear) ); } KNewBudgetDlg::~KNewBudgetDlg() |