52 int rowCountOfGroup(
const QString &originalName)
const;
59 QString oldNameFromNewName(
const QString &newName)
const;
65 void rename(
const QString &newName);
70 void changeColumnCount(
int);
83 bool removeGroup(
const QString &name);
90 QString renameGroup(
const QString &oldName);
97 void changeGroupRowCount(
const QString &name,
int newRowCount);
99 void setStorageLocation(QString location);
101 void setEntry(
const KoColor &color,
const QModelIndex &index);
103 void removeEntry(
const QModelIndex &index);
105 void modifyEntry(
const QModelIndex &index);
107 void addEntry(
const KoColor &color);
109 bool isModified()
const;
126 void endEditing(
bool applyChanges =
true);
127 void clearStagedChanges();
132 void saveNewPaletteVersion();
135 void slotGroupNameChanged(
const QString &newName);
136 void slotPaletteChanged();
137 void slotSetDocumentModified();
140 QString newGroupName()
const;
141 bool duplicateExistsGroupName(
const QString &name)
const;
142 bool duplicateExistsOriginalGroupName(
const QString &name)
const;
143 QString filenameFromPath(
const QString &path)
const;
147 QScopedPointer<Private>
m_d;