Fix FTBFS with GCC6

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/21/head
Slávek Banko 8 years ago
parent 4728d07ecb
commit dcf83fa05d

@ -42,7 +42,7 @@ class SpecialdatesPlugin : public Kontact::Plugin
virtual Kontact::Summary *createSummaryWidget( TQWidget *parentWidget );
protected:
virtual KParts::ReadOnlyPart *createPart() { return false; }
virtual KParts::ReadOnlyPart *createPart() { return 0; }
private:
TDEAboutData *mAboutData;

@ -460,7 +460,7 @@ void IncidenceConverter::setAttendees( KCal::Incidence *incidence,
item->distribution->sendoptions->statusTracking = soap_new_ngwt__StatusTracking( soap(),
-1 );
item->distribution->sendoptions->statusTracking->autoDelete = false;
item->distribution->sendoptions->statusTracking->autoDelete = 0;
item->distribution->sendoptions->statusTracking->__item = All_;
item->distribution->recipients = soap_new_ngwt__RecipientList( soap(), -1 );

@ -63,15 +63,15 @@ void ExchangeConverterCalendar::setTimeZone( const TQString &id )
}
#define propertyDAV( prop ) \
WebdavHandler::addElement( doc, root, "d:"prop )
WebdavHandler::addElement( doc, root, "d:" prop )
#define propertyNS( ns, prop ) \
WebdavHandler::addElementNS( doc, root, ns, prop )
#define propertyCalendar( prop ) \
WebdavHandler::addElement( doc, root, "c:"prop )
WebdavHandler::addElement( doc, root, "c:" prop )
#define propertyHTTPMail( prop ) \
WebdavHandler::addElement( doc, root, "m:"prop )
WebdavHandler::addElement( doc, root, "m:" prop )
#define propertyMailHeader( prop ) \
WebdavHandler::addElement( doc, root, "h:"prop )
WebdavHandler::addElement( doc, root, "h:" prop )
#define property( prop ) \
WebdavHandler::addElement( doc, root, prop )
@ -128,9 +128,9 @@ void ExchangeConverterCalendar::createRequestAppointment( TQDomDocument &doc, TQ
}
#define propertyTask1( prop ) \
WebdavHandler::addElement( doc, props, "t1:"prop )
WebdavHandler::addElement( doc, props, "t1:" prop )
#define propertyTask2( prop ) \
WebdavHandler::addElement( doc, props, "t2:"prop )
WebdavHandler::addElement( doc, props, "t2:" prop )
void ExchangeConverterCalendar::createRequestTask( TQDomDocument &doc, TQDomElement &props )
{
@ -564,15 +564,15 @@ Incidence::List ExchangeConverterCalendar::parseWebDAV( const TQDomDocument& dav
#define domDavProperty( name, value ) \
WebdavHandler::addElement( mDoc, mElement, "d:"name, value )
WebdavHandler::addElement( mDoc, mElement, "d:" name, value )
#define domProperty( NS, name, value ) \
WebdavHandler::addElementNS( mDoc, mElement, NS, name, value )
#define domCalendarProperty( name, value ) \
WebdavHandler::addElement( mDoc, mElement, "c:"name, value )
WebdavHandler::addElement( mDoc, mElement, "c:" name, value )
#define domHTTPMailProperty( name, value ) \
WebdavHandler::addElement( mDoc, mElement, "m:"name, value )
WebdavHandler::addElement( mDoc, mElement, "m:" name, value )
#define domMailHeaderProperty( name, value ) \
WebdavHandler::addElement( mDoc, mElement, "h:"name, value )
WebdavHandler::addElement( mDoc, mElement, "h:" name, value )

Loading…
Cancel
Save