IRCNetworkConnectionInfo Struct Reference

Struct containing information about client's connection to the IRC server. More...

#include <ircnetworkconnectioninfo.h>

Public Member Functions

IRCNetworkConnectionInfo autoFilled () const
 Fills missing data with presets.
 

Public Attributes

QString alternateNick
 Alternate nickname in case if ' nick ' is taken when connecting.
 
IRCNetworkEntity networkEntity
 Information about the network to which we will connect.
 
QString nick
 Original nickname. This variable will always store the current nickname of the client.
 
QString realName
 User's real name. Optional.
 
QString userName
 User name sent in /user command.
 

Detailed Description

Struct containing information about client's connection to the IRC server.

Definition at line 35 of file ircnetworkconnectioninfo.h.

Member Function Documentation

IRCNetworkConnectionInfo IRCNetworkConnectionInfo::autoFilled ( ) const
inline

Fills missing data with presets.

  • If nick is empty it is changed to Doomseeker_ + <4 random alphanum chars>
  • If alternateNick is empty it is changed to nick + "`"
  • If realName is empty it is changed to nick.
  • If userName is empty it is changed to nick.

Definition at line 73 of file ircnetworkconnectioninfo.h.

Member Data Documentation

QString IRCNetworkConnectionInfo::alternateNick

Alternate nickname in case if ' nick ' is taken when connecting.

Definition at line 41 of file ircnetworkconnectioninfo.h.

IRCNetworkEntity IRCNetworkConnectionInfo::networkEntity

Information about the network to which we will connect.

Definition at line 46 of file ircnetworkconnectioninfo.h.

QString IRCNetworkConnectionInfo::nick

Original nickname. This variable will always store the current nickname of the client.

Definition at line 52 of file ircnetworkconnectioninfo.h.

QString IRCNetworkConnectionInfo::realName

User's real name. Optional.

Definition at line 57 of file ircnetworkconnectioninfo.h.

QString IRCNetworkConnectionInfo::userName

User name sent in /user command.

Definition at line 62 of file ircnetworkconnectioninfo.h.


The documentation for this struct was generated from the following file: