diff --git a/src/kcmodule.h b/src/kcmodule.h --- a/src/kcmodule.h +++ b/src/kcmodule.h @@ -377,9 +377,16 @@ /** * Calling this slot is equivalent to emitting changed(true). + * @deprecated see markAsChanged */ void changed(); + /** + * Calling this slot is equivalent to emitting changed(true). + */ + void markAsChanged(); + + /** * A managed widget was changed, the widget settings and the current * settings are compared and a corresponding changed() signal is emitted diff --git a/src/kcmodule.cpp b/src/kcmodule.cpp --- a/src/kcmodule.cpp +++ b/src/kcmodule.cpp @@ -268,6 +268,11 @@ } void KCModule::changed() +{ + markAsChanged(); +} + +void KCModule::markAsChanged() { emit changed(true); }