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

List:       kde-commits
Subject:    kdenonbeta/kcanvas (silent)
From:       Rob Buis <rwlbuis () xs4all ! nl>
Date:       2005-10-20 20:12:58
Message-ID: 1129839178.466924.14621.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 472460 by buis:

SVN_SILENT: we do not seem to use this anymore...


 M  +0 -10     KCanvasItem.cpp  
 M  +0 -1      KCanvasItem.h  


--- trunk/kdenonbeta/kcanvas/KCanvasItem.cpp #472459:472460
@@ -45,10 +45,6 @@
         prev = 0;
         next = 0;
         userData = 0;
-
-        // Set to invalid. '0' is reserved
-        // for the root container.
-        zIndex = -1;
     }
 
     ~Private()
@@ -62,7 +58,6 @@
     KCanvas *canvas;    
     KRenderingStyle *style;
 
-    int zIndex;
     KCanvasUserData path, userData;
 
     QRectF bbox;
@@ -88,11 +83,6 @@
     delete d;
 }
 
-int KCanvasItem::zIndex() const
-{
-    return d->zIndex;
-}
-
 bool KCanvasItem::isVisible() const
 {
     if(!d->style || !d->style->visible())
--- trunk/kdenonbeta/kcanvas/KCanvasItem.h #472459:472460
@@ -38,7 +38,6 @@
     KCanvasItem(KCanvas *canvas, KRenderingStyle *style, KCanvasUserData path);
     virtual ~KCanvasItem();
 
-    int zIndex() const;
     bool isVisible() const;
 
     // Hit-detection seperated for the fill and the stroke
[prev in list] [next in list] [prev in thread] [next in thread] 

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