Added "Open in: new tab, browser player, streamlink" in twitch link context menu. (#2988)

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
SLCH
2021-07-11 15:54:19 +04:00
committed by GitHub
parent 975b39fe10
commit faafbdaad4
5 changed files with 99 additions and 22 deletions
+13
View File
@@ -114,6 +114,19 @@ private:
void handleModifiers(Qt::KeyboardModifiers modifiers);
void updateInputPlaceholder();
/**
* @brief Opens twitch channel stream in a browser player (opens a formatted link)
*/
void openChannelInBrowserPlayer(ChannelPtr channel);
/**
* @brief Opens twitch channel stream in streamlink app (if stream is live and streamlink is installed)
*/
void openChannelInStreamlink(QString channelName);
/**
* @brief Opens twitch channel chat in a new chatterino tab
*/
void joinChannelInNewTab(ChannelPtr channel);
IndirectChannel channel_;
bool moderationMode_{};