Changeset View
Changeset View
Standalone View
Standalone View
commands/imagelib/effects/kpEffectGrayscaleCommand.cpp
Show All 38 Lines | 36 | kpEffectGrayscaleCommand::kpEffectGrayscaleCommand ( | |||
---|---|---|---|---|---|
39 | 39 | | |||
40 | : kpEffectCommandBase ( | 40 | : kpEffectCommandBase ( | ||
41 | i18n ("Reduce to Grayscale"), | 41 | i18n ("Reduce to Grayscale"), | ||
42 | actOnSelection, | 42 | actOnSelection, | ||
43 | environ) | 43 | environ) | ||
44 | { | 44 | { | ||
45 | } | 45 | } | ||
46 | 46 | | |||
47 | kpEffectGrayscaleCommand::~kpEffectGrayscaleCommand () | 47 | kpEffectGrayscaleCommand::~kpEffectGrayscaleCommand () = default; | ||
48 | { | | |||
49 | } | | |||
50 | 48 | | |||
51 | 49 | | |||
52 | // | 50 | // | ||
53 | // kpEffectGrayscaleCommand implements kpEffectCommandBase interface | 51 | // kpEffectGrayscaleCommand implements kpEffectCommandBase interface | ||
54 | // | 52 | // | ||
55 | 53 | | |||
56 | // protected virtual [base kpEffectCommandBase] | 54 | // protected virtual [base kpEffectCommandBase] | ||
57 | kpImage kpEffectGrayscaleCommand::applyEffect (const kpImage &image) | 55 | kpImage kpEffectGrayscaleCommand::applyEffect (const kpImage &image) | ||
58 | { | 56 | { | ||
59 | return kpEffectGrayscale::applyEffect (image); | 57 | return kpEffectGrayscale::applyEffect (image); | ||
60 | } | 58 | } | ||
61 | 59 | |