• Skip to content
  • Skip to link menu
  • KDE API Reference
  • KDE Home
  • Contact Us
 

Nepomuk-Core

  • KTp
  • OutgoingMessage
Public Member Functions | Protected Member Functions | List of all members
KTp::OutgoingMessage Class Reference

#include <outgoing-message.h>

Public Member Functions

 OutgoingMessage (const KTp::OutgoingMessage &other)
virtual ~OutgoingMessage ()
KTp::OutgoingMessage & operator= (const KTp::OutgoingMessage &other)
void setText (const QString &text)
void setType (Tp::ChannelTextMessageType type)
QString text () const
Tp::ChannelTextMessageType type () const

Protected Member Functions

 OutgoingMessage (const QString &messageText)

Detailed Description

An encapsualtion of a message that is to be sent out
Author
David Edmundson kde@d.nosp@m.avid.nosp@m.edmun.nosp@m.dson.nosp@m..co.u.nosp@m.k

Definition at line 40 of file outgoing-message.h.

Constructor & Destructor Documentation

OutgoingMessage::OutgoingMessage ( const KTp::OutgoingMessage &  other)

Definition at line 42 of file outgoing-message.cpp.

OutgoingMessage::~OutgoingMessage ( )
virtual

Definition at line 58 of file outgoing-message.cpp.

OutgoingMessage::OutgoingMessage ( const QString &  messageText)
explicitprotected

Definition at line 52 of file outgoing-message.cpp.

Member Function Documentation

OutgoingMessage & OutgoingMessage::operator= ( const KTp::OutgoingMessage &  other)

Definition at line 47 of file outgoing-message.cpp.

void OutgoingMessage::setText ( const QString &  text)

Definition at line 67 of file outgoing-message.cpp.

void OutgoingMessage::setType ( Tp::ChannelTextMessageType  type)

Definition at line 77 of file outgoing-message.cpp.

QString OutgoingMessage::text ( ) const

The body of the message.

Returns
the contents of the message as a plain string

Definition at line 62 of file outgoing-message.cpp.

Tp::ChannelTextMessageType OutgoingMessage::type ( ) const

Definition at line 72 of file outgoing-message.cpp.


The documentation for this class was generated from the following files:
  • outgoing-message.h
  • outgoing-message.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Fri Mar 22 2013 10:58:52 by doxygen 1.8.1.2 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

ktp-common-internals API Reference

Skip menu "ktp-common-internals API Reference"
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal