#include "buffermodel.h"
#include "bufferinfo.h"
-
-class Network;
+#include "identity.h"
+#include "network.h";
class InputWidget : public QWidget {
Q_OBJECT
void enterPressed();
void changeNick(const QString &newNick) const;
+ void setNetwork(const Network *network);
+ void setIdentity(const IdentityId &identityId);
void updateNickSelector() const;
signals:
QPointer<BufferModel> _bufferModel;
QPointer<QItemSelectionModel> _selectionModel;
+ NetworkId _networkId;
+ IdentityId _identityId;
};