+class NetworkEditDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ NetworkEditDlg(const QString &old, const QStringList &existing = QStringList(), QWidget *parent = 0);
+
+ QString networkName() const;
+
+private slots:
+ void on_networkEdit_textChanged(const QString &);
+
+private:
+ Ui::NetworkEditDlg ui;
+
+ QStringList existing;
+};
+
+
+class ServerEditDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ ServerEditDlg(const Network::Server &server = Network::Server(), QWidget *parent = 0);
+
+ Network::Server serverData() const;
+
+private slots:
+ void on_host_textChanged();
+
+private:
+ Ui::ServerEditDlg ui;
+};
+
+
+class SaveNetworksDlg : public QDialog
+{
+ Q_OBJECT
+
+public:
+ SaveNetworksDlg(const QList<NetworkInfo> &toCreate, const QList<NetworkInfo> &toUpdate, const QList<NetworkId> &toRemove, QWidget *parent = 0);
+
+private slots:
+ void clientEvent();
+
+private:
+ Ui::SaveIdentitiesDlg ui;
+
+ int numevents, rcvevents;