From kde-commits Thu Sep 04 16:35:37 2003 From: Roberto Raggi Date: Thu, 04 Sep 2003 16:35:37 +0000 To: kde-commits Subject: kdevelop/parts/classview X-MARC-Message: https://marc.info/?l=kde-commits&m=106269340501486 CVS commit by raggi: removed the add method/attribute actions from the classview toolbar. Seems that the 'access property' of FunctionDom is always 'public'!!! You can use the popupmenu in the class browser if you want add methods, variables, ... M +2 -0 classviewpart.cpp 1.44 --- kdevelop/parts/classview/classviewpart.cpp #1.43:1.44 @@ -149,8 +149,10 @@ void ClassViewPart::setupActions( ) if (hasNewClass) popup->insertItem(SmallIcon("classnew"), i18n("Add Class..."), this, SLOT(selectedAddClass())); +#if 0 /// FIXME: seems that the 'access attribute' of the 'CodeModel' is wrong!!!!! if (hasAddMethod) popup->insertItem(SmallIcon("methodnew"), i18n("Add Method..."), this, SLOT(selectedAddMethod())); if (hasAddAttribute) popup->insertItem(SmallIcon("variablenew"), i18n("Add Attribute..."), this, SLOT(selectedAddAttribute())); +#endif popup->insertSeparator();