summaryrefslogtreecommitdiffstats
path: root/kplato/kptaccountsview.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kplato/kptaccountsview.cc')
-rw-r--r--kplato/kptaccountsview.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/kplato/kptaccountsview.cc b/kplato/kptaccountsview.cc
index 9825d9c2..5fd3c7cd 100644
--- a/kplato/kptaccountsview.cc
+++ b/kplato/kptaccountsview.cc
@@ -99,7 +99,7 @@ AccountsView::AccountsView(Project &project, View *view, TQWidget *parent)
m_project(project),
m_accounts(project.accounts()) {
- m_date = TQDate::tqcurrentDate();
+ m_date = TQDate::currentDate();
m_period = 0;
m_periodTexts<<i18n("Day")<<i18n("Week")<<i18n("Month");
m_cumulative = false;
@@ -110,10 +110,10 @@ AccountsView::AccountsView(Project &project, View *view, TQWidget *parent)
m_label = new Label(this);
m_label->setFrameShape(TQLabel::StyledPanel);
m_label->setFrameShadow(TQLabel::Sunken);
- m_label->tqsetAlignment(int(TQLabel::WordBreak | TQLabel::AlignVCenter));
+ m_label->setAlignment(int(TQLabel::WordBreak | TQLabel::AlignVCenter));
lay2->addWidget(m_label);
m_changeBtn = new TQPushButton(i18n("Configure..."), this);
- m_changeBtn->tqsetSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, m_changeBtn->sizePolicy().hasHeightForWidth()));
+ m_changeBtn->setSizePolicy(TQSizePolicy((TQSizePolicy::SizeType)0, (TQSizePolicy::SizeType)0, 0, 0, m_changeBtn->sizePolicy().hasHeightForWidth()));
lay2->addWidget(m_changeBtn);
lay1->addLayout(lay2);
@@ -139,7 +139,7 @@ void AccountsView::zoom(double zoom) {
}
void AccountsView::init() {
- m_date = TQDate::tqcurrentDate();
+ m_date = TQDate::currentDate();
m_period = 0;
initAccList(m_accounts.accountList());
}
@@ -378,7 +378,7 @@ bool AccountsView::setContext(Context::Accountsview &context) {
//m_dlv->setSizes(list); //NOTE: This doesn't always work!
m_date = context.date;
if (!m_date.isValid())
- m_date = TQDate::tqcurrentDate();
+ m_date = TQDate::currentDate();
m_period = context.period;
m_cumulative = context.cumulative;
setContextClosedItems(context);