KMIME Library
Go to the documentation of this file.
33 #include <QSharedData>
34 #include <QtCore/QStringList>
36 using namespace KMime;
38 class ContentIndex::Private :
public QSharedData
42 Private(
const Private &other ) : QSharedData( other )
47 QList<unsigned int> index;
56 const QStringList l = index.split( QLatin1Char(
'.' ) );
57 foreach (
const QString &s, l ) {
59 unsigned int i = s.toUInt( &ok );
78 return !d->index.isEmpty();
83 return d->index.takeFirst();
88 d->index.prepend( index );
94 foreach (
unsigned int i, d->index ) {
95 l.append( QString::number( i ) );
97 return l.join( QLatin1String(
"." ) );
102 return d->index == index.d->index;
107 return d->index != index.d->index;
112 if (
this != &other ) {
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Sat Jul 13 2013 01:25:45 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.