Revision: 201019 RCL_3 PDK_3.0.0
authorDremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 25 May 2010 12:43:51 +0300
branchRCL_3
changeset 16 994c46bea969
parent 15 6347473a7bb2
child 17 46625afeb3de
Revision: 201019 Kit: 2010121
voiceui/pbkinfoviewimpl/inc/pbkinfoviewdialog.h
voiceui/pbkinfoviewimpl/src/pbkinfoviewdialog.cpp
--- a/voiceui/pbkinfoviewimpl/inc/pbkinfoviewdialog.h	Tue May 11 16:14:47 2010 +0300
+++ b/voiceui/pbkinfoviewimpl/inc/pbkinfoviewdialog.h	Tue May 25 12:43:51 2010 +0300
@@ -75,6 +75,14 @@
         */
         TInt ExecuteLD( TInt aResourceId );
         
+        /** 
+         * Responds to a change in focus.
+         *
+         * @param aDrawNow Contains the value that was passed to it by 
+         *        @c SetFocus(). 
+         */         
+        void FocusChanged(TDrawNow aDrawNow); 
+        
     private:
 
         /**
--- a/voiceui/pbkinfoviewimpl/src/pbkinfoviewdialog.cpp	Tue May 11 16:14:47 2010 +0300
+++ b/voiceui/pbkinfoviewimpl/src/pbkinfoviewdialog.cpp	Tue May 25 12:43:51 2010 +0300
@@ -217,6 +217,15 @@
     }
 
 //------------------------------------------------------------------------------
+// CPbkInfoViewDialog::FocusChanged (from CCoeControl)
+//------------------------------------------------------------------------------
+//
+void CPbkInfoViewDialog::FocusChanged( TDrawNow aDrawNow )
+    {
+    CAknDialog::FocusChanged(aDrawNow);
+	TRAP_IGNORE( iStatusPaneHandler->SetTitleL(R_INFOVIEW_DIALOG_TITLE) );
+    }
+//------------------------------------------------------------------------------
 // CPbkInfoViewDialog::ActivateL (from CCoeControl)
 // Called by system when dialog is activated.
 //------------------------------------------------------------------------------