diff options
Diffstat (limited to 'kmymoney2/widgets/kmymoneybriefschedule.cpp')
-rw-r--r-- | kmymoney2/widgets/kmymoneybriefschedule.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kmymoney2/widgets/kmymoneybriefschedule.cpp b/kmymoney2/widgets/kmymoneybriefschedule.cpp index a3e3a5f..5cb6348 100644 --- a/kmymoney2/widgets/kmymoneybriefschedule.cpp +++ b/kmymoney2/widgets/kmymoneybriefschedule.cpp @@ -47,8 +47,8 @@ KMyMoneyBriefSchedule::KMyMoneyBriefSchedule(TQWidget *parent, const char *name : kScheduleBriefWidget(parent,name, WStyle_Customize | WStyle_NoBorder) { KIconLoader *ic = KGlobal::iconLoader(); - m_nextButton->setPixmap(BarIcon(TQString::tqfromLatin1("1rightarrow"))); - m_prevButton->setPixmap(BarIcon(TQString::tqfromLatin1("1leftarrow"))); + m_nextButton->setPixmap(BarIcon(TQString::fromLatin1("1rightarrow"))); + m_prevButton->setPixmap(BarIcon(TQString::fromLatin1("1leftarrow"))); connect(m_prevButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotPrevClicked())); connect(m_nextButton, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotNextClicked())); @@ -118,7 +118,7 @@ void KMyMoneyBriefSchedule::loadSchedule() .tqarg(i18n(sched.occurenceToString())); } - if (m_date < TQDate::tqcurrentDate()) + if (m_date < TQDate::currentDate()) { if (sched.isOverdue()) { @@ -129,8 +129,8 @@ void KMyMoneyBriefSchedule::loadSchedule() if (m_date.isValid()) startD = m_date; - int days = startD.daysTo(TQDate::tqcurrentDate()); - int transactions = sched.paymentDates(startD, TQDate::tqcurrentDate()).count(); + int days = startD.daysTo(TQDate::currentDate()); + int transactions = sched.paymentDates(startD, TQDate::currentDate()).count(); text += "<br><font color=red>"; text += i18n("%1 days overdue (%2 occurences).") |