classicui_pub/dialogs_api/tsrc/src/testsdkdialogscontrol.cpp
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  Test EIKDIALG.H
       
    15 *
       
    16 */
       
    17 
       
    18 //  INCLUDES
       
    19 #include <eikedwin.h> 
       
    20 #include <flddef.h>
       
    21 #include <s32std.h>
       
    22 #include <e32base.h>
       
    23 
       
    24 #include "testsdkdialogscontrol.h"
       
    25 
       
    26 // ============================ MEMBER FUNCTIONS ===============================
       
    27 // -----------------------------------------------------------------------------
       
    28 // CTestSDKDialogsControl::CTestSDKDialogsControl 
       
    29 // -----------------------------------------------------------------------------
       
    30 CTestSDKDialogsControl::CTestSDKDialogsControl() : CEikDialog()
       
    31     {
       
    32     
       
    33     }
       
    34 
       
    35 // -----------------------------------------------------------------------------
       
    36 // CTestSDKDialogsControl::~CTestSDKDialogsControl 
       
    37 // -----------------------------------------------------------------------------
       
    38 CTestSDKDialogsControl::~CTestSDKDialogsControl()
       
    39     {
       
    40     
       
    41     }
       
    42 
       
    43 // -----------------------------------------------------------------------------
       
    44 // CTestSDKDialogsControl::CTestSDKDialogsSetInitialCurrentLine 
       
    45 // -----------------------------------------------------------------------------
       
    46 void CTestSDKDialogsControl::CTestSDKDialogsSetInitialCurrentLine()
       
    47     {
       
    48     SetInitialCurrentLine();
       
    49     }
       
    50 
       
    51 // -----------------------------------------------------------------------------
       
    52 // CTestSDKDialogsControl::CTestSDKDialogsCurrentLine 
       
    53 // -----------------------------------------------------------------------------
       
    54 CEikCaptionedControl* CTestSDKDialogsControl::CTestSDKDialogsCurrentLine()
       
    55     {
       
    56     return CurrentLine();
       
    57     }
       
    58 
       
    59 // -----------------------------------------------------------------------------
       
    60 // CTestSDKDialogsControl::MediatorCommandL 
       
    61 // -----------------------------------------------------------------------------
       
    62 TAknDialogMediatorObserverCommand CTestSDKDialogsControl::MediatorCommandL( TUid /*aDomain*/,
       
    63     TUid /*aCategory*/, 
       
    64     TInt /*aCommandId*/,
       
    65     const TDesC8& /*aData*/ )
       
    66     {
       
    67     return EAcceptDialog;
       
    68     }
       
    69 
       
    70 // -----------------------------------------------------------------------------
       
    71 // CTestSDKDialogsControl::NotifyMediatorExit 
       
    72 // -----------------------------------------------------------------------------
       
    73 void CTestSDKDialogsControl::NotifyMediatorExit()
       
    74     {
       
    75     
       
    76     }
       
    77 
       
    78 // -----------------------------------------------------------------------------
       
    79 // CTestSDKDialogsControl::CTestSDKSetMediatorObserver 
       
    80 // -----------------------------------------------------------------------------
       
    81 void CTestSDKDialogsControl::CTestSDKSetMediatorObserver()
       
    82     {
       
    83     SetMediatorObserver( this );
       
    84     }
       
    85 
       
    86 // -----------------------------------------------------------------------------
       
    87 // CTestSDKDialogsControl::NewFieldL 
       
    88 // -----------------------------------------------------------------------------
       
    89 CTextField* CTestSDKDialogsControl::NewFieldL( TUid aFieldType )
       
    90     {
       
    91     CTextField* field = NULL; 
       
    92     if ( aFieldType == KDateTimeFieldUid )
       
    93         {
       
    94         field = ( CTextField* ) new (ELeave) CMyDateTimeField();
       
    95         }
       
    96     return field;
       
    97 
       
    98     }
       
    99 
       
   100 // -----------------------------------------------------------------------------
       
   101 // CTestSDKDialogsControl::PrepareForFocusTransitionL 
       
   102 // -----------------------------------------------------------------------------
       
   103 void CTestSDKDialogsControl::PrepareForFocusTransitionL()
       
   104     {
       
   105     CEikDialog::PrepareForFocusTransitionL();
       
   106     }
       
   107 
       
   108 // -----------------------------------------------------------------------------
       
   109 // CTestSDKDialogsControl::IdOfFocusControl 
       
   110 // -----------------------------------------------------------------------------
       
   111 TInt CTestSDKDialogsControl::IdOfFocusControl()
       
   112     {
       
   113     return CEikDialog::IdOfFocusControl();
       
   114     }
       
   115 
       
   116 // -----------------------------------------------------------------------------
       
   117 // CTestSDKDialogsControl::PageChangedL 
       
   118 // -----------------------------------------------------------------------------
       
   119 void CTestSDKDialogsControl::PageChangedL( TInt aPageId )
       
   120     {
       
   121     CEikDialog::PageChangedL( aPageId );
       
   122     }
       
   123 
       
   124 // -----------------------------------------------------------------------------
       
   125 // CTestSDKDialogsControl::LineChangedL 
       
   126 // -----------------------------------------------------------------------------
       
   127 void CTestSDKDialogsControl::LineChangedL( TInt aControlId )
       
   128     {
       
   129     CEikDialog::LineChangedL( aControlId );
       
   130     }
       
   131 
       
   132 // -----------------------------------------------------------------------------
       
   133 // CTestSDKDialogsControl::PrepareContext 
       
   134 // -----------------------------------------------------------------------------
       
   135 void CTestSDKDialogsControl::PrepareContext() const
       
   136     {
       
   137     CWindowGc& gc = SystemGc();
       
   138     CEikDialog::PrepareContext( gc );
       
   139     gc.Reset();
       
   140     }
       
   141 
       
   142 // -----------------------------------------------------------------------------
       
   143 // CTestSDKDialogsControl::WriteInternalStateL 
       
   144 // -----------------------------------------------------------------------------
       
   145 void CTestSDKDialogsControl::WriteInternalStateL( RWriteStream& aWriteStream ) const
       
   146     {
       
   147     CEikDialog::WriteInternalStateL( aWriteStream );
       
   148     }
       
   149 
       
   150 // -----------------------------------------------------------------------------
       
   151 // CTestSDKDialogsControl::CountComponentControls 
       
   152 // -----------------------------------------------------------------------------
       
   153 TInt CTestSDKDialogsControl::CountComponentControls() const
       
   154     {
       
   155     return CEikDialog::CountComponentControls();
       
   156     }
       
   157 
       
   158 // -----------------------------------------------------------------------------
       
   159 // CTestSDKDialogsControl::ComponentControl 
       
   160 // -----------------------------------------------------------------------------
       
   161 CCoeControl* CTestSDKDialogsControl::ComponentControl( TInt aIndex ) const
       
   162     {
       
   163     return CEikDialog::ComponentControl( aIndex );
       
   164     }
       
   165 
       
   166 // -----------------------------------------------------------------------------
       
   167 // CTestSDKDialogsControl::GetNumberOfLinesOnPage 
       
   168 // -----------------------------------------------------------------------------
       
   169 TInt CTestSDKDialogsControl::GetNumberOfLinesOnPage( TInt aPageIndex ) const
       
   170     {
       
   171     return CEikDialog::GetNumberOfLinesOnPage( aPageIndex );
       
   172     }
       
   173 
       
   174 // -----------------------------------------------------------------------------
       
   175 // CTestSDKDialogsControl::GetNumberOfPages 
       
   176 // -----------------------------------------------------------------------------
       
   177 TInt CTestSDKDialogsControl::GetNumberOfPages() const
       
   178     {
       
   179     return CEikDialog::GetNumberOfPages();
       
   180     }
       
   181 
       
   182 // -----------------------------------------------------------------------------
       
   183 // CTestSDKDialogsControl::GetLineByLineAndPageIndex 
       
   184 // -----------------------------------------------------------------------------
       
   185 CEikCaptionedControl* CTestSDKDialogsControl::GetLineByLineAndPageIndex( TInt aLineIndex, 
       
   186         TInt aPageIndex ) const
       
   187     {
       
   188     return CEikDialog::GetLineByLineAndPageIndex( aLineIndex, aPageIndex );
       
   189     }
       
   190 
       
   191 // -----------------------------------------------------------------------------
       
   192 // CTestSDKDialogsControl::HandleControlEventL 
       
   193 // -----------------------------------------------------------------------------
       
   194 void CTestSDKDialogsControl::HandleControlEventL( CCoeControl* aControl, TCoeEvent aEventType )
       
   195     {
       
   196     CEikDialog::HandleControlEventL( aControl, aEventType );
       
   197     }
       
   198 
       
   199 // -----------------------------------------------------------------------------
       
   200 // CTestSDKDialogsControl::TryExitL 
       
   201 // -----------------------------------------------------------------------------
       
   202 void CTestSDKDialogsControl::TryExitL( TInt aButtonId )
       
   203     {
       
   204     CEikDialog::TryExitL( aButtonId );
       
   205     }
       
   206 
       
   207 // -----------------------------------------------------------------------------
       
   208 // CTestSDKDialogsControl::AdjustAllIdsOnPage 
       
   209 // -----------------------------------------------------------------------------
       
   210 void CTestSDKDialogsControl::AdjustAllIdsOnPage( TInt aPageId, TInt aControlIdDelta )
       
   211     {
       
   212     CEikDialog::AdjustAllIdsOnPage( aPageId, aControlIdDelta );
       
   213     }
       
   214 
       
   215 // -----------------------------------------------------------------------------
       
   216 // CTestSDKDialogsControl::ConstructSleepingDialogL 
       
   217 // -----------------------------------------------------------------------------
       
   218 void CTestSDKDialogsControl::ConstructSleepingDialogL( TInt aResourceId )
       
   219     {
       
   220     CEikDialog::ConstructSleepingDialogL( aResourceId );
       
   221     }
       
   222 
       
   223 // -----------------------------------------------------------------------------
       
   224 // CTestSDKDialogsControl::ConstructSleepingAlertDialogL 
       
   225 // -----------------------------------------------------------------------------
       
   226 void CTestSDKDialogsControl::ConstructSleepingAlertDialogL( TInt aResourceId )
       
   227     {
       
   228     CEikDialog::ConstructSleepingAlertDialogL( aResourceId );
       
   229     }
       
   230 
       
   231 // -----------------------------------------------------------------------------
       
   232 // CTestSDKDialogsControl::RouseSleepingDialog 
       
   233 // -----------------------------------------------------------------------------
       
   234 TInt CTestSDKDialogsControl::RouseSleepingDialog()
       
   235     {
       
   236     return CEikDialog::RouseSleepingDialog();
       
   237     }
       
   238 
       
   239 // -----------------------------------------------------------------------------
       
   240 // CTestSDKDialogsControl::ExitSleepingDialog 
       
   241 // -----------------------------------------------------------------------------
       
   242 void CTestSDKDialogsControl::ExitSleepingDialog()
       
   243     {
       
   244     CEikDialog::ExitSleepingDialog();
       
   245     }
       
   246 
       
   247 // -----------------------------------------------------------------------------
       
   248 // CTestSDKDialogsControl::IdOfFocusControl 
       
   249 // -----------------------------------------------------------------------------
       
   250 TInt CTestSDKDialogsControl::IdOfFocusControl() const
       
   251     {
       
   252     return CEikDialog::IdOfFocusControl();
       
   253     }
       
   254 
       
   255 // -----------------------------------------------------------------------------
       
   256 // CTestSDKDialogsControl::FindLineIndex 
       
   257 // -----------------------------------------------------------------------------
       
   258 TInt CTestSDKDialogsControl::FindLineIndex( const CCoeControl& aControl ) const
       
   259     {
       
   260     return CEikDialog::FindLineIndex( aControl );
       
   261     }
       
   262 
       
   263 // -----------------------------------------------------------------------------
       
   264 // CTestSDKDialogsControl::Line 
       
   265 // -----------------------------------------------------------------------------
       
   266 CEikCaptionedControl* CTestSDKDialogsControl::Line( TInt aControlId ) const
       
   267     {
       
   268     return CEikDialog::Line( aControlId );
       
   269     }
       
   270 
       
   271 // -----------------------------------------------------------------------------
       
   272 // CTestSDKDialogsControl::CurrentLine 
       
   273 // -----------------------------------------------------------------------------
       
   274 CEikCaptionedControl* CTestSDKDialogsControl::CurrentLine() const
       
   275     {
       
   276     return CEikDialog::CurrentLine();
       
   277     }
       
   278 
       
   279 // -----------------------------------------------------------------------------
       
   280 // CTestSDKDialogsControl::RotateFocusByL 
       
   281 // -----------------------------------------------------------------------------
       
   282 TBool CTestSDKDialogsControl::RotateFocusByL( TInt aDelta )
       
   283     {
       
   284     return CEikDialog::RotateFocusByL( aDelta );
       
   285     }
       
   286 
       
   287 // -----------------------------------------------------------------------------
       
   288 // CTestSDKDialogsControl::ActivePageIndex 
       
   289 // -----------------------------------------------------------------------------
       
   290 TInt CTestSDKDialogsControl::ActivePageIndex() const
       
   291     {
       
   292     return CEikDialog::ActivePageIndex();
       
   293     }
       
   294 
       
   295 // -----------------------------------------------------------------------------
       
   296 // CTestSDKDialogsControl::ResetLineMinimumSizes 
       
   297 // -----------------------------------------------------------------------------
       
   298 void CTestSDKDialogsControl::ResetLineMinimumSizes()
       
   299     {
       
   300     CEikDialog::ResetLineMinimumSizes();
       
   301     }
       
   302 
       
   303 // -----------------------------------------------------------------------------
       
   304 // CTestSDKDialogsControl::SwapButtonGroupContainer 
       
   305 // -----------------------------------------------------------------------------
       
   306 CEikButtonGroupContainer* CTestSDKDialogsControl::SwapButtonGroupContainer( 
       
   307         CEikButtonGroupContainer* aContainer )
       
   308     {
       
   309     return CEikDialog::SwapButtonGroupContainer( aContainer );
       
   310     }
       
   311 
       
   312 // -----------------------------------------------------------------------------
       
   313 // CTestSDKDialogsControl::ButtonCommandObserver 
       
   314 // -----------------------------------------------------------------------------
       
   315 MEikCommandObserver* CTestSDKDialogsControl::ButtonCommandObserver() const
       
   316     {
       
   317     return CEikDialog::ButtonCommandObserver();
       
   318     }
       
   319 
       
   320 // -----------------------------------------------------------------------------
       
   321 // CTestSDKDialogsControl::ActivateGc 
       
   322 // -----------------------------------------------------------------------------
       
   323 void CTestSDKDialogsControl::ActivateGc() const
       
   324     {
       
   325     CEikDialog::ActivateGc();
       
   326     }
       
   327 
       
   328 // -----------------------------------------------------------------------------
       
   329 // CTestSDKDialogsControl::DeactivateGc 
       
   330 // -----------------------------------------------------------------------------
       
   331 void CTestSDKDialogsControl::DeactivateGc() const
       
   332     {
       
   333     CEikDialog::DeactivateGc();
       
   334     }
       
   335 
       
   336 // -----------------------------------------------------------------------------
       
   337 // CTestSDKDialogsControl::OkToExitL 
       
   338 // -----------------------------------------------------------------------------
       
   339 TBool CTestSDKDialogsControl::OkToExitL( TInt aButtonId )
       
   340     {
       
   341     return CEikDialog::OkToExitL( aButtonId );
       
   342     }
       
   343 
       
   344 // -----------------------------------------------------------------------------
       
   345 // CTestSDKDialogsControl::PreLayoutDynInitL 
       
   346 // -----------------------------------------------------------------------------
       
   347 void CTestSDKDialogsControl::PreLayoutDynInitL()
       
   348     {
       
   349     CEikDialog::PreLayoutDynInitL();
       
   350     }
       
   351 
       
   352 // -----------------------------------------------------------------------------
       
   353 // CTestSDKDialogsControl::PostLayoutDynInitL 
       
   354 // -----------------------------------------------------------------------------
       
   355 void CTestSDKDialogsControl::PostLayoutDynInitL()
       
   356     {
       
   357     CEikDialog::PostLayoutDynInitL();
       
   358     }
       
   359 
       
   360 // -----------------------------------------------------------------------------
       
   361 // CTestSDKDialogsControl::SetInitialCurrentLine 
       
   362 // -----------------------------------------------------------------------------
       
   363 void CTestSDKDialogsControl::SetInitialCurrentLine()
       
   364     {
       
   365     CEikDialog::SetInitialCurrentLine();
       
   366     }
       
   367 
       
   368 // -----------------------------------------------------------------------------
       
   369 // CTestSDKDialogsControl::HandleControlStateChangeL 
       
   370 // -----------------------------------------------------------------------------
       
   371 void CTestSDKDialogsControl::HandleControlStateChangeL( TInt aControlId )
       
   372     {
       
   373     CEikDialog::HandleControlStateChangeL( aControlId );
       
   374     }
       
   375 
       
   376 // -----------------------------------------------------------------------------
       
   377 // CTestSDKDialogsControl::HandleInteractionRefused 
       
   378 // -----------------------------------------------------------------------------
       
   379 void CTestSDKDialogsControl::HandleInteractionRefused( TInt aControlId )
       
   380     {
       
   381     CEikDialog::HandleInteractionRefused( aControlId );
       
   382     }
       
   383 
       
   384 // -----------------------------------------------------------------------------
       
   385 // CTestSDKDialogsControl::SetSizeAndPosition 
       
   386 // -----------------------------------------------------------------------------
       
   387 void CTestSDKDialogsControl::SetSizeAndPosition( const TSize& aSize )
       
   388     {
       
   389     CEikDialog::SetSizeAndPosition( aSize );
       
   390     }
       
   391 
       
   392 // -----------------------------------------------------------------------------
       
   393 // CTestSDKDialogsControl::BorderStyle 
       
   394 // -----------------------------------------------------------------------------
       
   395 TInt CTestSDKDialogsControl::BorderStyle()
       
   396     {
       
   397     return CEikDialog::BorderStyle();
       
   398     }
       
   399 
       
   400 // -----------------------------------------------------------------------------
       
   401 // CTestSDKDialogsControl::MappedCommandId 
       
   402 // -----------------------------------------------------------------------------
       
   403 TInt CTestSDKDialogsControl::MappedCommandId( TInt aButtonId )
       
   404     {
       
   405     return CEikDialog::MappedCommandId( aButtonId );
       
   406     }
       
   407 
       
   408 // -----------------------------------------------------------------------------
       
   409 // CTestSDKDialogsControl::FormFlagsFromActivePage 
       
   410 // -----------------------------------------------------------------------------
       
   411 TInt CTestSDKDialogsControl::FormFlagsFromActivePage()
       
   412     {
       
   413     return CEikDialog::FormFlagsFromActivePage();
       
   414     }
       
   415 
       
   416 // -----------------------------------------------------------------------------
       
   417 // CTestSDKDialogsControl::GetFirstLineOnFirstPageOrNull 
       
   418 // -----------------------------------------------------------------------------
       
   419 CEikCaptionedControl* CTestSDKDialogsControl::GetFirstLineOnFirstPageOrNull()
       
   420     {
       
   421     return CEikDialog::GetFirstLineOnFirstPageOrNull();
       
   422     }
       
   423 
       
   424 // -----------------------------------------------------------------------------
       
   425 // CTestSDKDialogsControl::ControlsOnPage 
       
   426 // -----------------------------------------------------------------------------
       
   427 void CTestSDKDialogsControl::ControlsOnPage( 
       
   428         RArray<CEikCaptionedControl*>& aControls, TInt aPageId ) const
       
   429     {
       
   430     CEikDialog::ControlsOnPage( aControls, aPageId );
       
   431     }
       
   432 
       
   433 // -----------------------------------------------------------------------------
       
   434 // CTestSDKDialogsControl::MopSupplyObject 
       
   435 // -----------------------------------------------------------------------------
       
   436 TTypeUid::Ptr CTestSDKDialogsControl::MopSupplyObject( TTypeUid aId )
       
   437     {
       
   438     return CEikDialog::MopSupplyObject( aId );
       
   439     }
       
   440 
       
   441 // -----------------------------------------------------------------------------
       
   442 // CTestSDKDialogsControl::SetLabelL 
       
   443 // -----------------------------------------------------------------------------
       
   444 void CTestSDKDialogsControl::SetLabelL( TInt aControlId, const TDesC& aDes )
       
   445     {
       
   446     CEikDialog::SetLabelL( aControlId, aDes );
       
   447     }
       
   448 
       
   449 // -----------------------------------------------------------------------------
       
   450 // CTestSDKDialogsControl::GetLabelText 
       
   451 // -----------------------------------------------------------------------------
       
   452 void CTestSDKDialogsControl::GetLabelText( TDes& aDes,TInt aControlId ) const
       
   453     {
       
   454     CEikDialog::GetLabelText( aDes, aControlId );
       
   455     }
       
   456 
       
   457 // -----------------------------------------------------------------------------
       
   458 // CTestSDKDialogsControl::SetLabelL 
       
   459 // -----------------------------------------------------------------------------
       
   460 void CTestSDKDialogsControl::SetLabelL(TInt aControlId, TInt aResourceId)
       
   461     {
       
   462     CEikDialog::SetLabelL( aControlId, aResourceId );
       
   463     }
       
   464 
       
   465 // -----------------------------------------------------------------------------
       
   466 // CTestSDKDialogsControl::SetLabelReserveLengthL 
       
   467 // -----------------------------------------------------------------------------
       
   468 void CTestSDKDialogsControl::SetLabelReserveLengthL( TInt aControlId, TInt aLength )
       
   469     {
       
   470     CEikDialog::SetLabelReserveLengthL( aControlId, aLength );
       
   471     }
       
   472 
       
   473 // -----------------------------------------------------------------------------
       
   474 // CTestSDKDialogsControl::SetEdwinTextL 
       
   475 // -----------------------------------------------------------------------------
       
   476 void CTestSDKDialogsControl::SetEdwinTextL( TInt aControlId, const TDesC* aDes )
       
   477     {
       
   478     CEikDialog::SetEdwinTextL( aControlId, aDes );
       
   479     }
       
   480 
       
   481 // -----------------------------------------------------------------------------
       
   482 // CTestSDKDialogsControl::GetEdwinText 
       
   483 // -----------------------------------------------------------------------------
       
   484 void CTestSDKDialogsControl::GetEdwinText( TDes& aDes,TInt aControlId ) const
       
   485     {
       
   486     CEikDialog::GetEdwinText( aDes, aControlId );
       
   487     }
       
   488 
       
   489 // -----------------------------------------------------------------------------
       
   490 // CTestSDKDialogsControl::ResetSecretEditor 
       
   491 // -----------------------------------------------------------------------------
       
   492 void CTestSDKDialogsControl::ResetSecretEditor(TInt aControlId)
       
   493     {
       
   494     CEikDialog::ResetSecretEditor( aControlId );
       
   495     }
       
   496 
       
   497 // -----------------------------------------------------------------------------
       
   498 // CTestSDKDialogsControl::SetTextEditorTextL 
       
   499 // -----------------------------------------------------------------------------
       
   500 void CTestSDKDialogsControl::SetTextEditorTextL( TInt aControlId, const CGlobalText* aGlobalText )
       
   501     {
       
   502     CEikDialog::SetTextEditorTextL( aControlId, aGlobalText );
       
   503     }
       
   504 
       
   505 // -----------------------------------------------------------------------------
       
   506 // CTestSDKDialogsControl::GetTextEditorText 
       
   507 // -----------------------------------------------------------------------------
       
   508 void CTestSDKDialogsControl::GetTextEditorText(CGlobalText*& aGlobalText,TInt aControlId)
       
   509     {
       
   510     CEikDialog::GetTextEditorText( aGlobalText, aControlId );
       
   511     }
       
   512 
       
   513 // -----------------------------------------------------------------------------
       
   514 // CTestSDKDialogsControl::GetSecretEditorText 
       
   515 // -----------------------------------------------------------------------------
       
   516 void CTestSDKDialogsControl::GetSecretEditorText(TDes& aDes,TInt aControlId) const
       
   517     {
       
   518     CEikDialog::GetSecretEditorText( aDes, aControlId );
       
   519     }
       
   520 
       
   521 // -----------------------------------------------------------------------------
       
   522 // CTestSDKDialogsControl::SetFloatingPointEditorValueL 
       
   523 // -----------------------------------------------------------------------------
       
   524 void CTestSDKDialogsControl::SetFloatingPointEditorValueL( TInt aControlId, const TReal* aValue )
       
   525     {
       
   526     CEikDialog::SetFloatingPointEditorValueL( aControlId, aValue );
       
   527     }
       
   528 
       
   529 // -----------------------------------------------------------------------------
       
   530 // CTestSDKDialogsControl::FloatingPointEditorValue 
       
   531 // -----------------------------------------------------------------------------
       
   532 TReal CTestSDKDialogsControl::FloatingPointEditorValue(TInt aControlId) const
       
   533     {
       
   534     return CEikDialog::FloatingPointEditorValue( aControlId );
       
   535     }
       
   536 
       
   537 // -----------------------------------------------------------------------------
       
   538 // CTestSDKDialogsControl::SetFixedPointEditorValueL 
       
   539 // -----------------------------------------------------------------------------
       
   540 void CTestSDKDialogsControl::SetFixedPointEditorValueL( TInt aControlId, TInt aValue )
       
   541     {
       
   542     CEikDialog::SetFixedPointEditorValueL( aControlId, aValue );
       
   543     }
       
   544 
       
   545 // -----------------------------------------------------------------------------
       
   546 // CTestSDKDialogsControl::FixedPointEditorValue 
       
   547 // -----------------------------------------------------------------------------
       
   548 TInt CTestSDKDialogsControl::FixedPointEditorValue( TInt aControlId ) const
       
   549     {
       
   550     return CEikDialog::FixedPointEditorValue( aControlId );
       
   551     }
       
   552 
       
   553 // -----------------------------------------------------------------------------
       
   554 // CTestSDKDialogsControl::SetFixedPointEditorDecimal 
       
   555 // -----------------------------------------------------------------------------
       
   556 void CTestSDKDialogsControl::SetFixedPointEditorDecimal( TInt aControlId, TInt aDecimal )
       
   557     {
       
   558     CEikDialog::SetFixedPointEditorDecimal( aControlId, aDecimal );
       
   559     }
       
   560 
       
   561 // -----------------------------------------------------------------------------
       
   562 // CTestSDKDialogsControl::FixedPointEditorDecimal 
       
   563 // -----------------------------------------------------------------------------
       
   564 TInt CTestSDKDialogsControl::FixedPointEditorDecimal( TInt aControlId ) const
       
   565     {
       
   566     return CEikDialog::FixedPointEditorDecimal( aControlId );
       
   567     }
       
   568 
       
   569 // -----------------------------------------------------------------------------
       
   570 // CTestSDKDialogsControl::SetNumberEditorMinAndMax 
       
   571 // -----------------------------------------------------------------------------
       
   572 void CTestSDKDialogsControl::SetNumberEditorMinAndMax( TInt aControlId, 
       
   573         TInt aMinimumValue, TInt aMaximumValue )
       
   574     {
       
   575     CEikDialog::SetNumberEditorMinAndMax( aControlId, aMinimumValue, aMaximumValue );
       
   576     }
       
   577 
       
   578 // -----------------------------------------------------------------------------
       
   579 // CTestSDKDialogsControl::SetNumberEditorValue 
       
   580 // -----------------------------------------------------------------------------
       
   581 void CTestSDKDialogsControl::SetNumberEditorValue(TInt aControlId, TInt aNumber)
       
   582     {
       
   583     CEikDialog::SetNumberEditorValue( aControlId, aNumber );
       
   584     }
       
   585 
       
   586 // -----------------------------------------------------------------------------
       
   587 // CTestSDKDialogsControl::SetFloatEditorMinAndMax 
       
   588 // -----------------------------------------------------------------------------
       
   589 void CTestSDKDialogsControl::SetFloatEditorMinAndMax(TInt aControlId,TInt aMin,TInt aMax)
       
   590     {
       
   591     CEikDialog::SetFloatEditorMinAndMax( aControlId, aMin ,aMax );
       
   592     }
       
   593 
       
   594 // -----------------------------------------------------------------------------
       
   595 // CTestSDKDialogsControl::NumberEditorValue 
       
   596 // -----------------------------------------------------------------------------
       
   597 TInt CTestSDKDialogsControl::NumberEditorValue( TInt aControlId ) const
       
   598     {
       
   599     return CEikDialog::NumberEditorValue( aControlId );
       
   600     }
       
   601 
       
   602 // -----------------------------------------------------------------------------
       
   603 // CTestSDKDialogsControl::FloatEditorValue 
       
   604 // -----------------------------------------------------------------------------
       
   605 TReal CTestSDKDialogsControl::FloatEditorValue(TInt aControlId) const
       
   606     {
       
   607     return CEikDialog::FloatEditorValue( aControlId );
       
   608     }
       
   609 
       
   610 // -----------------------------------------------------------------------------
       
   611 // CTestSDKDialogsControl::SetFloatEditorValueL 
       
   612 // -----------------------------------------------------------------------------
       
   613 void CTestSDKDialogsControl::SetFloatEditorValueL( TInt aControlId, TReal aFloat )
       
   614     {
       
   615     CEikDialog::SetFloatEditorValueL( aControlId, aFloat );
       
   616     }
       
   617 
       
   618 // -----------------------------------------------------------------------------
       
   619 // CTestSDKDialogsControl::SetRangeEditorMinAndMax 
       
   620 // -----------------------------------------------------------------------------
       
   621 void CTestSDKDialogsControl::SetRangeEditorMinAndMax( TInt aControlId, 
       
   622         TInt aMinimumValue, TInt aMaximumValue )
       
   623     {
       
   624     CEikDialog::SetRangeEditorMinAndMax( aControlId, aMinimumValue, aMaximumValue );
       
   625     }
       
   626 
       
   627 // -----------------------------------------------------------------------------
       
   628 // CTestSDKDialogsControl::RangeEditorValue 
       
   629 // -----------------------------------------------------------------------------
       
   630 SEikRange CTestSDKDialogsControl::RangeEditorValue( TInt aControlId ) const
       
   631     {
       
   632     return CEikDialog::RangeEditorValue( aControlId );
       
   633     }
       
   634 
       
   635 // -----------------------------------------------------------------------------
       
   636 // CTestSDKDialogsControl::SetRangeEditorValue 
       
   637 // -----------------------------------------------------------------------------
       
   638 void CTestSDKDialogsControl::SetRangeEditorValue( TInt aControlId, const SEikRange& aRange )
       
   639     {
       
   640     CEikDialog::SetRangeEditorValue(  aControlId, aRange );
       
   641     }
       
   642 
       
   643 // -----------------------------------------------------------------------------
       
   644 // CTestSDKDialogsControl::SetTTimeEditorMinAndMax 
       
   645 // -----------------------------------------------------------------------------
       
   646 void CTestSDKDialogsControl::SetTTimeEditorMinAndMax( TInt aControlId, 
       
   647         const TTime& aMinimumTime, const TTime& aMaximumTime )
       
   648     {
       
   649     CEikDialog::SetTTimeEditorMinAndMax( aControlId, aMinimumTime, aMaximumTime );
       
   650     }
       
   651 
       
   652 // -----------------------------------------------------------------------------
       
   653 // CTestSDKDialogsControl::TTimeEditorValue 
       
   654 // -----------------------------------------------------------------------------
       
   655 TTime CTestSDKDialogsControl::TTimeEditorValue( TInt aControlId ) const
       
   656     {
       
   657     return CEikDialog::TTimeEditorValue( aControlId );
       
   658     }
       
   659 
       
   660 // -----------------------------------------------------------------------------
       
   661 // CTestSDKDialogsControl::SetTTimeEditorValue 
       
   662 // -----------------------------------------------------------------------------
       
   663 void CTestSDKDialogsControl::SetTTimeEditorValue( TInt aControlId, const TTime& aTime )
       
   664     {
       
   665     CEikDialog::SetTTimeEditorValue( aControlId, aTime );
       
   666     }
       
   667 
       
   668 // -----------------------------------------------------------------------------
       
   669 // CTestSDKDialogsControl::SetDurationEditorMinAndMax 
       
   670 // -----------------------------------------------------------------------------
       
   671 void CTestSDKDialogsControl::SetDurationEditorMinAndMax( TInt aControlId, 
       
   672         const TTimeIntervalSeconds& aMinimumDuration, const TTimeIntervalSeconds& aMaximumDuration )
       
   673     {
       
   674     CEikDialog::SetDurationEditorMinAndMax( aControlId, aMinimumDuration, aMaximumDuration );
       
   675     }
       
   676 
       
   677 // -----------------------------------------------------------------------------
       
   678 // CTestSDKDialogsControl::SetDurationEditorValue 
       
   679 // -----------------------------------------------------------------------------
       
   680 void CTestSDKDialogsControl::SetDurationEditorValue( TInt aControlId, 
       
   681         const TTimeIntervalSeconds& aDuration )
       
   682     {
       
   683     CEikDialog::SetDurationEditorValue( aControlId, aDuration );
       
   684     }
       
   685 
       
   686 // -----------------------------------------------------------------------------
       
   687 // CTestSDKDialogsControl::DurationEditorValue 
       
   688 // -----------------------------------------------------------------------------
       
   689 TTimeIntervalSeconds CTestSDKDialogsControl::DurationEditorValue( TInt aControlId ) const
       
   690     {
       
   691     return CEikDialog::DurationEditorValue( aControlId );
       
   692     }
       
   693 
       
   694 // -----------------------------------------------------------------------------
       
   695 // CTestSDKDialogsControl::SetTimeOffsetEditorMinAndMax 
       
   696 // -----------------------------------------------------------------------------
       
   697 void CTestSDKDialogsControl::SetTimeOffsetEditorMinAndMax( TInt aControlId, 
       
   698         const TTimeIntervalSeconds& aMinimumTimeOffset, 
       
   699         const TTimeIntervalSeconds& aMaximumTimeOffset )
       
   700     {
       
   701     CEikDialog::SetTimeOffsetEditorMinAndMax( aControlId, aMinimumTimeOffset, aMaximumTimeOffset );
       
   702     }
       
   703 
       
   704 // -----------------------------------------------------------------------------
       
   705 // CTestSDKDialogsControl::TimeOffsetEditorValue 
       
   706 // -----------------------------------------------------------------------------
       
   707 TTimeIntervalSeconds CTestSDKDialogsControl::TimeOffsetEditorValue( TInt aControlId ) const
       
   708     {
       
   709     return CEikDialog::TimeOffsetEditorValue( aControlId );
       
   710     }
       
   711 
       
   712 // -----------------------------------------------------------------------------
       
   713 // CTestSDKDialogsControl::SetTimeOffsetEditorValue 
       
   714 // -----------------------------------------------------------------------------
       
   715 void CTestSDKDialogsControl::SetTimeOffsetEditorValue(TInt aControlId, 
       
   716         const TTimeIntervalSeconds& aTimeOffset)
       
   717     {
       
   718     CEikDialog::SetTimeOffsetEditorValue( aControlId, aTimeOffset );
       
   719     }
       
   720 
       
   721 // -----------------------------------------------------------------------------
       
   722 // CTestSDKDialogsControl::SetListBoxCurrentItem 
       
   723 // -----------------------------------------------------------------------------
       
   724 void CTestSDKDialogsControl::SetListBoxCurrentItem( TInt aControlId, TInt aItem )
       
   725     {
       
   726     CEikDialog::SetListBoxCurrentItem( aControlId, aItem );
       
   727     }
       
   728 
       
   729 // -----------------------------------------------------------------------------
       
   730 // CTestSDKDialogsControl::ListBoxCurrentItem 
       
   731 // -----------------------------------------------------------------------------
       
   732 TInt CTestSDKDialogsControl::ListBoxCurrentItem( TInt aControlId ) const
       
   733     {
       
   734     return CEikDialog::ListBoxCurrentItem( aControlId );
       
   735     }
       
   736 
       
   737 // -----------------------------------------------------------------------------
       
   738 // CTestSDKDialogsControl::SetFileNameL 
       
   739 // -----------------------------------------------------------------------------
       
   740 void CTestSDKDialogsControl::SetFileNameL( TInt aControlId, const TDesC* aFileName )
       
   741     {
       
   742     CEikDialog::SetFileNameL( aControlId, aFileName );
       
   743     }
       
   744 
       
   745 // -----------------------------------------------------------------------------
       
   746 // CTestSDKDialogsControl::GetFileName 
       
   747 // -----------------------------------------------------------------------------
       
   748 void CTestSDKDialogsControl::GetFileName( TFileName* aFileName, TInt aControlId ) const
       
   749     {
       
   750     CEikDialog::GetFileName( aFileName, aControlId );
       
   751     }
       
   752 
       
   753 // -----------------------------------------------------------------------------
       
   754 // CTestSDKDialogsControl::UpdatePageL 
       
   755 // -----------------------------------------------------------------------------
       
   756 void CTestSDKDialogsControl::UpdatePageL( TBool aRedraw )
       
   757     {
       
   758     CEikDialog::UpdatePageL( aRedraw );
       
   759     }
       
   760 
       
   761 // -----------------------------------------------------------------------------
       
   762 // CTestSDKDialogsControl::GetAutoValuesFromPage 
       
   763 // -----------------------------------------------------------------------------
       
   764 void CTestSDKDialogsControl::GetAutoValuesFromPage( CEikCapCArray* aLines )
       
   765     {
       
   766     CEikDialog::GetAutoValuesFromPage( aLines );
       
   767     }