class Message;
class Identity;
-class NetworkInfo;
+class Network;
class AbstractUi;
class AbstractUiMsg;
class NetworkModel;
+class BufferModel;
class SignalProxy;
class QTimer;
static void destroy();
static void init(AbstractUi *);
- static QList<NetworkInfo *> networkInfos();
- static NetworkInfo *networkInfo(uint networkid);
+ static QList<Network *> networks();
+ static Network *network(uint networkid);
static QList<BufferInfo> allBufferInfos();
static QList<Buffer *> buffers();
static void removeIdentity(IdentityId id);
static NetworkModel *networkModel();
+ static BufferModel *bufferModel();
static SignalProxy *signalProxy();
static AbstractUiMsg *layoutMsg(const Message &);
void layoutMsg();
void bufferDestroyed();
- void networkInfoDestroyed();
+ void networkDestroyed();
void ircChannelAdded(QString);
void coreIdentityCreated(const Identity &);
void coreIdentityRemoved(IdentityId);
QPointer<SignalProxy> _signalProxy;
QPointer<AbstractUi> mainUi;
QPointer<NetworkModel> _networkModel;
+ QPointer<BufferModel> _bufferModel;
ClientMode clientMode;
QVariantMap coreConnectionInfo;
QHash<BufferId, Buffer *> _buffers;
- QHash<NetworkId, NetworkInfo *> _networkInfo;
+ QHash<NetworkId, Network *> _network;
QHash<IdentityId, Identity *> _identities;
QTimer *layoutTimer;