[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdevelop/parts/classview
From:       Roberto Raggi <roberto () kdevelop ! org>
Date:       2003-09-04 16:35:37
[Download RAW message or body]

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();


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic