summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2016-09-03 15:49:18 +0200
committerSlávek Banko <slavek.banko@axis.cz>2016-09-03 15:49:18 +0200
commitdcf83fa05df5be638bd93b7b13e2ad7d1335ec65 (patch)
tree0be31bf88a16e4bd48ab9b576e99c527688a5bec
parent4728d07ecb5e8a3df3512724f414b9feaa0b9c02 (diff)
downloadtdepim-dcf83fa05df5be638bd93b7b13e2ad7d1335ec65.tar.gz
tdepim-dcf83fa05df5be638bd93b7b13e2ad7d1335ec65.zip
Fix FTBFS with GCC6
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--kontact/plugins/specialdates/specialdates_plugin.h2
-rw-r--r--tderesources/groupwise/soap/incidenceconverter.cpp2
-rw-r--r--tderesources/newexchange/exchangeconvertercalendar.cpp20
3 files changed, 12 insertions, 12 deletions
diff --git a/kontact/plugins/specialdates/specialdates_plugin.h b/kontact/plugins/specialdates/specialdates_plugin.h
index e0ac8a0e1..a0da69388 100644
--- a/kontact/plugins/specialdates/specialdates_plugin.h
+++ b/kontact/plugins/specialdates/specialdates_plugin.h
@@ -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;
diff --git a/tderesources/groupwise/soap/incidenceconverter.cpp b/tderesources/groupwise/soap/incidenceconverter.cpp
index 3f08a534f..84e28e698 100644
--- a/tderesources/groupwise/soap/incidenceconverter.cpp
+++ b/tderesources/groupwise/soap/incidenceconverter.cpp
@@ -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 );
diff --git a/tderesources/newexchange/exchangeconvertercalendar.cpp b/tderesources/newexchange/exchangeconvertercalendar.cpp
index bf2a66db9..85baf9747 100644
--- a/tderesources/newexchange/exchangeconvertercalendar.cpp
+++ b/tderesources/newexchange/exchangeconvertercalendar.cpp
@@ -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 )