Changeset View
Changeset View
Standalone View
Standalone View
plugins/filters/example/example.cpp
Context not available. | |||||
33 | #include <kis_types.h> | 33 | #include <kis_types.h> | ||
---|---|---|---|---|---|
34 | #include <kis_selection.h> | 34 | #include <kis_selection.h> | ||
35 | #include <kis_layer.h> | 35 | #include <kis_layer.h> | ||
36 | #include <filter/kis_filter_category_ids.h> | ||||
36 | #include <filter/kis_filter_registry.h> | 37 | #include <filter/kis_filter_registry.h> | ||
37 | #include <kis_global.h> | 38 | #include <kis_global.h> | ||
38 | #include "KoColorModelStandardIds.h" | 39 | #include "KoColorModelStandardIds.h" | ||
Context not available. | |||||
49 | { | 50 | { | ||
50 | } | 51 | } | ||
51 | 52 | | |||
52 | KisFilterInvert::KisFilterInvert() : KisColorTransformationFilter(id(), categoryAdjust(), i18n("&Invert")) | 53 | KisFilterInvert::KisFilterInvert() : KisColorTransformationFilter(id(), FiltersCategoryAdjustId, i18n("&Invert")) | ||
53 | { | 54 | { | ||
54 | setShortcut(QKeySequence(Qt::CTRL + Qt::Key_I)); | 55 | setShortcut(QKeySequence(Qt::CTRL + Qt::Key_I)); | ||
55 | setColorSpaceIndependence(FULLY_INDEPENDENT); | 56 | setColorSpaceIndependence(FULLY_INDEPENDENT); | ||
Context not available. |