From 6b70158fa74e8177eae358870418b35d31bf046e Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Sat, 7 Sep 2013 00:33:30 +0200 Subject: [PATCH] CComponentsWindow: use members as protected Sub classes need these members. Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/d750b8e27b5f6f5a35f6c622f8a665f6c1a786a5 Author: Thilo Graf Date: 2013-09-07 (Sat, 07 Sep 2013) --- src/gui/components/cc_frm.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/gui/components/cc_frm.h b/src/gui/components/cc_frm.h index e936eaf6f..4ee335c93 100644 --- a/src/gui/components/cc_frm.h +++ b/src/gui/components/cc_frm.h @@ -209,7 +209,7 @@ items like text, labels, pictures ... class CComponentsWindow : public CComponentsForm { - private: + protected: ///object: header object, to get access to header properties see also getHeaderObject() CComponentsHeader * ccw_head; ///object: body object, this is the container for all needed items, to add with addWindowItem() @@ -231,8 +231,6 @@ class CComponentsWindow : public CComponentsForm void initFooter(); ///initialze all window objects at once void initCCWItems(); - - protected: ///initialize all attributes void initVarWindow();