#include "identity.h"
#include "network.h"
+class InputLine;
+
class InputWidget : public AbstractItemView {
Q_OBJECT
const Network *currentNetwork() const;
+ inline InputLine* inputLine() const { return ui.inputEdit; }
+
protected slots:
virtual void currentChanged(const QModelIndex ¤t, const QModelIndex &previous);
virtual void dataChanged(const QModelIndex &topLeft, const QModelIndex &bottomRight);
void setNetwork(const Network *network);
void setIdentity(const IdentityId &identityId);
void updateNickSelector() const;
+ void updateEnabledState();
BufferInfo currentBufferInfo() const;
private:
Ui::InputWidget ui;
-
- bool validBuffer;
NetworkId _networkId;
IdentityId _identityId;
-
};