23 #ifndef __IRCNETWORKCONNECTIONINFO_H__ 24 #define __IRCNETWORKCONNECTIONINFO_H__ 26 #include <QHostAddress> 28 #include "irc/entities/ircnetworkentity.h" 75 if (alternateNick.isEmpty())
77 alternateNick = nick +
"`";
80 if (realName.isEmpty())
Struct containing information about client's connection to the IRC server.
IRCNetworkEntity networkEntity
Information about the network to which we will connect.
void fillInMissingFields()
Fills missing data with presets.
Data structure that describes and defines a connection to an IRC network or server.
QString realName
User's real name. Optional.
QString alternateNick
Alternate nickname in case if ' nick ' is taken when connecting.
QString nick
Original nickname. This variable will always store the current nickname of the client.
static QString createRandomAlphaNumericString(unsigned numChars)
Creates a random string with specified length.