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 );
208 QByteArray toImapSequenceSet()
const;
213 static ImapSet fromImapSequenceSet(
const QByteArray &sequence );
223 bool isEmpty()
const;
227 QSharedDataPointer<Private> d;
233 KIMAP_EXPORT QDebug& operator<<( QDebug& d,
const KIMAP::ImapSet &
set );
236 Q_DECLARE_METATYPE( KIMAP::ImapInterval::List )
237 Q_DECLARE_METATYPE( KIMAP::ImapSet )
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:25:17 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.