From 3c02e309bbe285f9fb625f20f55533ff0b22b3cc Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 16 Mar 2014 19:28:44 +0300 Subject: Improve basiccontainer. --- src/gui/widgets/widget.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/widget.h') diff --git a/src/gui/widgets/widget.h b/src/gui/widgets/widget.h index 3af00d247..86bf0f773 100644 --- a/src/gui/widgets/widget.h +++ b/src/gui/widgets/widget.h @@ -76,6 +76,7 @@ #include "localconsts.h" class ActionListener; +class BasicContainer; class DeathListener; class FocusHandler; class FocusListener; @@ -99,6 +100,8 @@ class WidgetListener; class Widget : public Widget2 { public: + friend BasicContainer; + /** * Constructor. Resets member variables. Noteable, a widget is not * focusable as default, therefore, widgets that are supposed to be @@ -970,7 +973,7 @@ class Widget : public Widget2 * has an id. * * @param id The id to set to the widget. - * @see getId, BasicContainer::findWidgetById + * @see getId * @since 0.8.0 */ void setId(const std::string& id) @@ -983,7 +986,7 @@ class Widget : public Widget2 * has an id. * * @param id The id to set to the widget. - * @see setId, BasicContainer::findWidgetById + * @see setId * @since 0.8.0 */ const std::string& getId() const A_WARN_UNUSED -- cgit v1.2.3-70-g09d2