UI/BrowserModel.py

changeset 3604
919ebd27fa78
parent 3603
cd14023a8ac1
child 3656
441956d8fce5
diff -r cd14023a8ac1 -r 919ebd27fa78 UI/BrowserModel.py
--- a/UI/BrowserModel.py	Thu May 22 19:49:41 2014 +0200
+++ b/UI/BrowserModel.py	Fri May 23 18:26:24 2014 +0200
@@ -1580,6 +1580,14 @@
             self.icon = UI.PixmapCache.getIcon("attributes.png")
         self.__isClass = isClass
     
+    def name(self):
+        """
+        Public method to return the name of the item.
+        
+        @return name of the item (string)
+        """
+        return '{0}@@{1}'.format(self.parentItem.name(), self.data(0))
+    
     def attributes(self):
         """
         Public method returning the attribute list.

eric ide

mercurial