void Identity::copy(const Identity& original) { setName(original.getName()); setRealName(original.getRealName()); setIdent(original.getIdent()); setNicknameList(original.getNicknameList()); setAuthType(original.getAuthType()); setAuthPassword(original.getAuthPassword()); setNickservNickname(original.getNickservNickname()); setNickservCommand(original.getNickservCommand()); setSaslAccount(original.getSaslAccount()); setPemClientCertFile(original.getPemClientCertFile()); setQuitReason(original.getQuitReason()); setPartReason(original.getPartReason()); setKickReason(original.getKickReason()); setInsertRememberLineOnAway(original.getInsertRememberLineOnAway()); setRunAwayCommands(original.getRunAwayCommands()); setAwayCommand(original.getAwayCommand()); setAwayMessage(original.getAwayMessage()); setAwayNickname(original.getAwayNickname()); setReturnCommand(original.getReturnCommand()); setAutomaticAway(original.getAutomaticAway()); setAwayInactivity(original.getAwayInactivity()); setAutomaticUnaway(original.getAutomaticUnaway()); setShellCommand(original.getShellCommand()); setCodecName(original.getCodecName()); }
void Identity::init() { setCodecName(Konversation::IRCCharsets::self()->encodingForLocale()); setInsertRememberLineOnAway(false); setQuitReason("Konversation terminated!"); setPartReason("Konversation terminated!"); setKickReason("User terminated!"); setShowAwayMessage(false); setAwayMessage("/me is away: %s"); setReturnMessage("/me is back."); setAutomaticAway(false); setAwayInactivity(10); setAutomaticUnaway(false); }
void Identity::copy(const Identity& original) { setName(original.getName()); setRealName(original.getRealName()); setIdent(original.getIdent()); setNicknameList(original.getNicknameList()); setBot(original.getBot()); setPassword(original.getPassword()); setQuitReason(original.getQuitReason()); setPartReason(original.getPartReason()); setKickReason(original.getKickReason()); setInsertRememberLineOnAway(original.getInsertRememberLineOnAway()); setShowAwayMessage(original.getShowAwayMessage()); setAwayMessage(original.getAwayMessage()); setAwayNick(original.getAwayNick()); setReturnMessage(original.getReturnMessage()); setAutomaticAway(original.getAutomaticAway()); setAwayInactivity(original.getAwayInactivity()); setAutomaticUnaway(original.getAutomaticUnaway()); setShellCommand(original.getShellCommand()); setCodecName(original.getCodecName()); }
void Identity::init() { setAuthType(QStringLiteral("nickserv")); setNickservNickname(QStringLiteral("nickserv")); setNickservCommand(QStringLiteral("identify")); setCodecName(Konversation::IRCCharsets::self()->encodingForLocale()); setInsertRememberLineOnAway(false); setQuitReason(QStringLiteral("Konversation terminated!")); setPartReason(QStringLiteral("Konversation terminated!")); setKickReason(QStringLiteral("User terminated!")); setAwayMessage(QStringLiteral("Gone away for now")); setRunAwayCommands(false); setAutomaticAway(false); setAwayInactivity(10); setAutomaticUnaway(false); }