Commit 57572470 authored by Boudewijn Rempt's avatar Boudewijn Rempt

d-pointerify KoColorSet

parent 3e730db8
This diff is collapsed.
......@@ -22,6 +22,7 @@
#include <QObject>
#include <QColor>
#include <QVector>
#include <QScopedPointer>
#include <resources/KoResource.h>
#include "KoColor.h"
......@@ -33,6 +34,9 @@ struct KoColorSetEntry {
KoColor color;
QString name;
QString id;
bool spotColor {false};
bool operator==(const KoColorSetEntry& rhs) const {
return color == rhs.color && name == rhs.name;
}
......@@ -123,12 +127,8 @@ private:
bool loadAco();
bool loadXml();
QByteArray m_data;
bool m_ownData;
QString m_name;
QString m_comment;
qint32 m_columns;
QVector<KoColorSetEntry> m_colors;
struct Private;
const QScopedPointer<Private> d;
};
#endif // KOCOLORSET
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment