S60 5th Edition SDK Example Applications Guide |
#include <helloworldbasicquerydialog.h>
Inheritance diagram for CHelloWorldQueryDialog:
Definition at line 29 of file helloworldbasicquerydialog.h.
Public Member Functions | |
CHelloWorldQueryDialog (TDes &aBuf, HBufC *aDefInput) | |
virtual | ~CHelloWorldQueryDialog () |
Private Member Functions | |
void | PreLayoutDynInitL () |
Private Attributes | |
HBufC & | iDefInput |
|
C++ default constructor.
Definition at line 26 of file helloworldbasicquerydialog.cpp. 00027 : CAknTextQueryDialog( aBuf ) 00028 , iDefInput(*aDefInput) 00029 { 00030 }
|
|
Destructor. Definition at line 43 of file helloworldbasicquerydialog.h.
|
|
sets the default value to the dialog. Definition at line 36 of file helloworldbasicquerydialog.cpp. References iDefInput. 00037 { 00038 // first we have to execute PreLayoutDynInitL() of the base-class 00039 CAknTextQueryDialog::PreLayoutDynInitL(); 00040 00041 // acquire pointer to editor-control and set the default input. 00042 CAknQueryControl* control = QueryControl(); 00043 control->SetTextL(iDefInput); 00044 00045 // enable OK-button, so that default text can be accepted as it is 00046 // without modifying the text 00047 MakeLeftSoftkeyVisible( ETrue ); 00048 }
|
|
the default input for the dialog Definition at line 57 of file helloworldbasicquerydialog.h. Referenced by PreLayoutDynInitL(). |
© Nokia 2009 |