17#include <boost/optional.hpp>
20#include <klocalizedstring.h>
23#include "kritaglobal_export.h"
29class KRITAGLOBAL_EXPORT
KoID
41 boost::optional<KLocalizedString>>;
44 KoIDPrivate(QString _id,
const KLocalizedString &_name);
64 explicit KoID(
const QString &
id,
const QString &name = QString());
72 explicit KoID(
const QString &
id,
const KLocalizedString &name);
98inline
bool operator==(const
KoID &v1, const
KoID &v2)
100 return v1.m_d == v2.m_d || v1.m_d->id == v2.m_d->id;
110 return v1.
m_d->id < v2.
m_d->id;
115 return v1.
m_d->id > v2.
m_d->id;;
120 dbg.nospace() <<
id.name() <<
" (" <<
id.id() <<
" )";
float value(const T *src, size_t ch)
KisMagneticGraph::vertex_descriptor source(typename KisMagneticGraph::edge_descriptor e, KisMagneticGraph g)
bool operator==(const KisRegion &lhs, const KisRegion &rhs)
QDebug operator<<(QDebug dbg, const KoID &id)
bool operator!=(const KoID &v1, const KoID &v2)
bool operator>(const KoID &v1, const KoID &v2)
bool operator<(const KoID &v1, const KoID &v2)
bool operator<(KoSnapStrategy::SnapType lhs, KoSnapStrategy::SnapType rhs)
QSharedPointer< KoIDPrivate > m_d
static bool compareNames(const KoID &id1, const KoID &id2)
Q_DECLARE_METATYPE(KisPaintopLodLimitations)