summaryrefslogtreecommitdiff
path: root/src/gui/widgets/popup.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-12 20:26:59 +0300
commitbebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43 (patch)
tree4d631106f76ba8a052dc2ef8b23b8a968040db82 /src/gui/widgets/popup.h
parent67638eeec5267977940dce29c5a94ce4d093ed69 (diff)
downloadmv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.gz
mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.bz2
mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.tar.xz
mv-bebb71a3dfadb2b94ba46c0c66f0d40d6ef75e43.zip
Add noexcept in some files.
Diffstat (limited to 'src/gui/widgets/popup.h')
-rw-r--r--src/gui/widgets/popup.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gui/widgets/popup.h b/src/gui/widgets/popup.h
index bf09e4a51..17daa6940 100644
--- a/src/gui/widgets/popup.h
+++ b/src/gui/widgets/popup.h
@@ -97,7 +97,7 @@ class Popup notfinal : public Container,
*/
void setMinWidth(const int width);
- int getMinWidth() const A_WARN_UNUSED
+ int getMinWidth() const noexcept2 A_WARN_UNUSED
{ return mMinWidth; }
/**
@@ -105,7 +105,7 @@ class Popup notfinal : public Container,
*/
void setMinHeight(const int height);
- int getMinHeight() const A_WARN_UNUSED
+ int getMinHeight() const noexcept2 A_WARN_UNUSED
{ return mMinHeight; }
/**
@@ -113,7 +113,7 @@ class Popup notfinal : public Container,
*/
void setMaxWidth(const int width);
- int getMaxWidth() const A_WARN_UNUSED
+ int getMaxWidth() const noexcept2 A_WARN_UNUSED
{ return mMaxWidth; }
/**
@@ -121,7 +121,7 @@ class Popup notfinal : public Container,
*/
void setMaxHeight(const int height);
- int getMaxHeight() const A_WARN_UNUSED
+ int getMaxHeight() const noexcept2 A_WARN_UNUSED
{ return mMaxHeight; }
/**
@@ -131,19 +131,19 @@ class Popup notfinal : public Container,
* @return The padding of the popup.
* @see setPadding
*/
- int getPadding() const A_WARN_UNUSED
+ int getPadding() const noexcept2 A_WARN_UNUSED
{ return mPadding; }
- void setPadding(int padding)
+ void setPadding(int padding) noexcept2
{ mPadding = padding; }
/**
* Sets the name of the popup. This is only useful for debug purposes.
*/
- void setPopupName(const std::string &name)
+ void setPopupName(const std::string &name) noexcept2
{ mPopupName = name; }
- const std::string &getPopupName() const
+ const std::string &getPopupName() const noexcept2
{ return mPopupName; }
/**
@@ -170,7 +170,7 @@ class Popup notfinal : public Container,
void widgetMoved(const Event &event) override final;
- bool isPopupVisible() const
+ bool isPopupVisible() const noexcept2
{ return mVisible == Visible_true; }
void postInit() override