• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.8.3 API Reference
  • KDE Home
  • 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 
00050   KIMAP_EXPORT QByteArray encodeImapFolderName( const QByteArray &src );
00051 
00057   KIMAP_EXPORT QByteArray decodeImapFolderName( const QByteArray &inSrc );
00063   KIMAP_EXPORT QString encodeImapFolderName( const QString &src );
00064 
00069   KIMAP_EXPORT QString decodeImapFolderName( const QString &inSrc );
00070 
00075   KIMAP_EXPORT QString quoteIMAP( const QString &src );
00076 
00082   KIMAP_EXPORT QByteArray quoteIMAP( const QByteArray &src );
00083 
00089   KIMAP_EXPORT QTextCodec *codecForName( const QString &name );
00090 
00097   KIMAP_EXPORT const QString decodeRFC2047String( const QString &str,
00098                                                   QString &charset,
00099                                                   QString &language );
00105   KIMAP_EXPORT const QString decodeRFC2047String( const QString &str,
00106                                                   QString &charset );
00107 
00112   KIMAP_EXPORT const QString decodeRFC2047String( const QString &str );
00113 
00118   KIMAP_EXPORT const QString encodeRFC2047String( const QString &str );
00119 
00124   KIMAP_EXPORT const QByteArray encodeRFC2047String( const QByteArray &str );
00125 
00130   KIMAP_EXPORT const QString encodeRFC2231String( const QString &str );
00131 
00136   KIMAP_EXPORT const QString decodeRFC2231String( const QString &str );
00137 }
00138 
00139 #endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Mon May 7 2012 23:55:08 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KIMAP Library

Skip menu "KIMAP Library"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Related Pages

kdepimlibs-4.8.3 API Reference

Skip menu "kdepimlibs-4.8.3 API Reference"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal