Commit 5ef8844e authored by Laurent Montel's avatar Laurent Montel 😁

Remove old unimplement now method

parent 32b09ea7
......@@ -17,7 +17,7 @@ include(KDECMakeSettings)
include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include(ECMQtDeclareLoggingCategory)
set(PIM_VERSION "5.2.40")
set(PIM_VERSION "5.2.41")
set(CALENDARUTILS_LIB_VERSION ${PIM_VERSION})
set(CALENDARCORE_LIB_VERSION "5.2.40")
......
......@@ -2439,16 +2439,6 @@ QString IncidenceFormatter::formatICalInvitation(const QString &invitation,
KSystemTimeZones::local(), QString());
}
QString IncidenceFormatter::formatICalInvitation(const QString &invitation,
const MemoryCalendar::Ptr &calendar,
InvitationFormatterHelper *helper,
bool outlookCompareStyle)
{
Q_UNUSED(outlookCompareStyle);
return formatICalInvitationHelper(invitation, calendar, helper, false,
KSystemTimeZones::local(), QString());
}
QString IncidenceFormatter::formatICalInvitationNoHtml(const QString &invitation,
const MemoryCalendar::Ptr &calendar,
InvitationFormatterHelper *helper,
......@@ -2458,17 +2448,6 @@ QString IncidenceFormatter::formatICalInvitationNoHtml(const QString &invitation
KSystemTimeZones::local(), sender);
}
QString IncidenceFormatter::formatICalInvitationNoHtml(const QString &invitation,
const MemoryCalendar::Ptr &calendar,
InvitationFormatterHelper *helper,
const QString &sender,
bool outlookCompareStyle)
{
Q_UNUSED(outlookCompareStyle);
return formatICalInvitationHelper(invitation, calendar, helper, true,
KSystemTimeZones::local(), sender);
}
/*******************************************************************
* Helper functions for the Incidence tooltips
*******************************************************************/
......
......@@ -129,25 +129,6 @@ KCALUTILS_EXPORT QString extensiveDisplayStr(const QString &sourceName,
KCALUTILS_EXPORT QString mailBodyStr(const KCalCore::IncidenceBase::Ptr &incidence,
const KDateTime::Spec &spec = KDateTime::Spec());
/**
Deliver an HTML formatted string displaying an invitation.
Use the time zone from mCalendar.
@param invitation a QString containing a string representation of a calendar Incidence
which will be intrepreted as an invitation.
@param calendar is a pointer to the Calendar that owns the invitation.
@param helper is a pointer to an InvitationFormatterHelper.
@param outlookCompareStyle if true, display updated invitation comparisons in the style
of Microsoft Outlook (tm); else use our own "classic" style.
@deprecated Use formatICalInvitation(const QString &, const KCalCore::MemoryCalendar::Ptr &, InvitationFormatterHelper *helper)
*/
KCALUTILS_DEPRECATED KCALUTILS_EXPORT QString formatICalInvitation(
const QString &invitation,
const KCalCore::MemoryCalendar::Ptr &calendar,
InvitationFormatterHelper *helper,
bool outlookCompareStyle);
/**
Deliver an HTML formatted string displaying an invitation.
Use the time zone from mCalendar.
......@@ -164,28 +145,6 @@ KCALUTILS_EXPORT QString formatICalInvitation(
const KCalCore::MemoryCalendar::Ptr &calendar,
InvitationFormatterHelper *helper);
/**
Deliver an HTML formatted string displaying an invitation.
Differs from formatICalInvitation() in that invitation details (summary, location, etc)
have HTML formatting cleaned.
Use the time zone from calendar.
@param invitation a QString containing a string representation of a calendar Incidence
which will be intrepreted as an invitation.
@param calendar is a pointer to the Calendar that owns the invitation.
@param helper is a pointer to an InvitationFormatterHelper.
@param sender is a QString containing the email address of the person sending the invitation.
@param outlookCompareStyle if true, display updated invitation comparisons in the style
of Microsoft Outlook (tm); else use our own "classic" style.
@deprecated Use formatICalInvitationNoHtml(const QString &, const KCalCore::MemoryCalendar::Ptr &, InvitationFormatterHelper *, const QString &)
*/
KCALUTILS_DEPRECATED KCALUTILS_EXPORT QString formatICalInvitationNoHtml(
const QString &invitation,
const KCalCore::MemoryCalendar::Ptr &calendar,
InvitationFormatterHelper *helper,
const QString &sender,
bool outlookCompareStyle);
/**
Deliver an HTML formatted string displaying an invitation.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment