Changeset View
Changeset View
Standalone View
Standalone View
plugins/extensions/pykrita/sip/krita/Palette.sip
Context not available. | |||||
13 | 13 | | |||
---|---|---|---|---|---|
14 | }; | 14 | }; | ||
15 | 15 | | |||
16 | class Palette : QObject | 16 | class Palette : Resource | ||
17 | { | 17 | { | ||
18 | %TypeHeaderCode | 18 | %TypeHeaderCode | ||
19 | #include "Palette.h" | 19 | #include "Palette.h" | ||
20 | %End | 20 | %End | ||
21 | Palette(const Palette & __0); | 21 | Palette(const Palette & __0); | ||
22 | public: | 22 | public: | ||
23 | Palette(Resource *resource); | | |||
24 | int numberOfEntries() const; | 23 | int numberOfEntries() const; | ||
25 | int columnCount(); | 24 | int columnCount(); | ||
26 | void setColumnCount(int columns); | 25 | void setColumnCount(int columns); | ||
Context not available. | |||||
40 | bool editEntry(int index, KoColorSetEntry entry, QString groupName); | 39 | bool editEntry(int index, KoColorSetEntry entry, QString groupName); | ||
41 | bool changeGroupName(QString oldGroupName, QString newGroupName); | 40 | bool changeGroupName(QString oldGroupName, QString newGroupName); | ||
42 | bool moveGroup(const QString &groupName, const QString &groupNameInsertBefore); | 41 | bool moveGroup(const QString &groupName, const QString &groupNameInsertBefore); | ||
43 | bool save(); | | |||
44 | private: | 42 | private: | ||
45 | }; | 43 | }; | ||
Context not available. |