2017-02-19 22:48:44 +08:00
|
|
|
/*
|
|
|
|
Copyright © 2017 by The qTox Project Contributors
|
|
|
|
|
|
|
|
This file is part of qTox, a Qt-based graphical interface for Tox.
|
|
|
|
|
|
|
|
qTox is libre software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
|
|
|
|
|
|
|
qTox is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with qTox. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*/
|
|
|
|
|
2017-02-06 23:20:45 +08:00
|
|
|
#ifndef TEXTFORMATTER_H
|
|
|
|
#define TEXTFORMATTER_H
|
|
|
|
|
|
|
|
#include <QString>
|
|
|
|
|
2017-07-08 03:21:50 +08:00
|
|
|
QString highlightURL(const QString& message);
|
|
|
|
|
2017-07-08 19:20:37 +08:00
|
|
|
QString applyMarkdown(const QString& message, bool showFormattingSymbols);
|
2017-02-06 23:20:45 +08:00
|
|
|
|
|
|
|
#endif // TEXTFORMATTER_H
|