KIMAP Library
20#ifndef KIMAP_IMAPSET_H
21#define KIMAP_IMAPSET_H
23#include "kimap_export.h"
25#include <QtCore/QByteArray>
26#include <QtCore/QDebug>
27#include <QtCore/QList>
28#include <QtCore/QMetaType>
29#include <QtCore/QSharedDataPointer>
48 typedef QList<ImapInterval>
List;
91 bool hasDefinedBegin()
const;
102 bool hasDefinedEnd()
const;
113 void setBegin(
Id value );
118 void setEnd(
Id value );
123 QByteArray toImapSequence()
const;
128 static ImapInterval fromImapSequence(
const QByteArray &sequence );
132 QSharedDataPointer<Private> d;
181 bool operator==(
const ImapSet &other )
const;
189 void add(
Id value );
197 void add(
const QList<Id> &values );
209 QByteArray toImapSequenceSet()
const;
214 static ImapSet fromImapSequenceSet(
const QByteArray &sequence );
224 bool isEmpty()
const;
228 QSharedDataPointer<Private> d;
234KIMAP_EXPORT QDebug& operator<<( QDebug& d,
const KIMAP::ImapSet &set );
Represents a single interval in an ImapSet.
QList< ImapInterval > List
A list of ImapInterval objects.
qint64 Id
Describes the ids stored in the interval.
Represents a set of natural numbers (1-> ) in a as compact as possible form.
qint64 Id
Describes the ids stored in the set.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by
doxygen 1.10.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.