• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

KMBox Library

  • KMBox
  • MBoxEntry
Public Types | Public Member Functions
KMBox::MBoxEntry Class Reference

A class that encapsulates an entry of a MBox. More...

#include <mboxentry.h>

List of all members.

Public Types

typedef QList< MBoxEntry > List
typedef QPair< MBoxEntry,
MBoxEntry > 
Pair

Public Member Functions

 MBoxEntry ()
 MBoxEntry (quint64 offset)
 MBoxEntry (const MBoxEntry &other)
 ~MBoxEntry ()
bool isValid () const
quint64 messageOffset () const
quint64 messageSize () const
bool operator!= (const MBoxEntry &other) const
MBoxEntry & operator= (const MBoxEntry &other)
bool operator== (const MBoxEntry &other) const
quint64 separatorSize () const

Detailed Description

A class that encapsulates an entry of a MBox.

Author:
Tobias Koenig <tokoe@kde.org>
Since:
4.6

Definition at line 38 of file mboxentry.h.


Member Typedef Documentation

typedef QList<MBoxEntry> KMBox::MBoxEntry::List

Describes a list of mbox entry objects.

Definition at line 44 of file mboxentry.h.

typedef QPair<MBoxEntry, MBoxEntry> KMBox::MBoxEntry::Pair

Describes a pair of mbox entry objects.

Definition at line 49 of file mboxentry.h.


Constructor & Destructor Documentation

MBoxEntry::MBoxEntry ( )

Creates an invalid mbox entry object.

Definition at line 26 of file mboxentry.cpp.

MBoxEntry::MBoxEntry ( quint64  offset) [explicit]

Creates an mbox entry object.

Parameters:
offsetThe offset of the message the object references.

Definition at line 31 of file mboxentry.cpp.

MBoxEntry::MBoxEntry ( const MBoxEntry &  other)

Creates an mbox entry object from an other object.

Definition at line 37 of file mboxentry.cpp.

MBoxEntry::~MBoxEntry ( )

Destroys the mbox entry object.

Definition at line 42 of file mboxentry.cpp.


Member Function Documentation

bool MBoxEntry::isValid ( ) const

Returns whether this is a valid mbox entry object.

Definition at line 65 of file mboxentry.cpp.

quint64 MBoxEntry::messageOffset ( ) const

Returns the offset of the message that is referenced by this mbox entry object.

Definition at line 70 of file mboxentry.cpp.

quint64 MBoxEntry::messageSize ( ) const

Returns the size of the message that is referenced by this mbox entry object.

Definition at line 75 of file mboxentry.cpp.

bool MBoxEntry::operator!= ( const MBoxEntry &  other) const

Returns whether this mbox entry object is not equal to an other.

Definition at line 60 of file mboxentry.cpp.

MBoxEntry & MBoxEntry::operator= ( const MBoxEntry &  other)

Replaces this mbox entry object with an other object.

Definition at line 46 of file mboxentry.cpp.

bool MBoxEntry::operator== ( const MBoxEntry &  other) const

Returns whether this mbox entry object is equal to an other.

Definition at line 55 of file mboxentry.cpp.

quint64 MBoxEntry::separatorSize ( ) const

Returns the separator size of the message that is referenced by this mbox entry object.

Definition at line 80 of file mboxentry.cpp.


The documentation for this class was generated from the following files:
  • mboxentry.h
  • mboxentry.cpp

KMBox Library

Skip menu "KMBox Library"
  • Main Page
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • 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
Generated for KDE-PIM Libraries by doxygen 1.7.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