MessageComposer::ItipPart Class

The ItipPart class. More...

Header: #include <MessageComposer/ItipPart>
CMake: find_package(KPim6MessageComposer REQUIRED)
target_link_libraries(mytarget PRIVATE KPim6::MessageComposer)
Inherits: MessageComposer::MessagePart

Public Functions

ItipPart(QObject *parent = nullptr)
virtual ~ItipPart() override
QString invitation() const
QString invitationBody() const
QString method() const
bool outlookConformInvitation() const
void setInvitation(const QString &invitation)
void setInvitationBody(const QString &invitationBody)
void setMethod(const QString &method)
void setOutlookConformInvitation(bool enabled)

Signals

Detailed Description

Member Function Documentation

[explicit] ItipPart::ItipPart(QObject *parent = nullptr)

Constructs an ItipPart. parent The parent object.

[override virtual noexcept] ItipPart::~ItipPart()

Destroys the ItipPart.

QString ItipPart::invitation() const

Returns the invitation iCalendar data.

See also setInvitation().

QString ItipPart::invitationBody() const

Returns the plain text body of the invitation.

See also setInvitationBody().

[signal] void ItipPart::invitationBodyChanged()

Emitted when the invitation body text changes.

[signal] void ItipPart::invitationChanged()

Emitted when the invitation iCalendar data changes.

QString ItipPart::method() const

Returns the iCalendar method (PUBLISH, REQUEST, REPLY, etc.).

See also setMethod().

[signal] void ItipPart::methodChanged()

Emitted when the iCalendar method changes.

bool ItipPart::outlookConformInvitation() const

Returns whether the invitation should conform to Outlook format.

See also setOutlookConformInvitation().

[signal] void ItipPart::outlookConformInvitationChanged()

Emitted when the Outlook conformance setting changes.

void ItipPart::setInvitation(const QString &invitation)

Sets the invitation iCalendar data. invitation The iCalendar event data.

See also invitation().

void ItipPart::setInvitationBody(const QString &invitationBody)

Sets the plain text body of the invitation. invitationBody The invitation body text.

See also invitationBody().

void ItipPart::setMethod(const QString &method)

Sets the iCalendar method. method The method string (e.g., "PUBLISH", "REQUEST").

See also method().

void ItipPart::setOutlookConformInvitation(bool enabled)

Sets whether the invitation should conform to Outlook format. enabled True to use Outlook-compatible format.

See also outlookConformInvitation().