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

List:       kde-commits
Subject:    extragear/graphics/digikam/utilities/imageeditor/editor
From:       Gilles Caulier <caulier.gilles () gmail ! com>
Date:       2010-09-16 7:39:27
Message-ID: 20100916073927.DA4B0AC871 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1175935 by cgilles:

more private internal container


 M  +4 -2      imageiface.cpp  
 M  +1 -2      imageiface.h  


--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imageiface.cpp #1175934:1175935
@@ -48,7 +48,7 @@
 namespace Digikam
 {
 
-class ImageIfacePriv
+class ImageIface::ImageIfacePriv
 {
 public:
 
@@ -367,10 +367,12 @@
 void ImageIface::paint(QPaintDevice* device, int x, int y, int w, int h, QPainter* painter)
 {
     QPainter localPainter;
-    QPainter *p;
+    QPainter* p=0;
 
     if (painter)
+    {
         p = painter;
+    }
     else
     {
         p = &localPainter;
--- trunk/extragear/graphics/digikam/utilities/imageeditor/editor/imageiface.h #1175934:1175935
@@ -47,8 +47,6 @@
 namespace Digikam
 {
 
-class ImageIfacePriv;
-
 class DIGIKAM_EXPORT ImageIface
 {
 public:
@@ -186,6 +184,7 @@
 
 private:
 
+    class ImageIfacePriv;
     ImageIfacePriv* const d;
 };
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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