Communi  1.1.0
A cross-platform IRC client library written with Qt 4
 All Classes Files Functions Enumerations Enumerator Properties Macros Groups Pages
Public Member Functions | Properties
IrcPrivateMessage Class Reference

The IrcPrivateMessage class represents a private IRC message. More...

#include <IrcMessage>

Inherits IrcMessage.

List of all members.

Public Member Functions

Q_INVOKABLE IrcPrivateMessage (QObject *parent=0)
- Public Member Functions inherited from IrcMessage
Q_INVOKABLE IrcMessage (QObject *parent=0)
virtual ~IrcMessage ()
Q_INVOKABLE QByteArray toData () const

Properties

bool action
QString message
bool request
QString target
- Properties inherited from IrcMessage
QString command
bool own
QStringList parameters
IrcSender sender
Type type
bool valid

Additional Inherited Members

- Public Types inherited from IrcMessage
enum  Type {
  Unknown, Nick, Quit, Join,
  Part, Topic, Invite, Kick,
  Mode, Private, Notice, Ping,
  Pong, Error, Numeric
}
- Static Public Member Functions inherited from IrcMessage
static Q_INVOKABLE IrcMessagefromCommand (const QString &sender, IrcCommand *command, QObject *parent=0)
static Q_INVOKABLE IrcMessagefromData (const QByteArray &data, const QByteArray &encoding, QObject *parent=0)

Detailed Description

The IrcPrivateMessage class represents a private IRC message.


Constructor & Destructor Documentation

IrcPrivateMessage::IrcPrivateMessage ( QObject *  parent = 0)
explicit

Constructs a new IrcPrivateMessage with parent.


Property Documentation

bool IrcPrivateMessage::action
read

This property is true if the message is an action; otherwise false.

Access functions:
  • bool isAction() const
QString IrcPrivateMessage::message
read

This property holds the message.

Access functions:
  • QString message() const
bool IrcPrivateMessage::request
read

This property is true if the message is a request; otherwise false.

Access functions:
  • bool isRequest() const
QString IrcPrivateMessage::target
read

This property holds the target channel or user in question.

Access functions:
  • QString target() const

The documentation for this class was generated from the following files: