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