[Bug 56501] Can't add a method/attribute to a class within a namespace (and also nested namespace)

Amilcar do Carmo Lucas amilcar at ida.ing.tu-bs.de
Mon Jul 28 18:26:06 UTC 2003


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=56501     
amilcar at ida.ing.tu-bs.de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From amilcar at ida.ing.tu-bs.de  2003-07-28 18:25 -------
Subject: kdevelop/parts/classview

CVS commit by aclu: 

The rmb menu of the treeview in the classview doesn't work.
This patch fixes that and the problem with classtool (the correct class is not selected when choosing "Parent classes..." etc. from the rmb-menu).

CCMAIL: 56501-done at bugs.kde.org


  M +2 -0      classtooldlg.cpp   1.14
  M +2 -4      classtreebase.cpp   1.47


--- kdevelop/parts/classview/classtooldlg.cpp  #1.13:1.14
@@ -147,4 +147,6 @@ void ClassToolDialog::setLanguageSupport
 void ClassToolDialog::setClassName(const QString &name)
 {
+    if ( class_combo->count() == 0 ) refresh();
+
     QListBox *lb = class_combo->listBox();
 

--- kdevelop/parts/classview/classtreebase.cpp  #1.46:1.47
@@ -93,10 +93,8 @@ KPopupMenu *ClassTreeItem::createPopup()
 QString ClassTreeItem::scopedText() const
 {
-    QString str;
-    
     if (m_item)
-        str = m_item->path();
+        return m_item->path();
 
-    return str.replace(QRegExp("\\."), "::");
+    return QString::null;
 }




More information about the KDevelop-devel mailing list