Keeps track of user status on a channel. More...
#include <IrcUser>
Inherits QObject.
Public Member Functions | |
IrcUser (QObject *parent=nullptr) | |
~IrcUser () override | |
IrcChannel * | channel () const |
QString | mode () const |
QString | name () const |
QString | prefix () const |
QString | title () const |
Properties | |
bool | away |
bool | servOp |
|
explicit |
Constructs a new user with parent.
|
override |
Destructs the user object.
IrcChannel * IrcUser::channel | ( | ) | const |
This property holds the channel of the user.
QString IrcUser::mode | ( | ) | const |
This property holds the mode letter.
Typical mode letters are o
(op) and v
(voice).
multi-prefix
capability is enabled.QString IrcUser::name | ( | ) | const |
This property holds the name.
QString IrcUser::prefix | ( | ) | const |
This property holds the prefix character.
Typical prefix characters are @
(op) and +
(voice).
multi-prefix
capability is enabled.QString IrcUser::title | ( | ) | const |
This property holds the title.
The title consists of prefix and name.
|
read |
This property holds whether the user is marked as being away.
|
read |
This property holds whether the user is a server operator.