Chatterino
Public Types | Public Member Functions | Public Attributes | List of all members
chatterino::Link Struct Reference

#include <Link.hpp>

Public Types

enum  Type {
  None, Url, CloseCurrentSplit, UserInfo,
  UserTimeout, UserBan, UserWhisper, InsertText,
  ShowMessage, UserAction, AutoModAllow, AutoModDeny,
  OpenAccountsPage, JumpToChannel, Reconnect, CopyToClipboard,
  ReplyToMessage, ViewThread, JumpToMessage
}
 

Public Member Functions

 Link ()
 
 Link (Type getType, const QString &getValue)
 
bool isValid () const
 
bool isUrl () const
 

Public Attributes

Type type
 
QString value
 

Member Enumeration Documentation

◆ Type

Enumerator
None 
Url 
CloseCurrentSplit 
UserInfo 
UserTimeout 
UserBan 
UserWhisper 
InsertText 
ShowMessage 
UserAction 
AutoModAllow 
AutoModDeny 
OpenAccountsPage 
JumpToChannel 
Reconnect 
CopyToClipboard 
ReplyToMessage 
ViewThread 
JumpToMessage 

Constructor & Destructor Documentation

◆ Link() [1/2]

chatterino::Link::Link ( )

◆ Link() [2/2]

chatterino::Link::Link ( Type  getType,
const QString &  getValue 
)

Member Function Documentation

◆ isUrl()

bool chatterino::Link::isUrl ( ) const
Here is the caller graph for this function:

◆ isValid()

bool chatterino::Link::isValid ( ) const
Here is the caller graph for this function:

Member Data Documentation

◆ type

Type chatterino::Link::type

◆ value

QString chatterino::Link::value

The documentation for this struct was generated from the following files: