summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmymoney2/dialogs/kequitypriceupdatedlg.cpp')
-rw-r--r--kmymoney2/dialogs/kequitypriceupdatedlg.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
index 4121abd..ab752be 100644
--- a/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
+++ b/kmymoney2/dialogs/kequitypriceupdatedlg.cpp
@@ -104,7 +104,7 @@ KEquityPriceUpdateDlg::KEquityPriceUpdateDlg(TQWidget *parent, const TQString& s
if ( file->security( pair.first ).isCurrency() && ( securityId.isEmpty() || ( pair == currencyIds ) ) )
{
const MyMoneyPriceEntries& entries = (*it_price);
- if(entries.count() > 0 && entries.begin().key() <= TQDate::tqcurrentDate()) {
+ if(entries.count() > 0 && entries.begin().key() <= TQDate::currentDate()) {
addPricePair(pair);
btnUpdateAll->setEnabled(true);
}
@@ -282,7 +282,7 @@ void KEquityPriceUpdateDlg::logErrorMessage(const TQString& message)
void KEquityPriceUpdateDlg::logStatusMessage(const TQString& message)
{
- lbtqStatus->append(message);
+ lbStatus->append(message);
}
MyMoneyPrice KEquityPriceUpdateDlg::price(const TQString& id) const
@@ -492,8 +492,8 @@ void KEquityPriceUpdateDlg::slotReceivedQuote(const TQString& _id, const TQStrin
if ( _price > 0.0f && _date.isValid() )
{
TQDate date = _date;
- if ( date > TQDate::tqcurrentDate() )
- date = TQDate::tqcurrentDate();
+ if ( date > TQDate::currentDate() )
+ date = TQDate::currentDate();
double price = _price;
TQString id = _id.utf8();