diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2011-12-18 18:10:39 -0600 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2012-06-06 03:55:14 +0200 |
commit | e0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb (patch) | |
tree | a38d8fbb9786006a80b3c58554377a82ddbed49c /kmymoney2/converter/mymoneygncreader.cpp | |
parent | 9a28776b6c0b3446535e039d82c28519aa5a6479 (diff) | |
download | kmymoney-e0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb.tar.gz kmymoney-e0d4ece30d7c0095bfdd9a81364b66fe18a0f2cb.zip |
Rename old tq methods that no longer need a unique name
(cherry picked from commit 28723595822268551d3e050c3a83bf6ca5e17dd5)
Diffstat (limited to 'kmymoney2/converter/mymoneygncreader.cpp')
-rw-r--r-- | kmymoney2/converter/mymoneygncreader.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmymoney2/converter/mymoneygncreader.cpp b/kmymoney2/converter/mymoneygncreader.cpp index bfd6911..9be8003 100644 --- a/kmymoney2/converter/mymoneygncreader.cpp +++ b/kmymoney2/converter/mymoneygncreader.cpp @@ -1192,10 +1192,10 @@ void MyMoneyGncReader::convertAccount (const GncAccount* gac) { acc.setDescription(gac->desc()); - TQDate tqcurrentDate = TQDate::tqcurrentDate(); - acc.setOpeningDate(tqcurrentDate); - acc.setLastModified(tqcurrentDate); - acc.setLastReconciliationDate(tqcurrentDate); + TQDate currentDate = TQDate::currentDate(); + acc.setOpeningDate(currentDate); + acc.setLastModified(currentDate); + acc.setLastReconciliationDate(currentDate); if (gac->commodity()->isCurrency()) { acc.setCurrencyId (gac->commodity()->id().utf8()); m_currencyCount[gac->commodity()->id()]++; @@ -1717,7 +1717,7 @@ void MyMoneyGncReader::convertSchedule (const GncSchedule *gsc) { MyMoneyTransaction tx; m_suspectSchedule = false; TQDate startDate, nextDate, lastDate, endDate; // for date calculations - TQDate today = TQDate::tqcurrentDate(); + TQDate today = TQDate::currentDate(); int numOccurs, remOccurs; if (m_scheduleCount == 0) signalProgress (0, m_gncScheduleCount, i18n("Loading schedules...")); @@ -2139,7 +2139,7 @@ TQString MyMoneyGncReader::createOrphanAccount (const TQString& gncName) { acc.setName ("orphan_" + gncName); acc.setDescription (i18n("Orphan created from unknown gnucash account")); - TQDate today = TQDate::tqcurrentDate(); + TQDate today = TQDate::currentDate(); acc.setOpeningDate (today); acc.setLastModified (today); |