summaryrefslogtreecommitdiffstats
path: root/kresources/newexchange/exchangeconvertercalendar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/newexchange/exchangeconvertercalendar.cpp')
-rw-r--r--kresources/newexchange/exchangeconvertercalendar.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/kresources/newexchange/exchangeconvertercalendar.cpp b/kresources/newexchange/exchangeconvertercalendar.cpp
index d2a8d55cd..d28e8b1cf 100644
--- a/kresources/newexchange/exchangeconvertercalendar.cpp
+++ b/kresources/newexchange/exchangeconvertercalendar.cpp
@@ -34,7 +34,7 @@
using namespace KCal;
#define TaskNamespace1 "http://schemas.microsoft.com/mapi/id/{00062003-0000-0000-C000-000000000046}/"
-#define TaskProp_Status "0x00008101"
+#define TaskProp_tqStatus "0x00008101"
#define TaskProp_PercentCompleted "0x00008102"
#define TaskProp_DtStart "0x00008104"
#define TaskProp_DtDue "0x00008105"
@@ -164,7 +164,7 @@ void ExchangeConverterCalendar::createRequestTask( TQDomDocument &doc, TQDomElem
propertyTask2( TaskProp_ReminderTime );
propertyTask2( TaskProp_ReminderPlaySound );
propertyTask2( TaskProp_ReminderSoundFile );
- propertyTask1( TaskProp_Status );
+ propertyTask1( TaskProp_tqStatus );
}
#undef propertyTask1
#undef propertyTask2
@@ -410,7 +410,7 @@ kdDebug()<<"ExchangeConverterCalendar::readIncidence: ERROR: No UID given"<<endl
TQStringList::Iterator it = tmplst.begin();
KCal::DateList exdates;
for ( ; it != tmplst.end(); ++it ) {
- exdates.append( /*utcAsZone(*/ TQDateTime::fromString( *it, Qt::ISODate )/*,
+ exdates.append( /*utcAsZone(*/ TQDateTime::fromString( *it, TQt::ISODate )/*,
localTimeZoneId )*/.date() );
}
event->recurrence()->setExDates( exdates );
@@ -497,7 +497,7 @@ kdDebug()<<"ExchangeConverterCalendar::readIncidence: ERROR: No UID given"<<endl
// What to do about recurrence rules?
// FIXME: Reminders, use TaskProp_ReminderSet, TaskProp_ReminderTime,
- // TaskProp_ReminderPlaySound, TaskProp_ReminderSoundFile, TaskProp_Status
+ // TaskProp_ReminderPlaySound, TaskProp_ReminderSoundFile, TaskProp_tqStatus
// But how do I get the offset?
return true;
@@ -593,7 +593,7 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
void addDateProp( TQDomElement &el ) { el.setAttribute( "b:dt", "dateTime.tz" ); }
void addFloatProp( TQDomElement &el ) { el.setAttribute( "b:dt", "float" ); }
void addIntProp( TQDomElement &el ) { el.setAttribute( "b:dt", "int" ); }
- TQString timePropString( const TQDateTime &dt ) { return dt.toString( Qt::ISODate )+"Z"; }
+ TQString timePropString( const TQDateTime &dt ) { return dt.toString( TQt::ISODate )+"Z"; }
bool visitIncidence( Incidence *incidence )
{
@@ -605,9 +605,9 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
domHTTPMailProperty( "textdescription", incidence->description() );
// FIXME: timestampt, comments and categories
// domHTTPMailProperty( "date", ??? ); // timestamp not available in libkcal
-// domDavProperty( "comment", incidence->comments() ); // libkcal has a QStringlist, not one string
+// domDavProperty( "comment", incidence->comments() ); // libkcal has a TQStringlist, not one string
// domProperty( "urn:schemas-microsoft-com:office:office", "Keywords", ??? ); // It's a <v>entyr1</v><v>entry2</v> String list!
- tmpstr = TQString::null;
+ tmpstr = TQString();
switch ( incidence->secrecy() ) {
case KCal::Incidence::SecrecyPublic: tmpstr = "0"; break;
case KCal::Incidence::SecrecyPrivate: tmpstr = "2"; break;
@@ -622,7 +622,7 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
domMailHeaderProperty( "from", incidence->organizer().fullName() );
// Attendees:
- tmpstr = TQString::null;
+ tmpstr = TQString();
TQStringList reqattnames;
TQStringList optattnames;
Attendee::List atts = incidence->attendees();
@@ -668,7 +668,7 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
// FIXME: domCalendarProperty( "sequence", event->sequence() );
domCalendarProperty( "location", event->location() );
- TQString tmpstr( TQString::null );
+ TQString tmpstr;
switch ( event->transparency() ) {
case KCal::Event::Transparent: tmpstr = "FREE"; break;
case KCal::Event::Opaque: tmpstr = "BUSY"; break;
@@ -730,8 +730,8 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
/* FIXME:
domCalendarProperty( "uid", todo->uid() );
- domCalendarProperty( "created", todo->created().toString( Qt::ISODate ) );
- domCalendarProperty( "lastmodified", todo->lastModified().toString( Qt::ISODate ) );*/
+ domCalendarProperty( "created", todo->created().toString( TQt::ISODate ) );
+ domCalendarProperty( "lastmodified", todo->lastModified().toString( TQt::ISODate ) );*/
// TODO
/*propertyTask1( TaskProp_Owner );
propertyTask2( TaskProp_ContactNames );
@@ -747,7 +747,7 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
propertyTask2( TaskProp_ReminderTime );
propertyTask2( TaskProp_ReminderPlaySound );
propertyTask2( TaskProp_ReminderSoundFile );
- propertyTask1( TaskProp_Status );*/
+ propertyTask1( TaskProp_tqStatus );*/
return true;
}
bool visit( Journal *journal )
@@ -758,8 +758,8 @@ class ExchangeConverterCalendar::createWebDAVVisitor : public IncidenceBase::Vis
"outlookmessageclass", "IPM.Journal" );
/* FIXME:
domCalendarProperty( "uid", todo->uid() );
- domCalendarProperty( "created", todo->created().toString( Qt::ISODate ) );
- domCalendarProperty( "lastmodified", todo->lastModified().toString( Qt::ISODate ) );*/
+ domCalendarProperty( "created", todo->created().toString( TQt::ISODate ) );
+ domCalendarProperty( "lastmodified", todo->lastModified().toString( TQt::ISODate ) );*/
// TODO
return true;
}