summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kbalancechartdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kbalancechartdlg.cpp')
-rw-r--r--kmymoney2/dialogs/kbalancechartdlg.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/dialogs/kbalancechartdlg.cpp b/kmymoney2/dialogs/kbalancechartdlg.cpp
index ceb7ff8..85134da 100644
--- a/kmymoney2/dialogs/kbalancechartdlg.cpp
+++ b/kmymoney2/dialogs/kbalancechartdlg.cpp
@@ -22,7 +22,7 @@
// ----------------------------------------------------------------------------
// QT Includes
-#include <layout.h>
+#include <tqlayout.h>
#include <tqframe.h>
// ----------------------------------------------------------------------------
@@ -56,7 +56,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
KDialog(parent, name)
{
#ifdef HAVE_KDCHART
- setCaption(i18n("Balance of %1").arg(account.name()));
+ setCaption(i18n("Balance of %1").tqarg(account.name()));
setSizeGripEnabled( TRUE );
setModal( TRUE );
@@ -67,7 +67,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
MyMoneyReport::eMonths,
MyMoneyTransactionFilter::userDefined, // overridden by the setDateFilter() call below
MyMoneyReport::eDetailTotal,
- i18n("%1 Balance History").arg(account.name()),
+ i18n("%1 Balance History").tqarg(account.name()),
i18n("Generated Report")
);
reportCfg.setChartByDefault(true);
@@ -83,7 +83,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
reportCfg.addAccount(account.id());
reportCfg.setColumnsAreDays( true );
reportCfg.setConvertCurrency( false );
- reportCfg.setDateFilter(TQDate::currentDate().addDays(-90),TQDate::currentDate().addDays(+90));
+ reportCfg.setDateFilter(TQDate::tqcurrentDate().addDays(-90),TQDate::tqcurrentDate().addDays(+90));
reports::PivotTable table(reportCfg);
@@ -213,7 +213,7 @@ KBalanceChartDlg::KBalanceChartDlg(const MyMoneyAccount& account, TQWidget* pare
// connect( buttonOk, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
connect( buttonClose, TQT_SIGNAL( clicked() ), this, TQT_SLOT( accept() ) );
- resize( TQSize(700, 500).expandedTo(minimumSizeHint()) );
+ resize( TQSize(700, 500).expandedTo(tqminimumSizeHint()) );
clearWState( WState_Polished );
#endif
}