Communi  3.0.0
A cross-platform IRC framework written with Qt
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Macros Groups Pages
Public Member Functions | Properties | List of all members
IrcUser Class Reference

Keeps track of user status on a channel. More...

Inherits QObject.

Public Member Functions

 IrcUser (QObject *parent=0)
 
virtual ~IrcUser ()
 

Properties

IrcChannel channel
 
QString mode
 
QString name
 
QString prefix
 
QString title
 

Detailed Description

See Also
IrcUserModel

Constructor & Destructor Documentation

IrcUser::IrcUser ( QObject parent = 0)
explicit

Constructs a new user with parent.

IrcUser::~IrcUser ( )
virtual

Destructs the user object.

Property Documentation

IrcChannel * IrcUser::channel
read

This property holds the channel of the user.

Access function:
QString IrcUser::mode
read

This property holds the mode letter.

Typical mode letters are o (op) and v (voice).

Access function:
Notifier signal:
  • void modeChanged(const QString& mode)
QString IrcUser::name
read

This property holds the name.

Access function:
Notifier signal:
  • void nameChanged(const QString& name)
QString IrcUser::prefix
read

This property holds the prefix character.

Typical prefix characters are @ (op) and + (voice).

Access function:
Notifier signal:
  • void prefixChanged(const QString& prefix)
QString IrcUser::title
read

This property holds the title.

The title consists of prefix and name.

Access function:
Notifier signal:
  • void titleChanged(const QString& title)