Skip to main content ::
::
KDE PIM API Reference
::
Skip to Link Menu
/
API Reference
/
kioslaves
/
imap4
kioslaves/imap4
kioslaves
imap4
rfcdecoder.h
1
#ifndef RFCDECODER_H
2
#define RFCDECODER_H
3
/**********************************************************************
4
*
5
* rfcdecoder.h - handler for various rfc/mime encodings
6
* Copyright (C) 2000 s.carstens@gmx.de
7
*
8
* This program is free software; you can redistribute it and/or modify
9
* it under the terms of the GNU General Public License as published by
10
* the Free Software Foundation; either version 2 of the License, or
11
* (at your option) any later version.
12
*
13
* This program is distributed in the hope that it will be useful,
14
* but WITHOUT ANY WARRANTY; without even the implied warranty of
15
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
* GNU General Public License for more details.
17
*
18
* You should have received a copy of the GNU General Public License
19
* along with this program; if not, write to the Free Software
20
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21
*
22
* Send comments and bug fixes to s.carstens@gmx.de
23
*
24
*********************************************************************/
25
26
#include <tqstring.h>
27
28
class
TQTextCodec;
29
36
class
rfcDecoder
37
{
38
39
public
:
40
43
static
TQString
fromIMAP
(
const
TQString & src);
46
static
TQString
toIMAP
(
const
TQString & inSrc);
48
static
TQString
quoteIMAP
(
const
TQString & src);
49
53
static
TQString
decodeQuoting
(
const
TQString &aStr);
54
59
static
TQTextCodec *
codecForName
(
const
TQString &);
60
61
// decoder for RFC2047 and RFC1522
63
static
const
TQString
decodeRFC2047String
(
const
TQString & _str,
64
TQString & charset,
65
TQString & language);
67
static
const
TQString
decodeRFC2047String
(
const
TQString & _str,
68
TQString & charset);
70
static
const
TQString
decodeRFC2047String
(
const
TQString & _str);
71
72
// encoder for RFC2047 and RFC1522
74
static
const
TQString
encodeRFC2047String
(
const
TQString & _str,
75
TQString & charset,
76
TQString & language);
78
static
const
TQString
encodeRFC2047String
(
const
TQString & _str,
79
TQString & charset);
81
static
const
TQString
encodeRFC2047String
(
const
TQString & _str);
82
84
static
const
TQString
encodeRFC2231String
(
const
TQString & _str);
86
static
const
TQString
decodeRFC2231String
(
const
TQString & _str);
87
};
88
89
#endif
kioslaves/imap4
Skip menu "kioslaves/imap4"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
kioslaves/imap4
Skip menu "kioslaves/imap4"
akregator
src
librss
certmanager
lib
kaddressbook
kalarm
lib
kandy
karm
kdgantt
kgantt
kioslaves
imap4
mbox
kitchensync
kmail
knotes
konsolekalendar
kontact
korganizer
libemailfunctions
libkcal
libkdepim
libkholidays
libkmime
libkpgp
libkpimidentities