X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchannellistdlg.h;h=b818778225bc54c5046f84b7c254e9c662510e22;hp=e8a01ff34d8e7caa4c3ec5d8df43cac216c7a834;hb=8e93326fd70af3c0accc599770796619ef3cee6e;hpb=37110ceaa070167b4f40ed449ac9ea130503a792 diff --git a/src/qtui/channellistdlg.h b/src/qtui/channellistdlg.h index e8a01ff3..b8187782 100644 --- a/src/qtui/channellistdlg.h +++ b/src/qtui/channellistdlg.h @@ -40,6 +40,16 @@ public: void setNetwork(NetworkId netId); + /** + * Set the channel search string, enabling advanced mode if needed + * + * Sets the channel name search text to the specified string, enabling advanced mode. If search + * string is empty, advanced mode will be automatically hidden. + * + * @param channelFilters Partial channel name to search for, or empty to not filter by name + */ + void setChannelFilters(const QString &channelFilters); + protected slots: void requestSearch(); void receiveChannelList(const NetworkId &netId, const QStringList &channelFilters, const QList &channelList);