X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fnetworkmodelcontroller.h;h=5ffe127275ae4c50949b326c9659b62bf166b928;hp=f83e23f33df99414ec3dbf2b3cc780b6bbde9ab5;hb=8e93326fd70af3c0accc599770796619ef3cee6e;hpb=d82f98b8cf9c7c83f3aab1d7f010ccf8bdd2c003 diff --git a/src/uisupport/networkmodelcontroller.h b/src/uisupport/networkmodelcontroller.h index f83e23f3..5ffe1272 100644 --- a/src/uisupport/networkmodelcontroller.h +++ b/src/uisupport/networkmodelcontroller.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -45,8 +45,10 @@ public: NetworkMask = 0x0f, NetworkConnect = 0x01, NetworkDisconnect = 0x02, - NetworkConnectAll = 0x03, - NetworkDisconnectAll = 0x04, + NetworkConnectAllWithDropdown = 0x03, + NetworkDisconnectAllWithDropdown = 0x04, + NetworkConnectAll = 0x05, + NetworkDisconnectAll = 0x06, // Buffer actions BufferMask = 0xf0, @@ -73,6 +75,7 @@ public: JoinChannel = 0x1000, ShowChannelList = 0x2000, ShowIgnoreList = 0x3000, + ShowNetworkConfig = 0x4000, // Nick actions NickMask = 0xff0000, @@ -151,7 +154,16 @@ protected slots: virtual void actionTriggered(QAction *); signals: - void showChannelList(NetworkId); + /** + * Request to show the channel list dialog for the network, optionally searching by channel name + * + * @see MainWin::showChannelList() + * + * @param networkId Network ID for associated network + * @param channelFilters Partial channel name to search for, or empty to show all + */ + void showChannelList(NetworkId, const QString &); + void showNetworkConfig(NetworkId); void showIgnoreList(QString); protected: