equal
deleted
inserted
replaced
18 #include <hgwidgets/hggrid.h> |
18 #include <hgwidgets/hggrid.h> |
19 #include "hggrid_p.h" |
19 #include "hggrid_p.h" |
20 #include "hggridcontainer.h" |
20 #include "hggridcontainer.h" |
21 |
21 |
22 HgGrid::HgGrid( Qt::Orientation scrollDirection, QGraphicsItem *parent ): |
22 HgGrid::HgGrid( Qt::Orientation scrollDirection, QGraphicsItem *parent ): |
23 HgWidget(new HgGridPrivate, parent) |
23 HgWidget( *new HgGridPrivate, parent ) |
24 { |
24 { |
25 Q_D(HgGrid); |
25 Q_D(HgGrid); |
26 d->q_ptr = this; |
26 d->q_ptr = this; |
27 |
27 |
28 d->init(scrollDirection); |
28 d->init(scrollDirection); |
29 } |
29 } |
30 |
30 |
|
31 HgGrid::HgGrid( Qt::Orientation scrollDirection, HgGridPrivate &dd, QGraphicsItem *parent) : |
|
32 HgWidget( dd, parent ) |
|
33 { |
|
34 Q_D( HgGrid ); |
|
35 d->q_ptr = this; |
|
36 |
|
37 d->init(scrollDirection); |
|
38 } |
|
39 |
|
40 |
31 HgGrid::~HgGrid() |
41 HgGrid::~HgGrid() |
32 { |
42 { |
33 } |
43 } |
34 |
44 |
35 // EOF |
45 // EOF |