--- a/src/hbwidgets/widgets/hblabel.h Tue Jul 06 14:36:53 2010 +0300
+++ b/src/hbwidgets/widgets/hblabel.h Wed Aug 18 10:05:37 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;