#include <mw/aknQueryControl.h>
| class CAknExtQueryControl : public CAknQueryControl |
| Protected Attributes | |
|---|---|
| CEikFixedPointEditor * | iFixedPointEditor |
| CAknIpFieldEditor * | iIpEditor |
| Public Member Functions | |
|---|---|
| CAknExtQueryControl() | |
| virtual | ~CAknExtQueryControl() |
| virtual CCoeControl * | ComponentControl(TInt) |
| virtual IMPORT_C CCoeControl * | ControlByLayoutOrNull(TInt) |
| virtual TInt | CountComponentControls() |
| TBool | EditorContentIsValidL() |
| virtual void | FocusChanged(TDrawNow) |
| IMPORT_C TInt | GetFixedPointNumber() |
| IMPORT_C TInetAddr | GetInetAddress() |
| IMPORT_C void | HandleControlEventL(CCoeControl *, TCoeEvent) |
| virtual IMPORT_C void | HandlePointerEventL(const TPointerEvent &) |
| virtual void | PrepareForFocusLossL() |
| void | SetAndUseFlagsL(TBitFlags16) |
| IMPORT_C void | SetFixedPointNumberL(const TInt *) |
| IMPORT_C void | SetInetAddress(TInetAddr &) |
| IMPORT_C void | SetMinimumAndMaximum(const TInetAddr &, const TInetAddr &) |
| IMPORT_C void | SetMinimumAndMaximum(TInt, TInt) |
| Protected Member Functions | |
|---|---|
| virtual void | ConstructQueryL(TResourceReader &) |
| virtual void | LayoutEditor(const TLayoutMethod &) |
| Inherited Enumerations | |
|---|---|
| CAknQueryControl:@176 | |
| CAknQueryControl:TLayoutMethod | |
| CAknQueryControl:TQueryControlFlagBitIndices | |
| CCoeControl:TZoomType | |
The extended control for a query dialog. ip and fixed point editors
Manage layout of elements in a query dialog:- the text, the image and the editors.
See also: CAknQueryDialog, CAknText
| CCoeControl * | ComponentControl | ( | TInt | anIndex | ) | const [virtual] |
Reimplemented from CAknQueryControl::ComponentControl(TInt)const
From CCoeControl Get the components of a compound control. It returns one of the control's component controls, identified by aIndex.
| Parameter | Description |
|---|---|
| anIndex | The index of the control to get. |
Returns: The component control with an index of aIndex.
| void | ConstructQueryL | ( | TResourceReader & | aRes | ) | [protected, virtual] |
Reimplemented from CAknQueryControl::ConstructQueryL(TResourceReader &)
After having read the query type from resource. This method is called in CostructFromResourceL()
See also: ConstructFromResourceL()
| IMPORT_C CCoeControl * | ControlByLayoutOrNull | ( | TInt | aLayout | ) | [virtual] |
Reimplemented from CAknQueryControl::ControlByLayoutOrNull(TInt)
Get pointer to query controls control (editor)
| Parameter | Description |
|---|---|
| aLayout | Controls layout (for one line queries use EDataLayout, ECodeLayout... and for multiline queries use EMultiDataFirstEdwin, EMultiDataSecondEdwin...) |
Returns: Pointer to control, NULL if not found
| TInt | CountComponentControls | ( | ) | const [virtual] |
Reimplemented from CAknQueryControl::CountComponentControls()const
From CCoeControl Count number of controls contained in a compound control.
Returns: The number of component controls contained by this control.
| TBool | EditorContentIsValidL | ( | ) | const |
Reimplemented from CAknQueryControl::EditorContentIsValidL()const
Returns: true if the content of the editor is valid, false otherwise
| void | FocusChanged | ( | TDrawNow | aDrawNow | ) | [virtual] |
Reimplemented from CAknQueryControl::FocusChanged(TDrawNow)
From CCoeControl Added to pass-through focus-loss warnings. if not ready, this will leave.
Returns: Indicates whether or not the key event was used by this control.
| IMPORT_C TInt | GetFixedPointNumber | ( | ) | const |
Get number from fixed point editor.
Returns: Returns number from editor
| IMPORT_C TInetAddr | GetInetAddress | ( | ) | const |
Get ip address from ip editor.
Returns: Returns data from editor
| IMPORT_C void | HandleControlEventL | ( | CCoeControl * | aControl, |
| TCoeEvent | aEventType | |||
| ) | ||||
Reimplemented from CAknQueryControl::HandleControlEventL(CCoeControl *,TCoeEvent)
From MCoeControlObserver
| Parameter | Description |
|---|---|
| aControl | Control who caused the event |
| aEventType | Type of the event |
| IMPORT_C void | HandlePointerEventL | ( | const TPointerEvent & | aPointerEvent | ) | [virtual] |
Reimplemented from CAknQueryControl::HandlePointerEventL(const TPointerEvent &)
From CCoeControl. Handles pointer event.
| Parameter | Description |
|---|---|
| aPointerEvent | Pointer event to be handled. |
| void | LayoutEditor | ( | const TLayoutMethod & | aLayoutM | ) | [protected, virtual] |
Reimplemented from CAknQueryControl::LayoutEditor(const TLayoutMethod &)
Layout the text editor
| void | PrepareForFocusLossL | ( | ) | [virtual] |
Reimplemented from CAknQueryControl::PrepareForFocusLossL()
From CCoeControl Added to pass-through focus-loss warnings. if not ready, this will leave.
Returns: Indicates whether or not the key event was used by this control.
| void | SetAndUseFlagsL | ( | TBitFlags16 | aFlags | ) |
Reimplemented from CAknQueryControl::SetAndUseFlagsL(TBitFlags16)
This transfers CAknQueryControl's flags set by the dialog and then uses them. The method must be called after all the contained controls are constructed; Inside PreLayoutDynamicInitL is recommended.
| IMPORT_C void | SetFixedPointNumberL | ( | const TInt * | aNumber | ) |
Set number to fixed point editor
| Parameter | Description |
|---|---|
| aNumber | Number to editor |
| IMPORT_C void | SetInetAddress | ( | TInetAddr & | aInetAddress | ) |
Set ip address to editor
| Parameter | Description |
|---|---|
| aInetAddress | to editor. |
Reimplemented from CAknQueryControl::SetMinimumAndMaximum(TInt,TInt)
Set minimum and maximum fixed point number to editor
| Parameter | Description |
|---|---|
| aMinimumValue | Minimum value |
| aMaximumValue | Maximum value |