messagingapp/msgui/unifiedviewer/inc/unifiedviewer.h
changeset 62 fdbe8253b596
parent 51 3507212d340e
child 63 eceabb8c7a12
--- a/messagingapp/msgui/unifiedviewer/inc/unifiedviewer.h	Wed Sep 01 14:19:13 2010 +0530
+++ b/messagingapp/msgui/unifiedviewer/inc/unifiedviewer.h	Tue Sep 07 13:28:39 2010 +0530
@@ -58,7 +58,30 @@
     /**
      * Populates the content on the widget
      */
-    void populateContent(const qint32 messageId, bool update, int msgCount);
+    void populateContent(const qint32 messageId, bool update, int msgCount, qint64 conversationId=-1);
+
+    /**
+     * Event handler
+     * @param key Key code
+     * @return true if key event handled else false.
+     * @see MsgBaseView
+     */
+    bool handleKeyEvent(int key);
+
+public slots:
+
+    /**
+     * Clears the content on the widget
+     */
+    void clearContent();
+
+    // Used for internal testing will be removed
+    void handleFwdAction();
+
+    /**
+     * Handle delete
+     */
+    void handleDeleteAction();
 
 protected:
 
@@ -87,20 +110,11 @@
      */
     void launchEditor(MsgBaseView::UniEditorOperation operation);
 
-public slots:
-
     /**
-     * Clears the content on the widget
+     * Launches the dialer interface.
+     * @args number Number to be called.
      */
-    void clearContent();
-
-    // Used for internal testing will be removed
-    void handleFwdAction();
-    
-    /**
-     * Handle delete 
-     */     
-    void handleDeleteAction();
+    void call(const QString &number);
 
 private slots:
     /**
@@ -144,6 +158,11 @@
      * Owned
      */
     UniContentsWidget* mContentsWidget;
+    
+    /**
+     * Conversation ID
+     */
+    qint64 mConversationID;
 
     /**
      * Contact id
@@ -159,6 +178,7 @@
      * Message count
      */
     int mMsgCount;
+
 };
 
 #endif