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

KMBox Library

  • KMBox
  • MBoxEntry
Public Types | Public Member Functions | List of all members
KMBox::MBoxEntry Class Reference

#include <mboxentry.h>

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.nosp@m.@kde.nosp@m..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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:10 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KMBox Library

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



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