• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • Sitemap
  • Contact Us
 

KIMAP Library

rfccodecs.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *
00003  *   rfccodecs  - handler for various rfc/mime encodings
00004  *   Copyright (C) 2000 s.carstens@gmx.de
00005  *
00006  *   This library is free software; you can redistribute it and/or
00007  *   modify it under the terms of the GNU Library General Public
00008  *   License as published by the Free Software Foundation; either
00009  *   version 2 of the License, or (at your option) any later version.
00010  *
00011  *   This library is distributed in the hope that it will be useful,
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  *   Library General Public License for more details.
00015  *
00016  *   You should have received a copy of the GNU Library General Public License
00017  *   along with this library; see the file COPYING.LIB.  If not, write to
00018  *   the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
00019  *   Boston, MA 02110-1301, USA.
00020  *
00021  *********************************************************************/
00033 #ifndef KIMAP_RFCCODECS_H
00034 #define KIMAP_RFCCODECS_H
00035 
00036 #include <QtCore/QString>
00037 
00038 #include "kimap_export.h"
00039 
00040 class QTextCodec;
00041 
00042 namespace KIMAP {
00043 
00049   KIMAP_EXPORT QString encodeImapFolderName( const QString &src );
00050 
00055   KIMAP_EXPORT QString decodeImapFolderName( const QString &inSrc );
00056 
00061   KIMAP_EXPORT QString quoteIMAP( const QString &src );
00062 
00068   KIMAP_EXPORT QTextCodec *codecForName( const QString &name );
00069 
00076   KIMAP_EXPORT const QString decodeRFC2047String( const QString &str,
00077                                                   QString &charset,
00078                                                   QString &language );
00084   KIMAP_EXPORT const QString decodeRFC2047String( const QString &str,
00085                                                   QString &charset );
00086 
00091   KIMAP_EXPORT const QString decodeRFC2047String( const QString &str );
00092 
00097   KIMAP_EXPORT const QString encodeRFC2047String( const QString &str );
00098 
00103   KIMAP_EXPORT const QByteArray encodeRFC2047String( const QByteArray &str );
00104 
00109   KIMAP_EXPORT const QString encodeRFC2231String( const QString &str );
00110 
00115   KIMAP_EXPORT const QString decodeRFC2231String( const QString &str );
00116 }
00117 
00118 #endif

KIMAP Library

Skip menu "KIMAP Library"
  • Main Page
  • File List
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.8
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal