KMBox::MBoxEntry
#include <mboxentry.h>
Public Types | |
using | List = QList<MBoxEntry> |
using | Pair = QPair<MBoxEntry, MBoxEntry> |
Public Member Functions | |
MBoxEntry () | |
MBoxEntry (const MBoxEntry &other) | |
MBoxEntry (quint64 offset) | |
~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
Member Typedef Documentation
◆ List
using KMBox::MBoxEntry::List = QList<MBoxEntry> |
Describes a list of mbox entry objects.
Definition at line 30 of file mboxentry.h.
◆ Pair
using KMBox::MBoxEntry::Pair = QPair<MBoxEntry, MBoxEntry> |
Describes a pair of mbox entry objects.
Definition at line 35 of file mboxentry.h.
Constructor & Destructor Documentation
◆ MBoxEntry() [1/3]
MBoxEntry::MBoxEntry | ( | ) |
Creates an invalid mbox entry object.
Definition at line 13 of file mboxentry.cpp.
◆ MBoxEntry() [2/3]
|
explicit |
Creates an mbox entry object.
- Parameters
-
offset The offset of the message the object references.
Definition at line 18 of file mboxentry.cpp.
◆ MBoxEntry() [3/3]
MBoxEntry::MBoxEntry | ( | const MBoxEntry & | other | ) |
Creates an mbox entry object from an other
object.
Definition at line 24 of file mboxentry.cpp.
◆ ~MBoxEntry()
MBoxEntry::~MBoxEntry | ( | ) |
Destroys the mbox entry object.
Definition at line 29 of file mboxentry.cpp.
Member Function Documentation
◆ isValid()
|
nodiscard |
Returns whether this is a valid mbox entry object.
Definition at line 52 of file mboxentry.cpp.
◆ messageOffset()
|
nodiscard |
Returns the offset of the message that is referenced by this mbox entry object.
Definition at line 57 of file mboxentry.cpp.
◆ messageSize()
|
nodiscard |
Returns the size of the message that is referenced by this mbox entry object.
Definition at line 62 of file mboxentry.cpp.
◆ operator!=()
bool MBoxEntry::operator!= | ( | const MBoxEntry & | other | ) | const |
Returns whether this mbox entry object is not equal to an other
.
Definition at line 47 of file mboxentry.cpp.
◆ operator=()
Replaces this mbox entry object with an other
object.
Definition at line 33 of file mboxentry.cpp.
◆ operator==()
bool MBoxEntry::operator== | ( | const MBoxEntry & | other | ) | const |
Returns whether this mbox entry object is equal to an other
.
Definition at line 42 of file mboxentry.cpp.
◆ separatorSize()
|
nodiscard |
Returns the separator size of the message that is referenced by this mbox entry object.
Definition at line 67 of file mboxentry.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Nov 8 2024 11:58:12 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.