// -----------------------------------------------------------------------------
// CTestSettingPage::TestSetDataValidity
// -----------------------------------------------------------------------------
//
void CTestSettingPage::TestSetDataValidity(TBool aValid)
    {
    SetDataValidity( aValid );
    }
void CAknFileSettingPage::CheckAndSetDataValidity(void)
{
    SetDataValidity(EFalse);
    TUint att;
    if(iFs.Att(iFileValue,att)==KErrNone&&(att&KEntryAttDir)==0) SetDataValidity(ETrue);
}