Rework message parser

This commit is contained in:
Fabio Bas 2015-07-12 23:56:32 +02:00
parent 97f298452e
commit 87c70466a4
2 changed files with 199 additions and 274 deletions

View file

@ -44,6 +44,9 @@ private:
bool shouldShowSystemPopup();
void showSystemPopup(QString &sender);
bool isModeratorSendingGlobal(QFlags<ServerInfo_User::UserLevelFlag> userLevelFlag, QString message);
void checkTag(QTextCursor &cursor, QString &message);
void checkMention(QTextCursor &cursor, QString &message, QString &sender, UserLevelFlags userLevel);
void checkWord(QTextCursor &cursor, QString &message);
private slots:
void openLink(const QUrl &link);
void actMessageClicked();