diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:37:12 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-09 10:56:59 +0900 |
commit | 98876ba8c52c0fc2f38c258476bc9637f055d576 (patch) | |
tree | c603affd2b47d424507127e5bff9231bb06fc020 /konsolekalendar | |
parent | f46438dda23948d5a4732428a1df913b3246fed8 (diff) | |
download | tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.tar.gz tdepim-98876ba8c52c0fc2f38c258476bc9637f055d576.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konsolekalendar')
-rw-r--r-- | konsolekalendar/konsolekalendar.cpp | 10 | ||||
-rw-r--r-- | konsolekalendar/konsolekalendaradd.cpp | 4 | ||||
-rw-r--r-- | konsolekalendar/konsolekalendarchange.cpp | 8 | ||||
-rw-r--r-- | konsolekalendar/konsolekalendardelete.cpp | 4 | ||||
-rw-r--r-- | konsolekalendar/konsolekalendarepoch.cpp | 6 | ||||
-rw-r--r-- | konsolekalendar/main.cpp | 12 |
6 files changed, 22 insertions, 22 deletions
diff --git a/konsolekalendar/konsolekalendar.cpp b/konsolekalendar/konsolekalendar.cpp index 535478cf8..775f7b2d3 100644 --- a/konsolekalendar/konsolekalendar.cpp +++ b/konsolekalendar/konsolekalendar.cpp @@ -272,11 +272,11 @@ bool KonsoleKalendar::showInstance() } else { if ( firstdate == lastdate ) { title = i18n( "Events: %1" ) - .arg( firstdate.toString( Qt::TextDate ) ); + .arg( firstdate.toString( TQt::TextDate ) ); } else { title = i18n( "Events: %1 - %2" ) - .arg( firstdate.toString( Qt::TextDate ) ) - .arg( lastdate.toString( Qt::TextDate ) ); + .arg( firstdate.toString( TQt::TextDate ) ) + .arg( lastdate.toString( TQt::TextDate ) ); } htmlSettings.setEventView( true ); } @@ -439,11 +439,11 @@ void KonsoleKalendar::printSpecs() << endl; cout << i18n( " Begin: %1" ). - arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit().data() << endl; if ( m_variables->getFloating() == true ) { diff --git a/konsolekalendar/konsolekalendaradd.cpp b/konsolekalendar/konsolekalendaradd.cpp index d7b2774bc..75828ed37 100644 --- a/konsolekalendar/konsolekalendaradd.cpp +++ b/konsolekalendar/konsolekalendaradd.cpp @@ -146,11 +146,11 @@ void KonsoleKalendarAdd::printSpecs() << endl; cout << i18n( " Begin: %1" ). - arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit().data() << endl; if ( m_variables->getFloating() == true ) { diff --git a/konsolekalendar/konsolekalendarchange.cpp b/konsolekalendar/konsolekalendarchange.cpp index 7c9e3b5e7..820f11b49 100644 --- a/konsolekalendar/konsolekalendarchange.cpp +++ b/konsolekalendar/konsolekalendarchange.cpp @@ -136,11 +136,11 @@ void KonsoleKalendarChange::printSpecs( Event *event ) << endl; cout << i18n( " Begin: %1" ). - arg( event->dtStart().toString( Qt::TextDate ) ).local8Bit().data() + arg( event->dtStart().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( event->dtEnd().toString( Qt::TextDate ) ).local8Bit().data() + arg( event->dtEnd().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " Desc: %1" ). @@ -163,11 +163,11 @@ void KonsoleKalendarChange::printSpecs() << endl; cout << i18n( " Begin: %1" ). - arg( m_variables->getStartDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getStartDateTime().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( m_variables->getEndDateTime().toString( Qt::TextDate ) ).local8Bit().data() + arg( m_variables->getEndDateTime().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " Desc: %1" ). diff --git a/konsolekalendar/konsolekalendardelete.cpp b/konsolekalendar/konsolekalendardelete.cpp index 4da761006..1a274d36e 100644 --- a/konsolekalendar/konsolekalendardelete.cpp +++ b/konsolekalendar/konsolekalendardelete.cpp @@ -101,11 +101,11 @@ void KonsoleKalendarDelete::printSpecs( Event *event ) << endl; cout << i18n( " Begin: %1" ). - arg( event->dtStart().toString( Qt::TextDate ) ).local8Bit().data() + arg( event->dtStart().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " End: %1" ). - arg( event->dtEnd().toString( Qt::TextDate ) ).local8Bit().data() + arg( event->dtEnd().toString( TQt::TextDate ) ).local8Bit().data() << endl; cout << i18n( " Desc: %1" ). diff --git a/konsolekalendar/konsolekalendarepoch.cpp b/konsolekalendar/konsolekalendarepoch.cpp index 6aebd9a94..a58ad3a5f 100644 --- a/konsolekalendar/konsolekalendarepoch.cpp +++ b/konsolekalendar/konsolekalendarepoch.cpp @@ -53,7 +53,7 @@ KonsoleKalendarEpoch::~KonsoleKalendarEpoch() TQDateTime KonsoleKalendarEpoch::epoch2TQDateTime( uint epoch ) { TQDateTime dt; - dt.setTime_t( epoch, Qt::UTC ); + dt.setTime_t( epoch, TQt::UTC ); return( dt ); } @@ -64,8 +64,8 @@ uint KonsoleKalendarEpoch::TQDateTime2epoch( TQDateTime dt ) // SORRY QT DOESN'T HANDLE DAYLIGHT SAVINGS TIME. // Compute #seconds to subtract for local timezone difference from UTC. - int offset = TQDateTime::currentDateTime( Qt::UTC ).toTime_t() - - TQDateTime::currentDateTime( Qt::LocalTime ).toTime_t(); + int offset = TQDateTime::currentDateTime( TQt::UTC ).toTime_t() + - TQDateTime::currentDateTime( TQt::LocalTime ).toTime_t(); return( dt.toTime_t() - offset ); } diff --git a/konsolekalendar/main.cpp b/konsolekalendar/main.cpp index fc805764b..a68af033c 100644 --- a/konsolekalendar/main.cpp +++ b/konsolekalendar/main.cpp @@ -472,7 +472,7 @@ int main( int argc, char *argv[] ) << "(" << option << ")" << endl; - startdate = TQDate::fromString( option, Qt::ISODate ); + startdate = TQDate::fromString( option, TQt::ISODate ); if ( !startdate.isValid() ) { cout << i18n( "Invalid Start Date Specified: %1" ). arg( option ).local8Bit().data() @@ -497,7 +497,7 @@ int main( int argc, char *argv[] ) << endl; if ( option.upper() != "FLOAT" ) { - starttime = TQTime::fromString( option, Qt::ISODate ); + starttime = TQTime::fromString( option, TQt::ISODate ); if ( !starttime.isValid() ) { cout << i18n( "Invalid Start Time Specified: %1" ). arg( option ).local8Bit().data() @@ -527,7 +527,7 @@ int main( int argc, char *argv[] ) << "(" << option << ")" << endl; - enddate = TQDate::fromString( option, Qt::ISODate ); + enddate = TQDate::fromString( option, TQt::ISODate ); if ( !enddate.isValid() ) { cout << i18n( "Invalid End Date Specified: %1" ). arg( option ).local8Bit().data() @@ -579,7 +579,7 @@ int main( int argc, char *argv[] ) << endl; if ( option.upper() != "FLOAT" ) { - endtime = TQTime::fromString( option, Qt::ISODate ); + endtime = TQTime::fromString( option, TQt::ISODate ); if ( !endtime.isValid() ) { cout << i18n( "Invalid End Time Specified: %1" ). arg( option ).local8Bit().data() @@ -854,10 +854,10 @@ int main( int argc, char *argv[] ) // Some more debug prints kdDebug() << "main | datetimestamp | StartDate=" - << startdatetime.toString( Qt::TextDate ) + << startdatetime.toString( TQt::TextDate ) << endl; kdDebug() << "main | datetimestamp | EndDate=" - << enddatetime.toString( Qt::TextDate ) + << enddatetime.toString( TQt::TextDate ) << endl; /*************************************************************************** |