Add override keyword. Thanks @Floessie

This commit is contained in:
heckflosse
2018-11-22 16:19:16 +01:00
parent 6e4e07f8c0
commit 831e18ca45
135 changed files with 1250 additions and 1251 deletions

View File

@@ -38,16 +38,16 @@ class ColorAppearance final :
{
public:
ColorAppearance ();
~ColorAppearance ();
~ColorAppearance () override;
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = nullptr);
void write (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited = nullptr);
void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = nullptr);
void setBatchMode (bool batchMode);
void adjusterChanged (Adjuster* a, double newval);
void adjusterAutoToggled (Adjuster* a, bool newval);
void read (const rtengine::procparams::ProcParams* pp, const ParamsEdited* pedited = nullptr) override;
void write (rtengine::procparams::ProcParams* pp, ParamsEdited* pedited = nullptr) override;
void setDefaults (const rtengine::procparams::ProcParams* defParams, const ParamsEdited* pedited = nullptr) override;
void setBatchMode (bool batchMode) override;
void adjusterChanged (Adjuster* a, double newval) override;
void adjusterAutoToggled (Adjuster* a, bool newval) override;
// void adjusterAdapToggled (Adjuster* a, bool newval);
void enabledChanged ();
void enabledChanged () override;
void surroundChanged ();
void surrsrcChanged ();
void wbmodelChanged ();
@@ -58,14 +58,14 @@ public:
void datacie_toggled ();
void tonecie_toggled ();
// void sharpcie_toggled ();
void autoCamChanged (double ccam, double ccamout);
void autoCamChanged (double ccam, double ccamout) override;
bool autoCamComputed_ ();
void adapCamChanged (double cadap);
void adapCamChanged (double cadap) override;
bool adapCamComputed_ ();
void ybCamChanged (int yb);
void ybCamChanged (int yb) override;
bool ybCamComputed_ ();
void curveChanged (CurveEditor* ce);
void curveChanged (CurveEditor* ce) override;
void curveMode1Changed ();
bool curveMode1Changed_ ();
void curveMode2Changed ();
@@ -76,10 +76,10 @@ public:
void expandCurve (bool isExpanded);
bool isCurveExpanded ();
void autoOpenCurve ();
void autoOpenCurve () override;
void setAdjusterBehavior (bool degreeadd, bool adapscenadd, bool adaplumadd, bool badpixsladd, bool jlightadd, bool chromaadd, bool contrastadd, bool rstprotectionadd, bool qbrightadd, bool qcontrastadd, bool schromaadd, bool mchromaadd, bool colorhadd);
void trimValues (rtengine::procparams::ProcParams* pp);
void trimValues (rtengine::procparams::ProcParams* pp) override;
void updateCurveBackgroundHistogram(
const LUTu& histToneCurve,
const LUTu& histLCurve,
@@ -92,7 +92,7 @@ public:
const LUTu& histLuma,
const LUTu& histLRETI
);
virtual void colorForValue (double valX, double valY, enum ColorCaller::ElemType elemType, int callerId, ColorCaller *caller);
void colorForValue (double valX, double valY, enum ColorCaller::ElemType elemType, int callerId, ColorCaller *caller) override;
void updateToolState (std::vector<int> &tpOpen);
void writeOptions (std::vector<int> &tpOpen);