KVIrc  4.9.2
DeveloperAPIs
KviHtmlGenerator.h
Go to the documentation of this file.
1 #ifndef _KVI_HTMLGENERATOR_H_
2 #define _KVI_HTMLGENERATOR_H_
3 //=============================================================================
4 //
5 // File : KviHtmlGenerator.h
6 // Creation date : Mon 04 Jan 2010 22:09:18 by Fabio Bas
7 //
8 // This file is part of the KVIrc IRC client distribution
9 // Copyright (C) 2010 Fabio Bas < ctrlaltca at gmail dot com >
10 // Copyright (C) 2012 Elvio Basello < hellvis69 at gmail dot com >
11 //
12 // This program is FREE software. You can redistribute it and/or
13 // modify it under the terms of the GNU General Public License
14 // as published by the Free Software Foundation; either version 2
15 // of the License, or (at your option) any later version.
16 //
17 // This program is distributed in the HOPE that it will be USEFUL,
18 // but WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
20 // See the GNU General Public License for more details.
21 //
22 // You should have received a copy of the GNU General Public License
23 // along with this program. If not, write to the Free Software Foundation,
24 // Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
25 //
26 //=============================================================================
27 
34 #include "kvi_settings.h"
35 
40 namespace KviHtmlGenerator
41 {
47  {
48  Background = 100,
49  Foreground = 101
50  };
51 
58  extern KVIRC_API QString convertToHtml(const QString & szText, bool bEscape = false);
59 };
60 
61 #endif //_KVI_HTMLGENERATOR_H_
#define KVIRC_API
Definition: kvi_settings.h:128
Definition: KviHtmlGenerator.h:48
DefaultColor
Defines back and foreground colors.
Definition: KviHtmlGenerator.h:46
Definition: KviHtmlGenerator.h:49
This file contains compile time settings.
QString convertToHtml(const QString &szText, bool bEscape)
Converts a raw irc message to its html equivalent text.
Definition: KviHtmlGenerator.cpp:34