summaryrefslogtreecommitdiff
path: root/src/gui/widgets/guitable.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-22 02:34:48 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-22 21:22:21 +0300
commit4a5cdfe19cbb50e3b58149c6e91312366ee4b771 (patch)
tree7a2bbae95b5f6642731f2a1257913baad71d028d /src/gui/widgets/guitable.h
parent3dcf21babe03cee5080a25e787e1d7e72124288e (diff)
downloadmv-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.gz
mv-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.bz2
mv-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.tar.xz
mv-4a5cdfe19cbb50e3b58149c6e91312366ee4b771.zip
Add override keyword to most overriden methods.
Diffstat (limited to 'src/gui/widgets/guitable.h')
-rw-r--r--src/gui/widgets/guitable.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/gui/widgets/guitable.h b/src/gui/widgets/guitable.h
index af6bedb62..76fdb4b54 100644
--- a/src/gui/widgets/guitable.h
+++ b/src/gui/widgets/guitable.h
@@ -89,7 +89,7 @@ public:
void setWrappingEnabled(bool wrappingEnabled)
{ mWrappingEnabled = wrappingEnabled; }
- gcn::Rectangle getChildrenArea();
+ gcn::Rectangle getChildrenArea() override;
/**
* Toggle whether to use linewise selection mode, in which the table selects
@@ -105,18 +105,18 @@ public:
void setLinewiseSelection(bool linewise);
// Inherited from Widget
- virtual void draw(gcn::Graphics* graphics);
+ virtual void draw(gcn::Graphics* graphics) override;
- virtual gcn::Widget *getWidgetAt(int x, int y);
+ virtual gcn::Widget *getWidgetAt(int x, int y) override;
- virtual void moveToTop(gcn::Widget *child);
+ virtual void moveToTop(gcn::Widget *child) override;
- virtual void moveToBottom(gcn::Widget *child);
+ virtual void moveToBottom(gcn::Widget *child) override;
- virtual void _setFocusHandler(gcn::FocusHandler* focusHandler);
+ virtual void _setFocusHandler(gcn::FocusHandler* focusHandler) override;
// Inherited from KeyListener
- virtual void keyPressed(gcn::KeyEvent& keyEvent);
+ virtual void keyPressed(gcn::KeyEvent& keyEvent) override;
/**
* Sets the table to be opaque, that is sets the table
@@ -137,16 +137,16 @@ public:
{ return mOpaque; }
// Inherited from MouseListener
- virtual void mousePressed(gcn::MouseEvent& mouseEvent);
+ virtual void mousePressed(gcn::MouseEvent& mouseEvent) override;
- virtual void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent);
+ virtual void mouseWheelMovedUp(gcn::MouseEvent& mouseEvent) override;
- virtual void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent);
+ virtual void mouseWheelMovedDown(gcn::MouseEvent& mouseEvent) override;
- virtual void mouseDragged(gcn::MouseEvent& mouseEvent);
+ virtual void mouseDragged(gcn::MouseEvent& mouseEvent) override;
// Constraints inherited from TableModelListener
- virtual void modelUpdated(bool);
+ virtual void modelUpdated(bool) override;
protected:
/** Frees all action listeners on inner widgets. */