qTox
Version: nightly | Commit: bc751c8e1cac455f9690654fcfe0f560d2d7dfdd
|
#include <message.h>
Public Member Functions | |
SharedParams (uint64_t maxCoreMessageSize_, uint64_t maxExtendedMessageSize_) | |
QRegularExpression | getNameMention () const |
QRegularExpression | getSanitizedNameMention () const |
QRegularExpression | getPublicKeyMention () const |
void | onUserNameSet (const QString &username) |
void | setPublicKey (const QString &pk) |
Set the public key on which a message should be highlighted. More... | |
uint64_t | getMaxCoreMessageSize () const |
uint64_t | getMaxExtendedMessageSize () const |
Private Attributes | |
uint64_t | maxCoreMessageSize |
uint64_t | maxExtendedMessageSize |
QRegularExpression | nameMention |
QRegularExpression | sanitizedNameMention |
QRegularExpression | pubKeyMention |
Parameters needed by all message processors. Used to reduce duplication of expensive data looked at by all message processors
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void MessageProcessor::SharedParams::onUserNameSet | ( | const QString & | username | ) |
Definition at line 58 of file message.cpp.
void MessageProcessor::SharedParams::setPublicKey | ( | const QString & | pk | ) |
Set the public key on which a message should be highlighted.
pk | ToxPk in its hex string form |
Definition at line 72 of file message.cpp.
|
private |
|
private |
|
private |
|
private |
|
private |