summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
committerAndrei Karas <akaras@inbox.ru>2012-08-30 22:53:27 +0300
commit5cbd0d2cb7086fda592c00dbc3b07d06af95f080 (patch)
treed36b4ac344f31f34311c7cb7a9a637ed48356e3e /src/gui/widgets/tab.h
parent4210163dae7d6266923ab11f78b631173c9533e3 (diff)
downloadmv-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.gz
mv-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.bz2
mv-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.tar.xz
mv-5cbd0d2cb7086fda592c00dbc3b07d06af95f080.zip
Add const to more classes.
Diffstat (limited to 'src/gui/widgets/tab.h')
-rw-r--r--src/gui/widgets/tab.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/widgets/tab.h b/src/gui/widgets/tab.h
index 829689543..0907379d0 100644
--- a/src/gui/widgets/tab.h
+++ b/src/gui/widgets/tab.h
@@ -54,12 +54,12 @@ class Tab : public gcn::Tab, public gcn::WidgetListener
/**
* Set the normal color fo the tab's text.
*/
- void setTabColor(const gcn::Color *color);
+ void setTabColor(const gcn::Color *const color);
/**
* Set tab flashing state
*/
- void setFlash(int flash);
+ void setFlash(const int flash);
int getFlash() const
{ return mFlash; }
@@ -68,7 +68,7 @@ class Tab : public gcn::Tab, public gcn::WidgetListener
void widgetMoved(const gcn::Event &event);
- void setLabelFont(gcn::Font *font);
+ void setLabelFont(gcn::Font *const font);
gcn::Label *getLabel() const
{ return mLabel; }