Not able to remove error : Function call not matching.
| Wed, 2008-01-23 08:29 | |
|
#include "SymplPlayerAppUi.h" /** // Create the view and add it to the framework void CSymplPlayerAppUi::HandleCommandL(CQikCommand& aCommand) For this code i am getting error as "Function call [CSymplPlayer].Handlecommand does not match with "CQikViewBase::HandleCommandL Can anyone tell me changes i need to do. Thanks n Regards, |
|






Forum posts: 587
Does your CSymplPlayerAppUi really inherit from CQikViewBase? View classes inherit from CQikViewBase, not UI objects.
Forum posts: 21
I had refered some example code and tried to implement the same ... in that code this handle command was used in APPUI n it was not inherited from CQIKVIEWBASE...
can use say me any alternate way to use this handle command in AAPUI.
Thanks n Regards,
Sapna
Forum posts: 1134
The problem is that you are trying to call the base class implementation of a class you have not inherited from!
In your AppUi, you would need to call CQikAppUi::HandleCommandL, and not CQikViewBase::HandleCommandL
Forum posts: 21
Thank you i got ti....
Thanks n Regards,
Sapna