diff options
Diffstat (limited to 'kmymoney2/mymoney/mymoneyreport.cpp')
-rw-r--r-- | kmymoney2/mymoney/mymoneyreport.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kmymoney2/mymoney/mymoneyreport.cpp b/kmymoney2/mymoney/mymoneyreport.cpp index adb6e9e..9761275 100644 --- a/kmymoney2/mymoney/mymoneyreport.cpp +++ b/kmymoney2/mymoney/mymoneyreport.cpp @@ -551,9 +551,9 @@ void MyMoneyReport::write ( TQDomElement& e, TQDomDocument *doc, bool anonymous { TQDomElement f = doc->createElement ( "DATES" ); if ( dateFrom.isValid() ) - f.setAttribute ( "from", dateFrom.toString ( Qt::ISODate ) ); + f.setAttribute ( "from", dateFrom.toString ( TQt::ISODate ) ); if ( dateTo.isValid() ) - f.setAttribute ( "to", dateTo.toString ( Qt::ISODate ) ); + f.setAttribute ( "to", dateTo.toString ( TQt::ISODate ) ); e.appendChild ( f ); } } @@ -736,9 +736,9 @@ bool MyMoneyReport::read ( const TQDomElement& e ) { TQDate from, to; if ( c.hasAttribute ( "from" ) ) - from = TQDate::fromString ( c.attribute ( "from" ), Qt::ISODate ); + from = TQDate::fromString ( c.attribute ( "from" ), TQt::ISODate ); if ( c.hasAttribute ( "to" ) ) - to = TQDate::fromString ( c.attribute ( "to" ), Qt::ISODate ); + to = TQDate::fromString ( c.attribute ( "to" ), TQt::ISODate ); MyMoneyTransactionFilter::setDateFilter ( from, to ); } if ( "PAYEE" == c.tagName() ) |