23 #ifndef __CFGIRCDEFINENETWORKDIALOG_H__ 24 #define __CFGIRCDEFINENETWORKDIALOG_H__ 29 #include <QtContainerFwd> 32 class QAbstractButton;
50 void accept()
override;
55 bool askToAcceptAnywayWhenCommandsBad(
const QStringList &offenders);
56 QStringList autojoinCommands()
const;
58 QStringList formatOffenders(
const QStringList &offenders)
const;
60 bool isDescriptionUnique()
const;
61 bool isValidDescription()
const;
62 QList<IRCNetworkEntity> listExistingNetworks()
const;
66 QStringList validateAutojoinCommands()
const;
67 bool validateDescription();
70 void buttonClicked(QAbstractButton *button);
Data structure that describes and defines a connection to an IRC network or server.
void setExistingNetworks(const QList< IRCNetworkEntity > &networks)
Overrides extraction from config if not-empty list is set.