6#ifndef KOUNICODEBLOCKDATA_H
7#define KOUNICODEBLOCKDATA_H
11#include <QScopedPointer>
12#include "kritaflake_export.h"
14#include <boost/operators.hpp>
15#include <klocalizedstring.h>
17struct KRITAFLAKE_EXPORT
KoUnicodeBlockData :
public boost::equality_comparable<KoUnicodeBlockData> {
27 return (start == rhs.
start && end == rhs.
end);
31 return codepoint >= start && codepoint <= end;
47 static const QString noBlockName = i18nc(
"@title",
"No Block");
53 QScopedPointer<Private>
d;
static KoUnicodeBlockData noBlock()
QScopedPointer< Private > d
bool match(const uint &codepoint) const
bool operator==(const KoUnicodeBlockData &rhs) const
KoUnicodeBlockData(QString name, uint start, uint end)
QString name
Name of the block.