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

kioslave/imap4

mimehdrline.h

00001 /***************************************************************************
00002                           mimehdrline.h  -  description
00003                              -------------------
00004     begin                : Wed Oct 11 2000
00005     copyright            : (C) 2000 by Sven Carstens
00006     email                : s.carstens@gmx.de
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef MIMEHDRLINE_H
00019 #define MIMEHDRLINE_H
00020 
00021 
00022 #include <QByteArray>
00023 
00028 class mimeHdrLine
00029 {
00030 public:
00031   mimeHdrLine ();
00032   mimeHdrLine (mimeHdrLine *);
00033   mimeHdrLine (const QByteArray &, const QByteArray &);
00034    ~mimeHdrLine ();
00037   int setStr (const char *);
00038   int appendStr (const char *);
00040   const QByteArray& getValue ();
00042   const QByteArray& getLabel ();
00043   static QByteArray truncateLine (QByteArray, unsigned int truncate = 80);
00044   static int parseSeparator (char, const char *);
00045   static int parseQuoted (char, char, const char *);
00047   static int skipWS (const char *);
00049   static int parseHalfWord (const char *);
00050   static int parseWord (const char *);
00051   static int parseAlphaNum (const char *);
00052 
00053 protected:                     // Protected attributes
00056     QByteArray mimeValue;
00059   QByteArray mimeLabel;
00060 protected:                     // Protected methods
00062   int parseFullLine (const char *);
00063   int parseHalfLine (const char *);
00064 };
00065 
00066 #endif

kioslave/imap4

Skip menu "kioslave/imap4"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  • kabc
  • kblog
  • kcal
  • kimap
  • kioslave
  •   imap4
  •   mbox
  • kldap
  • kmime
  • kpimidentities
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.5.4
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