• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 API Reference
  • KDE Home
  • Contact Us
 

kioslave/imap4

Public Member Functions | Public Attributes | List of all members
parseString Class Reference

#include <imapparser.h>

Public Member Functions

void clear ()
 
QByteArray cstr () const
 
int find (char c, int index=0) const
 
void fromString (const QString &s)
 
bool isEmpty () const
 
uint length ()
 
char operator[] (int i) const
 
void takeLeftNoResize (QByteArray &dest, uint len) const
 
void takeMidNoResize (QByteArray &dest, uint start, uint len) const
 

Public Attributes

QByteArray data
 
int pos
 

Detailed Description

a string used during parsing the string allows you to move the effective start of the string using str.pos++ and str.pos–.

Bug:
it is possible to move past the beginning and end of the string

Definition at line 51 of file imapparser.h.

Constructor & Destructor Documentation

◆ parseString()

parseString::parseString ( )
inline

Definition at line 54 of file imapparser.h.

Member Function Documentation

◆ clear()

void parseString::clear ( )
inline

Definition at line 79 of file imapparser.h.

◆ cstr()

QByteArray parseString::cstr ( ) const
inline

Definition at line 57 of file imapparser.h.

◆ find()

int parseString::find ( char  c,
int  index = 0 
) const
inline

Definition at line 64 of file imapparser.h.

◆ fromString()

void parseString::fromString ( const QString &  s)
inline

Definition at line 88 of file imapparser.h.

◆ isEmpty()

bool parseString::isEmpty ( ) const
inline

Definition at line 56 of file imapparser.h.

◆ length()

uint parseString::length ( )
inline

Definition at line 84 of file imapparser.h.

◆ operator[]()

char parseString::operator[] ( int  i) const
inline

Definition at line 55 of file imapparser.h.

◆ takeLeftNoResize()

void parseString::takeLeftNoResize ( QByteArray &  dest,
uint  len 
) const
inline

Definition at line 70 of file imapparser.h.

◆ takeMidNoResize()

void parseString::takeMidNoResize ( QByteArray &  dest,
uint  start,
uint  len 
) const
inline

Definition at line 75 of file imapparser.h.

Member Data Documentation

◆ data

QByteArray parseString::data

Definition at line 93 of file imapparser.h.

◆ pos

int parseString::pos

Definition at line 94 of file imapparser.h.


The documentation for this class was generated from the following file:
  • imapparser.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kioslave/imap4

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

kdepimlibs-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • 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