equal
deleted
inserted
replaced
53 }; |
53 }; |
54 |
54 |
55 HbCheckBoxSpacer::HbCheckBoxSpacer( QGraphicsItem *parent ) |
55 HbCheckBoxSpacer::HbCheckBoxSpacer( QGraphicsItem *parent ) |
56 : HbWidgetBase( parent ) |
56 : HbWidgetBase( parent ) |
57 { |
57 { |
58 // seems to be 4.6 only? |
58 #if QT_VERSION >= 0x040600 |
59 // setFlag( QGraphicsItem::ItemHasNoContents, true ); |
59 setFlag(QGraphicsItem::ItemHasNoContents, true); |
|
60 #endif |
60 } |
61 } |
61 |
62 |
62 QSizeF HbCheckBoxSpacer::sizeHint( Qt::SizeHint which, const QSizeF &constraint ) const |
63 QSizeF HbCheckBoxSpacer::sizeHint( Qt::SizeHint which, const QSizeF &constraint ) const |
63 { |
64 { |
64 Q_UNUSED( constraint ); |
65 Q_UNUSED( constraint ); |