diff -r 7516d6d86cf5 -r ed14f46c0e55 src/hbwidgets/widgets/hblabel.h --- a/src/hbwidgets/widgets/hblabel.h Mon Oct 04 17:49:30 2010 +0300 +++ b/src/hbwidgets/widgets/hblabel.h Mon Oct 18 18:23:13 2010 +0300 @@ -46,6 +46,7 @@ Q_PROPERTY(QColor textColor READ textColor WRITE setTextColor) Q_PROPERTY(HbIcon icon READ icon WRITE setIcon) Q_PROPERTY(Qt::AspectRatioMode aspectRatioMode READ aspectRatioMode WRITE setAspectRatioMode) + Q_PROPERTY(int maximumLines READ maximumLines WRITE setMaximumLines) public: @@ -74,6 +75,9 @@ void setTextColor( const QColor &textColor ); QColor textColor() const; + void setMaximumLines(int maxLines); + int maximumLines() const; + bool isEmpty() const; virtual QGraphicsItem *primitive(HbStyle::Primitive primitive) const;