summaryrefslogtreecommitdiffstats
path: root/kresources/kolab/shared/kolabbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/kolab/shared/kolabbase.cpp')
-rw-r--r--kresources/kolab/shared/kolabbase.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kresources/kolab/shared/kolabbase.cpp b/kresources/kolab/shared/kolabbase.cpp
index cb04d12be..3341ee35f 100644
--- a/kresources/kolab/shared/kolabbase.cpp
+++ b/kresources/kolab/shared/kolabbase.cpp
@@ -409,12 +409,12 @@ TQDomDocument KolabBase::domTree()
TQString KolabBase::dateTimeToString( const TQDateTime& time )
{
- return time.toString( TQt::ISODate ) + 'Z';
+ return time.toString( Qt::ISODate ) + 'Z';
}
TQString KolabBase::dateToString( const TQDate& date )
{
- return date.toString( TQt::ISODate );
+ return date.toString( Qt::ISODate );
}
TQDateTime KolabBase::stringToDateTime( const TQString& _date )
@@ -423,15 +423,15 @@ TQDateTime KolabBase::stringToDateTime( const TQString& _date )
//Deal with data from some clients that always append a Z to dates.
if ( date.endsWith( "ZZ" ) )
date.truncate( date.length() - 2 );
- //In TQt3, TQt::ISODate cannot handle a trailing Z for UTC, so remove if found.
+ //In TQt3, Qt::ISODate cannot handle a trailing Z for UTC, so remove if found.
else if ( date.endsWith( "Z" ) )
date.truncate( date.length() - 1 );
- return TQDateTime::fromString( date, TQt::ISODate );
+ return TQDateTime::fromString( date, Qt::ISODate );
}
TQDate KolabBase::stringToDate( const TQString& date )
{
- return TQDate::fromString( date, TQt::ISODate );
+ return TQDate::fromString( date, Qt::ISODate );
}
TQString KolabBase::sensitivityToString( Sensitivity s )