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

@@ -71,12 +71,12 @@ protected:
public:
Crop (ImProcCoordinator* parent, EditDataProvider *editDataProvider, bool isDetailWindow);
virtual ~Crop ();
~Crop () override;
void setEditSubscriber(EditSubscriber* newSubscriber);
bool hasListener();
void update (int todo);
void setWindow (int cropX, int cropY, int cropW, int cropH, int skip)
void setWindow (int cropX, int cropY, int cropW, int cropH, int skip) override
{
setCropSizes (cropX, cropY, cropW, cropH, skip, false);
}
@@ -84,12 +84,12 @@ public:
/** @brief Synchronously look out if a full update is necessary
* First try, only make fullUpdate if this returns false
*/
bool tryUpdate ();
bool tryUpdate () override;
/** @brief Asynchronously reprocess the detailed crop */
void fullUpdate (); // called via thread
void fullUpdate () override; // called via thread
void setListener (DetailedCropListener* il);
void destroy ();
void setListener (DetailedCropListener* il) override;
void destroy () override;
int get_skip();
int getLeftBorder();
int getUpperBorder();