hgwidgets_plat/ganeswidgets_api/inc/hggrid.h
changeset 1 e48454f237ca
parent 0 89c329efa980
child 3 c863538fcbb6
--- a/hgwidgets_plat/ganeswidgets_api/inc/hggrid.h	Mon Apr 19 14:40:06 2010 +0300
+++ b/hgwidgets_plat/ganeswidgets_api/inc/hggrid.h	Mon May 03 13:32:54 2010 +0300
@@ -27,11 +27,14 @@
     Q_OBJECT
 public:
 
-    HgGrid(Qt::Orientation scrollDirection, QGraphicsItem *parent = 0 );
+    explicit HgGrid(Qt::Orientation scrollDirection, QGraphicsItem *parent = 0 );
     virtual ~HgGrid();
 
+protected:
+    HgGrid(Qt::Orientation scrollDirection, HgGridPrivate &dd, QGraphicsItem *parent);
+
 private:
-    Q_DECLARE_PRIVATE_D(d_ptr, HgGrid)
+    Q_DECLARE_PRIVATE_D(p_ptr, HgGrid)
     Q_DISABLE_COPY(HgGrid)
 };