X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Fnetworkmodelcontroller.h;h=4b85957421774662ad62bd67df04fae0a6c3f167;hb=f00917808808161cc5fb01d0ac4da13ffffbffbb;hp=3abc79dd7601ea5a668ae1a489df5d72c6faf56a;hpb=ccd09eb6ca7377f51d57c546f99c9b1c30ef97c1;p=quassel.git diff --git a/src/uisupport/networkmodelcontroller.h b/src/uisupport/networkmodelcontroller.h index 3abc79dd..4b859574 100644 --- a/src/uisupport/networkmodelcontroller.h +++ b/src/uisupport/networkmodelcontroller.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2016 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 * @@ -75,6 +75,7 @@ public: JoinChannel = 0x1000, ShowChannelList = 0x2000, ShowIgnoreList = 0x3000, + ShowNetworkConfig = 0x4000, // Nick actions NickMask = 0xff0000, @@ -153,7 +154,17 @@ 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 + * @param listImmediately If true, immediately list channels, otherwise just show dialog + */ + void showChannelList(NetworkId, const QString &, bool); + void showNetworkConfig(NetworkId); void showIgnoreList(QString); protected: