void requestNetworkStates();
void showConfigWizard(const QVariantMap &coredata);
+ void showChannelList(NetworkId networkId);
void showIgnoreList(QString ignoreRule);
void connected();
);
}
+void ClientUserInputHandler::handleList(const BufferInfo &bufferInfo, const QString &text)
+{
+ emit Client::instance()->showChannelList(bufferInfo.networkId());
+}
+
void ClientUserInputHandler::switchBuffer(const NetworkId &networkId, const QString &bufferName)
{
void handleJoin(const BufferInfo &bufferInfo, const QString &text);
void handleQuery(const BufferInfo &bufferInfo, const QString &text);
void handleIgnore(const BufferInfo &bufferInfo, const QString &text);
+ void handleList(const BufferInfo &bufferInfo, const QString &text);
void defaultHandler(const QString &cmd, const BufferInfo &bufferInfo, const QString &text);
private:
connect(Client::messageModel(), SIGNAL(rowsInserted(const QModelIndex &, int, int)),
SLOT(messagesInserted(const QModelIndex &, int, int)));
connect(GraphicalUi::contextMenuActionProvider(), SIGNAL(showChannelList(NetworkId)), SLOT(showChannelList(NetworkId)));
+ connect(Client::instance(), SIGNAL(showChannelList(NetworkId)), SLOT(showChannelList(NetworkId)));
connect(GraphicalUi::contextMenuActionProvider(), SIGNAL(showIgnoreList(QString)), SLOT(showIgnoreList(QString)));
connect(Client::instance(), SIGNAL(showIgnoreList(QString)), SLOT(showIgnoreList(QString)));