--- a/phoneuis/bubblemanager2/bubblecore/src/bubbleheadingwidget.h Mon Aug 23 15:42:12 2010 +0300
+++ b/phoneuis/bubblemanager2/bubblecore/src/bubbleheadingwidget.h Fri Sep 03 13:33:36 2010 +0300
@@ -28,8 +28,13 @@
class BubbleHeadingWidget : public HbWidget
{
Q_OBJECT
- Q_PROPERTY(int lines READ lineCount WRITE setLineCount)
- Q_PROPERTY(QString layoutOption READ layout WRITE setLayout)
+ Q_PROPERTY(int lineCount READ lineCount WRITE setLineCount)
+ Q_PROPERTY(QString layoutOption READ layoutOption WRITE setLayoutOption)
+ Q_PROPERTY(QString textLine1 READ textLine1)
+ Q_PROPERTY(QString textLine2 READ textLine2)
+ Q_PROPERTY(QString textLine3 READ textLine3)
+ Q_PROPERTY(QString indicator1 READ indicator1)
+ Q_PROPERTY(QString indicator2 READ indicator2)
public:
BubbleHeadingWidget(QGraphicsItem* item=0);
@@ -38,8 +43,18 @@
int lineCount() const;
void setLineCount(int count);
- QString layout() const;
- void setLayout(const QString& layout);
+ QString layoutOption() const;
+ void setLayoutOption(const QString& option);
+
+ QString textLine1() const;
+
+ QString textLine2() const;
+
+ QString textLine3() const;
+
+ QString indicator1() const;
+
+ QString indicator2() const;
void reset();
void readBubbleHeader(const BubbleHeader& header);
@@ -53,8 +68,8 @@
void polish(HbStyleParameters ¶ms);
private:
- int lines;
- QString layoutOption;
+ int mLineCount;
+ QString mLayoutOption;
const BubbleHeader* mHeader;