diff options
Diffstat (limited to 'karm/mainwindow.cpp')
-rw-r--r-- | karm/mainwindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/karm/mainwindow.cpp b/karm/mainwindow.cpp index 9c892f185..8265db055 100644 --- a/karm/mainwindow.cpp +++ b/karm/mainwindow.cpp @@ -578,10 +578,10 @@ int MainWindow::bookTime // Parse datetime if ( !rval ) { - startDate = TQDate::fromString( datetime, Qt::ISODate ); + startDate = TQDate::fromString( datetime, TQt::ISODate ); if ( datetime.length() > 10 ) // "YYYY-MM-DD".length() = 10 { - startTime = TQTime::fromString( datetime, Qt::ISODate ); + startTime = TQTime::fromString( datetime, TQt::ISODate ); } else startTime = TQTime( 12, 0 ); if ( startDate.isValid() && startTime.isValid() ) @@ -718,10 +718,10 @@ TQString MainWindow::exportcsvfile( TQString filename, TQString from, TQString t ReportCriteria rc; rc.url=filename; rc.from=TQDate::fromString( from ); - if ( rc.from.isNull() ) rc.from=TQDate::fromString( from, Qt::ISODate ); + if ( rc.from.isNull() ) rc.from=TQDate::fromString( from, TQt::ISODate ); kdDebug(5970) << "rc.from " << rc.from << endl; rc.to=TQDate::fromString( to ); - if ( rc.to.isNull() ) rc.to=TQDate::fromString( to, Qt::ISODate ); + if ( rc.to.isNull() ) rc.to=TQDate::fromString( to, TQt::ISODate ); kdDebug(5970) << "rc.to " << rc.to << endl; rc.reportType=(ReportCriteria::REPORTTYPE) type; // history report or totals report rc.decimalMinutes=decimalMinutes; |